Bug 267328 - crash after password dialog on a local CUPS page
Summary: crash after password dialog on a local CUPS page
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 19:42 UTC by Martin Koller
Modified: 2011-02-28 19:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2011-02-28 19:42:33 UTC
Application: konqueror (4.6.00 (4.6.0))
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

I started konqueror http://localhost:631 to show the CUPS page.
I clicked on the "Admin" link and then on "Add printer".
I get a "enter user/password" dialog where I enter the root account credentials.
After clicking on the OK button in that dialog, konqueror crashes.

I ran this inside valgrind and get the following:

==27155== Invalid read of size 4
==27155==    at 0x4CF17EE: KAboutData::catalogName() const (kaboutdata.cpp:767)
==27155==    by 0x4CF1EBF: KComponentData::catalogName() const (kcomponentdata.cpp:231)
==27155==    by 0x43236DD: KParts::PartBase::setComponentData(KComponentData const&, bool) (part.cpp:147)
==27155==    by 0x430B28E: KParts::PartBase::setComponentData(KComponentData const&) (part.cpp:139)
==27155==    by 0x10468C9E: KMultiPart::KMultiPart(QWidget*, QObject*, QList<QVariant> const&) (kmultipart.cpp:104)
==27155==    by 0x1046BEA3: QObject* KPluginFactory::createPartInstance<KMultiPart>(QWidget*, QObject*, QList<QVariant> const&) (kpluginfactory.h:479)
==27155==    by 0x4DB64E8: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (kpluginfactory.cpp:203)
==27155==    by 0x40B37A5: KonqViewFactory::create(QWidget*, QObject*) (kpluginfactory.h:527)
==27155==    by 0x409EB46: KonqFrame::attach(KonqViewFactory const&) (konqframe.cpp:143)
==27155==    by 0x4089155: KonqView::switchView(KonqViewFactory&) (konqview.cpp:225)
==27155==    by 0x408A86D: KonqView::changePart(QString const&, QString const&, bool) (konqview.cpp:353)
==27155==    by 0x408B0F8: KonqView::ensureViewSupports(QString const&, bool) (konqview.cpp:300)
==27155==  Address 0x4 is not stack'd, malloc'd or (recently) free'd

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4def710 (LWP 27017))]

