Bug 195678 - KDE applications occasionally crash with signal 11 (SIGSEGV). Here's an example with Gwenview.
Summary: KDE applications occasionally crash with signal 11 (SIGSEGV). Here's an examp...
Status: RESOLVED DUPLICATE of bug 189992
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 16:03 UTC by Grasyop
Modified: 2012-10-19 13:26 UTC (History)
2 users (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 Grasyop 2009-06-08 16:03:47 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Many KDE applications (Plasma, Dolphin, Konqueror, Ksystemlog, Gwenview and others... ) occasionally crash on my computer with signal 11 (SIGSEGV). (What the heck does it mean?) Here's one crash which seems (with a little chance) reproducible: I start the computer, I open a photo directory with Gwenview and rotate some photos. After 20 rotations, Gwenview suggests me to record the modifications. Which I do. There, often, Gwenview crashes with signal 11 (SIGSEGV).

I currently use Kubuntu Jaunty. I had some signal 11 (SIGSEGV) on this computer with previous versions of Kubuntu (Hardy) and the current one, Jaunty was a fresh new installation. I also checked my Ram memory and it's fine.



Here are the details I could get:

Application : Gwenview (gwenview), signal SIGSEGV
[Current thread is 0 (LWP 3100)]

Thread 2 (Thread 0xb442fb90 (LWP 3101)):
#0  0xb7f85430 in __kernel_vsyscall ()
#1  0xb5f150e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb65d92ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb79ee9b2 in QWaitCondition::wait (this=0x8ba1098, mutex=0x8ba1094, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7ed566f in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0xb79ed96e in QThreadPrivate::start (arg=0x90730b0) at thread/qthread_unix.cpp:189
#6  0xb5f114ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65ca49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b19700 (LWP 3100)):
[KCrash Handler]
#6  QUrlPrivate::parse (this=0x908ad98, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3584
#7  0xb7aa0d10 in QUrl::isValid (this=0x9057aac) at io/qurl.cpp:3961
#8  0xb7eac588 in Gwenview::SortedDirModel::indexForUrl () from /usr/lib/libgwenviewlib.so.4
#9  0x0807ebeb in _start ()



And here's an extract (because it's repetitive) of what I get when I run Gwenview under GDB:

"/usr/bin/gwenview(3635)" Error in thread 3024878480 : "Unsupported operation (2)": "Invalid model"                                                                                       
"/usr/bin/gwenview(3635)" Error in thread 3024878480 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
Comment 1 Jonathan Thomas 2009-06-08 21:19:16 UTC
Here is a backtrace we received downstream at https://launchpad.net/bugs/360199 :

#0  0xb7a49cdc in QUrl::isValid (this=0x93cc0bc) at io/qurl.cpp:3961
No locals.
#1  0xb7e54588 in Gwenview::SortedDirModel::indexForUrl (this=0x8f533b0, 
    url=@0x93cc0bc)
    at /build/buildd/kdegraphics-4.2.2/gwenview/lib/semanticinfo/sorteddirmodel.cpp:152
	sourceIndex = {r = -1217007628, c = 0, p = 0x8f44740, m = 0xbfe47ba8}
#2  0x0807ebeb in Gwenview::MainWindow::generateThumbnailForUrl (
    this=0x8f44740, url=@0x93cc0bc)
    at /build/buildd/kdegraphics-4.2.2/gwenview/app/mainwindow.cpp:1153
	index = {r = -1212686348, c = -1209450520, p = 0xbfe47bd8, m = 0x0}
#3  0x08084009 in Gwenview::MainWindow::qt_metacall (this=0x8f44740, 
    _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfe47c9c)
    at /build/buildd/kdegraphics-4.2.2/obj-i486-linux-gnu/gwenview/app/mainwindow.moc:154
No locals.
#4  0xb7aa0ca8 in QMetaObject::activate (sender=0xb7e93fe8, 
    from_signal_index=5, to_signal_index=5, argv=0xbfe47c9c)
    at kernel/qobject.cpp:3069
	method = 76
	currentSender = {sender = 0xb7e93fe8, signal = 5, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 5
	empty_argv = {0x0}
	locker = {{mtx = 0x8eb4d94, val = 149638548}}
	currentThreadData = (QThreadData *) 0x8eb4d60
	connectionLists = (QObjectConnectionListVector *) 0x8fa8208
#5  0xb7aa1932 in QMetaObject::activate (sender=0xb7e93fe8, m=0xb7e90308, 
    local_signal_index=1, argv=0xbfe47c9c) at kernel/qobject.cpp:3143
	signal_index = -1212676760
