Bug 256435 - Umbrello: Segmentation fault occured when File -> Print clicked
Summary: Umbrello: Segmentation fault occured when File -> Print clicked
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: qt (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 13:08 UTC by Yaroslav Gorbunov
Modified: 2010-12-12 15:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Gorbunov 2010-11-09 13:08:09 UTC
Application: umbrello (2.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.30.10-105.2.23.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

-- Information about the crash:
Segmentation fault occured when I click  File -> Print 

The crash does not seem to be reproducible.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7736780 (LWP 17766))]

Thread 2 (Thread 0xb5bdfb70 (LWP 18301)):
#0  0x005c7424 in __kernel_vsyscall ()
#1  0x005a9f85 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x022abb77 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x0376327a in QFileInfoGatherer::run (this=0xa6cd2e4) at dialogs/qfileinfogatherer.cpp:203
#5  0x022aac0e in QThreadPrivate::start (arg=0xa6cd2e4) at thread/qthread_unix.cpp:248
#6  0x005a58f5 in start_thread (arg=0xb5bdfb70) at pthread_create.c:297
#7  0x004dafce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7736780 (LWP 17766)):
[KCrash Handler]
#6  0x002cb50a in xmlParseTryOrFinish (ctxt=0xa6d2c30, terminate=<value optimized out>) at parser.c:10652
#7  0x002cd032 in xmlParseChunk__internal_alias (ctxt=0xa6d2c30, chunk=0x0, size=0, terminate=0) at parser.c:11602
#8  0x0036813f in xmlTextReaderPushData (reader=0xa6e6b70) at xmlreader.c:861
#9  0x00368da7 in xmlTextReaderRead__internal_alias (reader=0xa6e6b70) at xmlreader.c:1280
#10 0x013237a0 in ?? () from /usr/lib/libgnomevfs-2.so.0
#11 0x01323cfd in gnome_vfs_mime_get_value () from /usr/lib/libgnomevfs-2.so.0
#12 0x01322857 in gnome_vfs_mime_get_icon () from /usr/lib/libgnomevfs-2.so.0
#13 0x044d9ffb in gnome_icon_lookup () from /usr/lib/libgnomeui-2.so.0
#14 0x044da5d6 in gnome_icon_lookup_sync () from /usr/lib/libgnomeui-2.so.0
#15 0x035b3f7d in QGtkStylePrivate::getFilesystemIcon (info=@0xbfd763b0) at styles/qgtkstyle_p.cpp:1082
#16 0x03834372 in QFileIconProvider::icon (this=0xa6cd30c, info=@0xbfd763b0) at itemviews/qfileiconprovider.cpp:395
#17 0x03761ac1 in QFileInfoGatherer::getInfo (this=0xa6cd2e4, fileInfo=@0xbfd763b0) at dialogs/qfileinfogatherer.cpp:252
#18 0x037571a9 in QFileSystemModelPrivate::node (this=0xa6cd278, path=@0xbfd76458, fetch=true) at dialogs/qfilesystemmodel.cpp:431
#19 0x03758d7d in QFileSystemModelPrivate::index (path=<value optimized out>, this=<value optimized out>) at dialogs/qfilesystemmodel_p.h:230
#20 QFileSystemModel::setRootPath (path=<value optimized out>, this=<value optimized out>) at dialogs/qfilesystemmodel.cpp:1371
#21 0x037071c7 in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0xa6f3448, p=0xa5cc0f8) at dialogs/qprintdialog_unix.cpp:727
#22 0x03707597 in QUnixPrintWidget::QUnixPrintWidget(struct QPrinter *, struct QWidget *) (this=0xa5cc0f8, printer=0x0, parent=0xa577908) at dialogs/qprintdialog_unix.cpp:1057
#23 0x0370761d in QPrintDialogPrivate::init (this=0xa686990) at dialogs/qprintdialog_unix.cpp:388
#24 0x03707cdb in QPrintDialog::QPrintDialog(struct QPrinter *, struct QWidget *) (this=0xa577908, printer=0xbfd76730, parent=0x9b1a360) at dialogs/qprintdialog_unix.cpp:610
#25 0x02a0ff48 in KdePrint::createPrintDialog (printer=0xbfd76730, pageSelectPolicy=KdePrint::ApplicationSelectsPages, customTabs=@0xbfd76754, parent=0x9b1a360)
    at /usr/src/debug/kdelibs-4.4.3/kdeui/dialogs/kdeprintdialog.cpp:44