Thread 3 (Thread 0xaf764b70 (LWP 27019)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb55ca452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76922a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb670ba2c in wait (this=0x87e5c34, mutex=0x87e5c30, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x87e5c34, mutex=0x87e5c30, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb6700df4 in QThreadPoolThread::run (this=0x875dcb8) at concurrent/qthreadpool.cpp:140
#6  0xb670b39a in QThreadPrivate::start (arg=0x875dcb8) at thread/qthread_unix.cpp:285
#7  0xb55c5b25 in start_thread () from /lib/libpthread.so.0
#8  0xb768446e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaef51b70 (LWP 27025)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb55ca452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb76922a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb670ba2c in wait (this=0x87e5c34, mutex=0x87e5c30, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x87e5c34, mutex=0x87e5c30, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb6700df4 in QThreadPoolThread::run (this=0x88d8c38) at concurrent/qthreadpool.cpp:140
#6  0xb670b39a in QThreadPrivate::start (arg=0x88d8c38) at thread/qthread_unix.cpp:285
#7  0xb55c5b25 in start_thread () from /lib/libpthread.so.0
#8  0xb768446e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4def710 (LWP 27017)):
[KCrash Handler]
#7  KAboutData::catalogName (this=0x4) at /usr/src/debug/kdelibs-4.6.0/kdecore/kernel/kaboutdata.cpp:767
#8  0xb69e8ec0 in KComponentData::catalogName (this=0xbfcdb758) at /usr/src/debug/kdelibs-4.6.0/kdecore/kernel/kcomponentdata.cpp:231
#9  0xb75456de in KParts::PartBase::setComponentData (this=0x8859638, componentData=..., bLoadPlugins=true) at /usr/src/debug/kdelibs-4.6.0/kparts/part.cpp:147
#10 0xb752d28f in KParts::PartBase::setComponentData (this=0x8859638, componentData=...) at /usr/src/debug/kdelibs-4.6.0/kparts/part.cpp:139
#11 0xadad9c9f in KMultiPart::KMultiPart (this=0x8859630, parentWidget=0x4, parent=0x4, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdelibs-4.6.0/khtml/kmultipart/kmultipart.cpp:104
#12 0xadadcea4 in KPluginFactory::createPartInstance<KMultiPart> (parentWidget=0x86a5678, parent=0x0, args=...) at /usr/src/debug/kdelibs-4.6.0/kdecore/util/kpluginfactory.h:479
#13 0xb6aad4e9 in KPluginFactory::create (this=0x894acc0, iface=0xb7552380 "KParts::ReadOnlyPart", parentWidget=0x86a5678, parent=0x0, args=..., keyword=...)
    at /usr/src/debug/kdelibs-4.6.0/kdecore/util/kpluginfactory.cpp:203
#14 0xb77787a6 in create<KParts::ReadOnlyPart> (this=0xbfcdb8a4, parentWidget=0x86a5678, parent=0x0) at /usr/include/kpluginfactory.h:527
#15 KonqViewFactory::create (this=0xbfcdb8a4, parentWidget=0x86a5678, parent=0x0) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqfactory.cpp:70
#16 0xb7763b47 in KonqFrame::attach (this=0x86a5678, viewFactory=...) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqframe.cpp:143
#17 0xb774e156 in KonqView::switchView (this=0x86ac058, viewFactory=...) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqview.cpp:225
#18 0xb774f86e in KonqView::changePart (this=0x86ac058, mimeType=..., serviceName=..., forceAutoEmbed=false) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqview.cpp:353
#19 0xb77500f9 in KonqView::ensureViewSupports (this=0x86ac058, mimeType=..., forceAutoEmbed=false) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqview.cpp:300
#20 0xb7799fae in KonqMainWindow::openView (this=0x814d930, mimeType=..., _url=..., childView=0x86ac058, req=...) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqmainwindow.cpp:917
#21 0xb7749266 in KonqRun::tryOpenView (this=0x8859850, mimeType=..., associatedAppIsKonqueror=false) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqrun.cpp:160
#22 0xb77497f2 in KonqRun::foundMimeType (this=0x8859850, _type=...) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqrun.cpp:92
#23 0xb71157ef in KRun::mimeTypeDetermined (this=0x8859850, mimeType=...) at /usr/src/debug/kdelibs-4.6.0/kio/kio/krun.cpp:1423
#24 0xb75415dd in KParts::BrowserRun::slotBrowserMimetype (this=0x8859850, _job=0x88ddaf8, type=...) at /usr/src/debug/kdelibs-4.6.0/kparts/browserrun.cpp:238
#25 0xb7541ac4 in KParts::BrowserRun::qt_metacall (this=0x8859850, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdbfd4)
    at /usr/src/debug/kdelibs-4.6.0/build/kparts/browserrun.moc:80
#26 0xb77496d2 in KonqRun::qt_metacall (this=0x8859850, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfcdbfd4) at /usr/src/debug/kdebase-4.6.0/build/apps/konqueror/src/konqrun.moc:69
#27 0xb6810e5d in QMetaObject::metacall (object=0x8859850, cl=QMetaObject::InvokeMetaMethod, idx=12, argv=0xbfcdbfd4) at kernel/qmetaobject.cpp:237
#28 0xb6820ffc in QMetaObject::activate (sender=0x88ddaf8, m=0xb72ec2fc, local_signal_index=4, argv=0xbfcdbfd4) at kernel/qobject.cpp:3272
#29 0xb710905d in KIO::TransferJob::mimetype (this=0x88ddaf8, _t1=0x88ddaf8, _t2=...) at /usr/src/debug/kdelibs-4.6.0/build/kio/jobclasses.moc:416
#30 0xb71090ce in KIO::TransferJob::slotMimetype (this=0x88ddaf8, type=...) at /usr/src/debug/kdelibs-4.6.0/kio/kio/job.cpp:1218
#31 0xb720f25b in KIO::TransferJob::qt_metacall (this=0x88ddaf8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdc178)
    at /usr/src/debug/kdelibs-4.6.0/build/kio/jobclasses.moc:370
#32 0xb6810e5d in QMetaObject::metacall (object=0x88ddaf8, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfcdc178) at kernel/qmetaobject.cpp:237
#33 0xb6820ffc in QMetaObject::activate (sender=0x87a4738, m=0xb72ec5dc, local_signal_index=19, argv=0xbfcdc178) at kernel/qobject.cpp:3272
#34 0xb711e5f5 in KIO::SlaveInterface::mimeType (this=0x87a4738, _t1=...) at /usr/src/debug/kdelibs-4.6.0/build/kio/slaveinterface.moc:273
#35 0xb724c7ab in KIO::SlaveInterface::dispatch (this=0x87a4738, _cmd=21, rawdata=...) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:268
#36 0xb71df4da in KIO::SlaveInterface::dispatch (this=0x87a4738) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:89
#37 0xb71de448 in KIO::Slave::gotInput (this=0x87a4738) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slave.cpp:348
#38 0xb71e3c6c in KIO::Slave::qt_metacall (this=0x87a4738, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcdc45c) at /usr/src/debug/kdelibs-4.6.0/build/kio/slave.moc:82
#39 0xb6810e5d in QMetaObject::metacall (object=0x87a4738, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfcdc45c) at kernel/qmetaobject.cpp:237
#40 0xb6820ffc in QMetaObject::activate (sender=0x8891338, m=0xb72ec1ec, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#41 0xb70feb35 in KIO::Connection::readyRead (this=0x8891338) at /usr/src/debug/kdelibs-4.6.0/build/kio/connection.moc:92
#42 0xb71e39da in KIO::ConnectionPrivate::dequeue (this=0x8894290) at /usr/src/debug/kdelibs-4.6.0/kio/kio/connection.cpp:82
#43 0xb71e3aaf in KIO::Connection::qt_metacall (this=0x8891338, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x87aaab8) at /usr/src/debug/kdelibs-4.6.0/build/kio/connection.moc:79
#44 0xb6810e5d in QMetaObject::metacall (object=0x8891338, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x87aaab8) at kernel/qmetaobject.cpp:237
#45 0xb681b945 in QMetaCallEvent::placeMetaCall (this=0x885b070, object=0x8891338) at kernel/qobject.cpp:534
#46 0xb681fb7f in QObject::event (this=0x8891338, e=0x885b070) at kernel/qobject.cpp:1211
#47 0xb5ca6414 in QApplicationPrivate::notify_helper (this=0x8069778, receiver=0x8891338, e=0x885b070) at kernel/qapplication.cpp:4445
#48 0xb5caf137 in QApplication::notify (this=0xbfcdce80, receiver=0x8891338, e=0x885b070) at kernel/qapplication.cpp:3845
#49 0xb6d3d6c1 in KApplication::notify (this=0xbfcdce80, receiver=0x8891338, event=0x885b070) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#50 0xb680a5be in QCoreApplication::notifyInternal (this=0xbfcdce80, receiver=0x8891338, event=0x885b070) at kernel/qcoreapplication.cpp:732
#51 0xb680e34c in sendEvent (receiver=0x0, event_type=0, data=0x804e428) at kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804e428) at kernel/qcoreapplication.cpp:1373
#53 0xb680e49c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#54 0xb6838bd4 in sendPostedEvents (s=0x806c480) at kernel/qcoreapplication.h:220
#55 postEventSourceDispatch (s=0x806c480) at kernel/qeventdispatcher_glib.cpp:277
#56 0xb53bfb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb53c0350 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb53c060e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb6838d5b in QEventDispatcherGlib::processEvents (this=0x8069738, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#60 0xb5d5c9aa in QGuiEventDispatcherGlib::processEvents (this=0x8069738, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0xb680989d in QEventLoop::processEvents (this=0xbfcdccb4, flags=...) at kernel/qeventloop.cpp:149
#62 0xb6809ac9 in QEventLoop::exec (this=0xbfcdccb4, flags=...) at kernel/qeventloop.cpp:201
#63 0xb680e570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#64 0xb5ca4114 in QApplication::exec () at kernel/qapplication.cpp:3719
#65 0xb77cd14f in kdemain (argc=2, argv=0xbfcdd134) at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqmain.cpp:219
#66 0x0804860b in main (argc=2, argv=0xbfcdd134) at /usr/src/debug/kdebase-4.6.0/build/apps/konqueror/src/konqueror_dummy.cpp:3

Reported using DrKonqi