#6  0xb7e25793 in Gwenview::DocumentFactory::documentChanged (
    this=0xb7e93fe8, _t1=@0x93cc0bc)
    at /build/buildd/kdegraphics-4.2.2/obj-i486-linux-gnu/gwenview/lib/documentfactory.moc:97
	_a = {0x0, 0x93cc0bc}
#7  0xb7e26075 in Gwenview::DocumentFactory::slotSaved (this=0xb7e93fe8, 
    url=@0x93cc0bc)
    at /build/buildd/kdegraphics-4.2.2/gwenview/lib/document/documentfactory.cpp:200
No locals.
#8  0xb7e2612a in Gwenview::DocumentFactory::qt_metacall (this=0xb7e93fe8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe47dbc)
    at /build/buildd/kdegraphics-4.2.2/obj-i486-linux-gnu/gwenview/lib/documentfactory.moc:78
No locals.
#9  0xb7aa0ca8 in QMetaObject::activate (sender=0x9779850, 
    from_signal_index=10, to_signal_index=10, argv=0xbfe47dbc)
    at kernel/qobject.cpp:3069
	method = 7
	currentSender = {sender = 0x9779850, signal = 10, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 10
	empty_argv = {0x0}
	locker = {{mtx = 0x8eb4d94, val = 149638548}}
	currentThreadData = (QThreadData *) 0x8eb4d60
	connectionLists = (QObjectConnectionListVector *) 0x931ff20
#10 0xb7aa1932 in QMetaObject::activate (sender=0x9779850, m=0xb7e9028c, 
    local_signal_index=6, argv=0xbfe47dbc) at kernel/qobject.cpp:3143
	signal_index = -1212676760
#11 0xb7e23cf3 in Gwenview::Document::saved (this=0x9779850, _t1=@0x93cc0bc)
    at /build/buildd/kdegraphics-4.2.2/obj-i486-linux-gnu/gwenview/lib/document.moc:156
	_a = {0x0, 0x93cc0bc}
#12 0xb7e23d4a in Gwenview::Document::slotCleanChanged (this=0x0, clean=true)
    at /build/buildd/kdegraphics-4.2.2/gwenview/lib/document/document.cpp:392
No locals.
#13 0xb7e240f5 in Gwenview::Document::qt_metacall (this=0x9779850, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x96cfd78)
    at /build/buildd/kdegraphics-4.2.2/obj-i486-linux-gnu/gwenview/lib/document.moc:103
No locals.
#14 0xb7a998fb in QMetaCallEvent::placeMetaCall (this=0x989ec58, 
    object=0x9779850) at kernel/qobject.cpp:489
No locals.
#15 0xb7a9b3a0 in QObject::event (this=0x9779850, e=0x989ec58)
    at kernel/qobject.cpp:1118
	currentSender = {sender = 0x93cc0f8, signal = 5, ref = 0}
	previousSender = (QObjectPrivate::Sender * const) 0x0
#16 0xb6af0f2c in QApplicationPrivate::notify_helper (this=0x8ecaaf0, 
    receiver=0x9779850, e=0x989ec58) at kernel/qapplication.cpp:4084
	consumed = <value optimized out>
#17 0xb6af922e in QApplication::notify (this=0xbfe484f0, receiver=0x9779850, 
    e=0x989ec58) at kernel/qapplication.cpp:3631
	res = true
#18 0xb75b394d in KApplication::notify (this=0xbfe484f0, receiver=0x9779850, 
    event=0x989ec58)
    at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
No locals.
#19 0xb7a8aa3b in QCoreApplication::notifyInternal (this=0xbfe484f0, 
    receiver=0x9779850, event=0x989ec58) at kernel/qcoreapplication.cpp:602
	result = false
	cbdata = {0x9779850, 0x989ec58, 0xbfe481db}
	threadData = (QThreadData *) 0x8eb4d60
	returnValue = <value optimized out>
#20 0xb7a8b695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x8eb4d60)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
	e = (class QEvent *) 0x989ec58
	r = (class QObject *) 0x9779850
	locker = {{mtx = 0x8eb4d88, val = 149638536}}
	startOffset = 0
	i = (int &) @0x8eb4d80: 4
#21 0xb7a8b88d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1132
	data = <value optimized out>
