Summary: | Closing Ark while file preview window is still open causes crash [__libc_message, malloc_printerr, __libc_free] | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Christoph Feck <cfeck> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christoph Feck
2009-11-29 04:43:19 UTC
Isn't this related to the glibc bug ? (bug 196207). Is it reproducible after setting the MALLOC_CHECK_ env var to "" ? Regards Calling free() on address 0x6 isn't a glibc bug :) Backtrace with MALLOC_CHECK_ set to 0: Application: Ark (ark), signal: Segmentation fault [Current thread is 1 (Thread 0xb51b6a80 (LWP 21840))] Thread 2 (Thread 0xb3234b70 (LWP 21864)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb5cd9d95 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122 #2 0xb26e7db7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb27bf1a0) at /local/git/Qt/qt/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #3 0xb26e7e01 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb27bf1a0) at /local/git/Qt/qt/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #4 0xb5cd56e5 in start_thread (arg=0x0) at pthread_create.c:297 #5 0xb5cd5600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0 Thread 1 (Thread 0xb51b6a80 (LWP 21840)): [KCrash Handler] #6 0xb5e7a206 in QMetaObject::removeGuard (ptr=0xbf809450) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:458 #7 0xb3b79c81 in QPointer<KParts::ReadOnlyPart>::~QPointer (this=0xbf809450, __in_chrg=<value optimized out>) at /local/qt4/include/QtCore/qpointer.h:64 #8 0xb3b78887 in ArkViewer::~ArkViewer (this=0xbf809438, __in_chrg=<value optimized out>) at /local/svn/kde/trunk/KDE/kdeutils/ark/part/arkviewer.cpp:83 #9 0xb3b78b6f in ArkViewer::view (filename=..., parent=0x81b4e48) at /local/svn/kde/trunk/KDE/kdeutils/ark/part/arkviewer.cpp:110 #10 0xb3b6eec6 in Ark::Part::slotPreviewExtracted (this=0x810c660, job=0x822b378) at /local/svn/kde/trunk/KDE/kdeutils/ark/part/part.cpp:502 #11 0xb3b6a234 in Ark::Part::qt_metacall (this=0x810c660, _c=InvokeMetaMethod, _id=7, _a=0x822d5c8) at /local/build/KDE/kdeutils/ark/part/moc_part.cpp:132 #12 0xb5e6a69a in QMetaObject::metacall (object=0x810c660, cl=138759616, idx=26, argv=0x822d5c8) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237 #13 0xb5e74bb6 in QMetaCallEvent::placeMetaCall (this=0x82e7830, object=0x810c660) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:561 #14 0xb5e75cde in QObject::event (this=0x810c660, e=0x82e7830) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:1239 #15 0xb60af1ac in QApplicationPrivate::notify_helper (this=0x8076040, receiver=0x810c660, e=0x82e7830) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4293 #16 0xb60b5deb in QApplication::notify (this=0xbf809d64, receiver=0x810c660, e=0x82e7830) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3697 #17 0xb6f1e0f4 in KApplication::notify (this=0xbf809d64, receiver=0x810c660, event=0x82e7830) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #18 0xb5e6548b in QCoreApplication::notifyInternal (this=0xbf809d64, receiver=0x810c660, event=0x82e7830) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:704 #19 0xb5e67e63 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215 #20 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1345 #21 0xb5e67fcd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1238 #22 0xb5e9144f in sendPostedEvents () at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:220 #23 postEventSourceDispatch () at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:276 #24 0xb552c4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #25 0xb552fd98 in ?? () from /usr/lib/libglib-2.0.so.0 #26 0xb552febe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #27 0xb5e90f45 in QEventDispatcherGlib::processEvents (this=0x8060318, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:412 #28 0xb616b8f5 in QGuiEventDispatcherGlib::processEvents (this=0x8060318, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #29 0xb5e63ab9 in QEventLoop::processEvents (this=0xbf809ce4, flags=) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149 #30 0xb5e63f0a in QEventLoop::exec (this=0xbf809ce4, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201 #31 0xb5e6808f in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:981 #32 0xb60af247 in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3572 #33 0x08050e82 in main (argc=1, argv=0xbf80a164) at /local/svn/kde/trunk/KDE/kdeutils/ark/app/main.cpp:210 Oops, didn't see that, sorry :) SVN commit 1067160 by rkcosta: Treat the preview dialog as a non-modal dialog. There was no point in calling exec() here, just call show() and be happy. BUG: 216601 M +22 -11 arkviewer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1067160 SVN commit 1067162 by rkcosta: Backport r1067160. Treat the preview dialog as a non-modal dialog. There was no point in calling exec() here, just call show() and be happy. CCBUG: 216601 M +22 -11 arkviewer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1067162 |