#26 0x02a10423 in KdePrint::createPrintDialog (printer=0xbfd76730, customTabs=@0xbfd76754, parent=0x9b1a360) at /usr/src/debug/kdelibs-4.4.3/kdeui/dialogs/kdeprintdialog.cpp:81
#27 0x086cd225 in UMLApp::slotFilePrint (this=0x9b1a360) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/uml.cpp:1172
#28 0x086d79ed in UMLApp::qt_metacall (this=0x9b1a360, _c=QMetaObject::InvokeMetaMethod, _id=3854937, _a=0xbfd768a8) at /usr/src/debug/kdesdk-4.4.3/i586-redhat-linux-gnu/umbrello/umbrello/uml.moc:237
#29 0x023b25ea in QMetaObject::metacall (object=0x9b1a360, cl=3747604, idx=55, argv=0xbfd768a8) at kernel/qmetaobject.cpp:237
#30 0x023c0da5 in QMetaObject::activate (sender=0x9b22080, m=0x3b0b618, local_signal_index=1, argv=0xbfd768a8) at kernel/qobject.cpp:3293
#31 0x031df329 in QAction::triggered (this=0x9b22080, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#32 0x031e157c in QAction::activate (this=0x9b22080, event=QAction::Trigger) at kernel/qaction.cpp:1255
#33 0x036826fc in QMenuPrivate::activateCausedStack (this=0x9c2f8d0, causedStack=@0xbfd769cc, action=0x9b22080, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#34 0x03688bbb in QMenuPrivate::activateAction (this=0x9c2f8d0, action=0x9b22080, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#35 0x03689bef in QMenu::mouseReleaseEvent (this=0x9c2f890, e=0xbfd77140) at widgets/qmenu.cpp:2312
#36 0x02ba7f55 in KMenu::mouseReleaseEvent (this=0x9c2f890, e=0xbfd77140) at /usr/src/debug/kdelibs-4.4.3/kdeui/widgets/kmenu.cpp:471
#37 0x032440f0 in QWidget::event (this=0x9c2f890, event=0xbfd77140) at kernel/qwidget.cpp:7998
#38 0x0368b1dc in QMenu::event (this=0x9c2f890, e=0xbfd77140) at widgets/qmenu.cpp:2414
#39 0x031e5c4c in QApplicationPrivate::notify_helper (this=0x9924d28, receiver=0x9c2f890, e=0xbfd77140) at kernel/qapplication.cpp:4300
#40 0x031ed282 in QApplication::notify (this=0xbfd779f0, receiver=0x9c2f890, e=0xbfd77140) at kernel/qapplication.cpp:3865
#41 0x02ab14aa in KApplication::notify (this=0xbfd779f0, receiver=0x9c2f890, event=0xbfd77140) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#42 0x023ad23b in QCoreApplication::notifyInternal (this=0xbfd779f0, receiver=0x9c2f890, event=0xbfd77140) at kernel/qcoreapplication.cpp:704
#43 0x031ec1ef in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#44 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#45 0x0327784f in QETWidget::translateMouseEvent (this=0x9c2f890, event=0xbfd7765c) at kernel/qapplication_x11.cpp:4307
#46 0x03276859 in QApplication::x11ProcessEvent (this=0xbfd779f0, event=0xbfd7765c) at kernel/qapplication_x11.cpp:3384
#47 0x032a3f8a in x11EventSourceDispatch (s=0x9927f40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00627308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#49 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#50 0x0062a9e0 in g_main_context_iterate (context=0x9927090, block=<value optimized out>, dispatch=1, self=0x9924f70) at gmain.c:2455
#51 0x0062ab13 in IA__g_main_context_iteration (context=0x9927090, may_block=1) at gmain.c:2518
#52 0x023d8f25 in QEventDispatcherGlib::processEvents (this=0x9907970, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:412
#53 0x032a3ab5 in QGuiEventDispatcherGlib::processEvents (this=0x9907970, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x023ab849 in QEventLoop::processEvents (this=0xbfd77954, flags={i = 36}) at kernel/qeventloop.cpp:149
#55 0x023abc9a in QEventLoop::exec (this=0xbfd77954, flags={i = 0}) at kernel/qeventloop.cpp:201
#56 0x023ae41f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#57 0x031e5cf7 in QApplication::exec () at kernel/qapplication.cpp:3579
#58 0x086a7ab5 in main (argc=2, argv=0xbfd77ba4) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-12 15:25:45 UTC
[Comment from a bug triager]
Looks like a bug related to the Qt GTK style and some gtk/gnome code.
If you can reproduce it, then we can report it upstream to the Qt developers.
Thanks