Application: krecipes (2.0-beta1) KDE Platform Version: 4.5.1 (KDE 4.5.1) Qt Version: 4.7.0 Operating System: Linux 2.6.35-24-generic-pae i686 Distribution: Ubuntu 10.10 -- Information about the crash: - What I was doing when the application crashed: Using ingredient matcher to locate an ingredient. When I pressed on "Find matching Recipes," the program crashed. -- Backtrace: Application: Krecipes (krecipes), signal: Segmentation fault [Current thread is 1 (Thread 0xb77c7710 (LWP 2740))] Thread 2 (Thread 0xb5674b70 (LWP 2742)): #0 0x0077a416 in __kernel_vsyscall () #1 0x058dbdf6 in __poll (fds=0x5972ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x02383a1b in g_poll () from /lib/libglib-2.0.so.0 #3 0x0237643c in ?? () from /lib/libglib-2.0.so.0 #4 0x02376848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #5 0x0222f59f in QEventDispatcherGlib::processEvents (this=0x9360f08, flags=...) at kernel/qeventdispatcher_glib.cpp:417 #6 0x021ff609 in QEventLoop::processEvents (this=0xb5674290, flags=) at kernel/qeventloop.cpp:149 #7 0x021ffa8a in QEventLoop::exec (this=0xb5674290, flags=...) at kernel/qeventloop.cpp:201 #8 0x020fbb7e in QThread::exec (this=0x93dc888) at thread/qthread.cpp:490 #9 0x021de35b in QInotifyFileSystemWatcherEngine::run (this=0x93dc888) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x020fedf9 in QThreadPrivate::start (arg=0x93dc888) at thread/qthread_unix.cpp:266 #11 0x07eeecc9 in start_thread (arg=0xb5674b70) at pthread_create.c:304 #12 0x058ea69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb77c7710 (LWP 2740)): [KCrash Handler] #7 ref (this=0xa489a90, arg=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120 #8 QString (this=0xa489a90, arg=...) at /usr/include/qt4/QtCore/qstring.h:728 #9 IngredientData (this=0xa489a90, arg=...) at /build/buildd/krecipes-2.0~beta1/src/datablocks/ingredient.h:22 #10 Ingredient (this=0xa489a90, arg=...) at /build/buildd/krecipes-2.0~beta1/src/datablocks/ingredient.h:44 #11 QLinkedListNode<Ingredient>::QLinkedListNode (this=0xa489a90, arg=...) at /usr/include/qt4/QtCore/qlinkedlist.h:72 #12 0x08121717 in append (this=0x99e75d8) at /usr/include/qt4/QtCore/qlinkedlist.h:347 #13 append (this=0x99e75d8) at /usr/include/qt4/Qt3Support/q3valuelist.h:194 #14 operator<< (this=0x99e75d8) at /usr/include/qt4/Qt3Support/q3valuelist.h:169 #15 IngredientMatcherDialog::findRecipes (this=0x99e75d8) at /build/buildd/krecipes-2.0~beta1/src/dialogs/ingredientmatcherdialog.cpp:312 #16 0x08122f0b in IngredientMatcherDialog::qt_metacall (this=0x99e75d8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf98d6a8) at /build/buildd/krecipes-2.0~beta1/obj-i686-linux-gnu/src/ingredientmatcherdialog.moc:88 #17 0x022068ca in QMetaObject::metacall (object=0x99e75d8, cl=93799360, idx=30, argv=0xbf98d6a8) at kernel/qmetaobject.cpp:237 #18 0x022196ad in QMetaObject::activate (sender=0x9a06aa0, m=0x1b2f704, local_signal_index=2, argv=0x1) at kernel/qobject.cpp:3280 #19 0x0190c019 in QAbstractButton::clicked (this=0x9a06aa0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206 #20 0x015cbff9 in QAbstractButtonPrivate::emitClicked (this=0x9a09c50) at widgets/qabstractbutton.cpp:546 #21 0x015cd6f4 in QAbstractButtonPrivate::click (this=0x9a09c50) at widgets/qabstractbutton.cpp:539 #22 0x015cd9ae in QAbstractButton::mouseReleaseEvent (this=0x9a06aa0, e=0xbf98ddf0) at widgets/qabstractbutton.cpp:1121 #23 0x011fbe08 in QWidget::event (this=0x9a06aa0, event=0xbf98ddf0) at kernel/qwidget.cpp:8187 #24 0x015cbe9e in QAbstractButton::event (this=0x9a06aa0, e=0xa489a88) at widgets/qabstractbutton.cpp:1080 #25 0x01679c22 in QPushButton::event (this=0x9a06aa0, e=0xbf98ddf0) at widgets/qpushbutton.cpp:683 #26 0x0119dfdc in QApplicationPrivate::notify_helper (this=0x9268930, receiver=0x9a06aa0, e=0xbf98ddf0) at kernel/qapplication.cpp:4396 #27 0x011a4c2e in QApplication::notify (this=0xbf98e6cc, receiver=0x9a06aa0, e=0xbf98ddf0) at kernel/qapplication.cpp:3959 #28 0x002e868a in KApplication::notify (this=0xbf98e6cc, receiver=0x9a06aa0, event=0xbf98ddf0) at ../../kdeui/kernel/kapplication.cpp:310 #29 0x02200b3b in QCoreApplication::notifyInternal (this=0xbf98e6cc, receiver=0x9a06aa0, event=0xbf98ddf0) at kernel/qcoreapplication.cpp:732 #30 0x011a3094 in sendEvent (receiver=0x9a06aa0, event=0xbf98ddf0, alienWidget=0x9a06aa0, nativeWidget=0x99e75d8, buttonDown=0x1b383c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #31 QApplicationPrivate::sendMouseEvent (receiver=0x9a06aa0, event=0xbf98ddf0, alienWidget=0x9a06aa0, nativeWidget=0x99e75d8, buttonDown=0x1b383c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058 #32 0x01231d10 in QETWidget::translateMouseEvent (this=0x99e75d8, event=0xbf98e30c) at kernel/qapplication_x11.cpp:4403 #33 0x01231151 in QApplication::x11ProcessEvent (this=0xbf98e6cc, event=0xbf98e30c) at kernel/qapplication_x11.cpp:3414 #34 0x0126036a in x11EventSourceDispatch (s=0x9265740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #35 0x02372855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #36 0x02376668 in ?? () from /lib/libglib-2.0.so.0 #37 0x02376848 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #38 0x0222f565 in QEventDispatcherGlib::processEvents (this=0x923f580, flags=...) at kernel/qeventdispatcher_glib.cpp:415 #39 0x0125fbe5 in QGuiEventDispatcherGlib::processEvents (this=0x923f580, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x021ff609 in QEventLoop::processEvents (this=0xbf98e604, flags=) at kernel/qeventloop.cpp:149 #41 0x021ffa8a in QEventLoop::exec (this=0xbf98e604, flags=...) at kernel/qeventloop.cpp:201 #42 0x0220400f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #43 0x0119ce07 in QApplication::exec () at kernel/qapplication.cpp:3672 #44 0x08072878 in main (argc=5, argv=0xbf98e8f4) at /build/buildd/krecipes-2.0~beta1/src/main.cpp:91 Reported using DrKonqi
*** Bug 265759 has been marked as a duplicate of this bug. ***
*** Bug 269887 has been marked as a duplicate of this bug. ***
*** Bug 272607 has been marked as a duplicate of this bug. ***
*** Bug 271248 has been marked as a duplicate of this bug. ***
*** Bug 286936 has been marked as a duplicate of this bug. ***
Created attachment 69120 [details] New crash information added by DrKonqi krecipes (2.0-beta2) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4 - What I was doing when the application crashed: New installation w/default recipe. Selected one ingredient in the Match Ingredient view. Set the number of missing ingredients = 99. Press Search and the programed crashed and closed. Repeated a second time after reboot using same steps and same behaviour observed. -- Backtrace (Reduced): #8 QString (other=..., this=0x961715c) at /usr/include/qt4/QtCore/qstring.h:729 #9 IngredientData (this=0x9617158) at /build/buildd/krecipes-2.0~beta2/src/datablocks/ingredient.h:21 #10 Ingredient (this=0x9617158) at /build/buildd/krecipes-2.0~beta2/src/datablocks/ingredient.h:43 #11 QLinkedListNode (arg=..., this=0x9617150) at /usr/include/qt4/QtCore/qlinkedlist.h:72 #12 append (t=..., this=0xbfaf2078) at /usr/include/qt4/QtCore/qlinkedlist.h:348
Mine crashed attempting to print a recipe
*** Bug 324547 has been marked as a duplicate of this bug. ***
Git commit 26559e2f4aef38d85428da9998c1ce70d7f320b1 by Albert Astals Cid. Committed on 09/02/2014 at 21:35. Pushed by aacid into branch '2.0'. Fix iterator use Inspired by a fix by Nemanja Hirsl in reviewboard 115437 M +2 -2 src/dialogs/ingredientmatcherdialog.cpp http://commits.kde.org/krecipes/26559e2f4aef38d85428da9998c1ce70d7f320b1
*** Bug 334073 has been marked as a duplicate of this bug. ***