#22 0xb7ab67ef in postEventSourceDispatch (s=0x8eccd10)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
No locals.
#23 0xb5f06a58 in child_watch_helper_thread (data=0x8eccc90)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:3673
No locals.
#24 0xb5f09fbb in ?? () from /usr/lib/libglib-2.0.so.0
No locals.
#25 0xb5f0a138 in IA__g_markup_escape_text (
    text=0x1 <Address 0x1 out of bounds>, length=1)
    at /build/buildd/glib2.0-2.20.1/glib/gmarkup.c:2253
	str = (GString *) 0x1
	__PRETTY_FUNCTION__ = "IA__g_markup_escape_text"
#26 0xb7ab6438 in QEventDispatcherGlib::processEvents (this=0x8eb80a8, flags=
      {i = -1075543080}) at kernel/qeventdispatcher_glib.cpp:323
	d = (QEventDispatcherGlibPrivate * const) 0x8ecac68
	canWait = true
	result = <value optimized out>
#27 0xb6b923f5 in QGuiEventDispatcherGlib::processEvents (this=0x8eb80a8, 
    flags={i = -1075543032}) at kernel/qguieventdispatcher_glib.cpp:202
	d = (QGuiEventDispatcherGlibPrivate * const) 0x8ecac68
	returnValue = 176
#28 0xb7a8906a in QEventLoop::processEvents (this=0xbfe48480, flags=
      {i = -1075542968}) at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x91a1ed8
#29 0xb7a894aa in QEventLoop::exec (this=0xbfe48480, flags={i = -1075542904})
    at kernel/qeventloop.cpp:200
	d = (QEventLoopPrivate * const) 0x91a1ed8
#30 0xb7a8b959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
	threadData = (QThreadData *) 0x8eb4d60
	eventLoop = {<QObject> = {_vptr.QObject = 0xb7b7d7a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb7b25bc0 "QObject", data = 0xb7b25c60, 
        extradata = 0xb7b791b8}}, d_ptr = 0x91a1ed8, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb7b2f3a0 "Qt", data = 0xb7b32280, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x80a74b0, 
      stringdata = 0xb7b37040 "QEventLoop", data = 0xb7b37060, 
      extradata = 0x0}}}
	returnCode = -1
#31 0xb6af0da7 in QApplication::exec () at kernel/qapplication.cpp:3553
No locals.
#32 0x0807e75d in main (argc=6, argv=0xbfe48644)
    at /build/buildd/kdegraphics-4.2.2/gwenview/app/main.cpp:95
	aboutData = {d = 0x8eb72e8}
	options = {d = 0x8eca0d0}
	url = {<QUrl> = {d = 0x8eca9d8}, d = 0x0}
	startInFullScreen = false
	startSlideShow = false
	args = <value optimized out>
	app = {<QApplication> = {<QCoreApplication> = {<QObject> = {
        _vptr.QObject = 0xb7755cc8, static staticMetaObject = {d = {
            superdata = 0x0, stringdata = 0xb7b25bc0 "QObject", 
            data = 0xb7b25c60, extradata = 0xb7b791b8}}, d_ptr = 0x8ecaaf0, 
        static staticQtMetaObject = {d = {superdata = 0x0, 
            stringdata = 0xb7b2f3a0 "Qt", data = 0xb7b32280, 
            extradata = 0x0}}}, static staticMetaObject = {d = {
          superdata = 0x80a74b0, stringdata = 0xb7b370c0 "QCoreApplication", 
          data = 0xb7b37160, extradata = 0x0}}, static self = 0xbfe484f0}, 
    static staticMetaObject = {d = {superdata = 0xb7b7d7e4, 
        stringdata = 0xb71b3080 "QApplication", data = 0xb71b3280, 
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0xb737e108, stringdata = 0xb772e060 "KApplication", 
      data = 0xb772e200, extradata = 0x0}}, static loadedByKdeinit = false, 
  static KApp = 0xbfe484f0, d = 0x8f225d8}
	window = <value optimized out>
Comment 2 Dario Andres 2009-06-09 01:45:35 UTC
@Grasyop: if any other application is crashing, report every crash individually. Hopefully , a lot of crashes are already addressed on KDE4.3

This crash is a duplicate of bug 189992. Thanks

*** This bug has been marked as a duplicate of bug 189992 ***
Comment 3 Grasyop 2009-06-09 05:04:24 UTC
All right, thank you very much.