Bug 228138 - nepomukservicestub crashed on shutdown [QUrl::isEmpty, Nepomuk::ResourceData::resetAll, ~ResourceData]
Summary: nepomukservicestub crashed on shutdown [QUrl::isEmpty, Nepomuk::ResourceData:...
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 231088 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-23 04:06 UTC by Jonathan Thomas
Modified: 2011-01-03 13:33 UTC (History)
3 users (show)

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 Jonathan Thomas 2010-02-23 04:06:17 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported at https://launchpad.net/bugs/526085

The user reported a crash that occurred at login, but looking at the backtrace I'm assuming that the crash happened during the previous shutdown, and that apport was only able to report it on the next login.


.
Thread 2 (process 1871):
#0  0x00007f2e1c234bc3 in *__GI___poll (fds=<value optimized out>, 
    nfds=<value optimized out>, timeout=7674)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	resultvar = <value optimized out>
	_a3 = 7674
	_a2 = 5
	_a1 = 29504848
	oldtype = 0
	result = <value optimized out>
#1  0x00007f2e1b6a2a49 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f2e1b6a2e1c in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f2e1e1e6143 in QEventDispatcherGlib::processEvents (
    this=0x1b2dbc0, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:412
	d = (QEventDispatcherGlibPrivate * const) 0x1b43fa0
	canWait = true
	result = <value optimized out>
#4  0x00007f2e1ca5c88e in QGuiEventDispatcherGlib::processEvents (
    this=0x1c23550, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:204
	d = (QGuiEventDispatcherGlibPrivate * const) 0x1b43fa0
	returnValue = 252
#5  0x00007f2e1e1bb582 in QEventLoop::processEvents (
    this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x1c260a0
#6  0x00007f2e1e1bb95c in QEventLoop::exec (this=0x7fff3a207130, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x1c260a0
	app = (class QCoreApplication *) 0x7fff3a207350
#7  0x00007f2e1e1bf69b in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:981
	threadData = (QThreadData *) 0x1b2e080
	eventLoop = {<QObject> = {_vptr.QObject = 0x7f2e1e4ce910, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x7f2e1e262f60 "QObject", data = 0x7f2e1e263000, 
        extradata = 0x7f2e1e4c6180}}, d_ptr = {d = 0x1c260a0}, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x7f2e1e26bbe0 "Qt", data = 0x7f2e1e26f1e0, 
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0x606300, stringdata = 0x7f2e1e274ca0 "QEventLoop", 
      data = 0x7f2e1e274cc0, extradata = 0x0}}}
	returnCode = -1
#8  0x0000000000403adc in main (argc=2, argv=<value optimized out>)
    at ../../../nepomuk/servicestub/main.cpp:152
	aboutData = {d = 0x1b2f650}
	app = {<QCoreApplication> = {<QObject> = {
      _vptr.QObject = 0x7f2e1d44a630, static staticMetaObject = {d = {
          superdata = 0x0, stringdata = 0x7f2e1e262f60 "QObject", 
          data = 0x7f2e1e263000, extradata = 0x7f2e1e4c6180}}, d_ptr = {
        d = 0x1b43d20}, static staticQtMetaObject = {d = {superdata = 0x0, 
          stringdata = 0x7f2e1e26bbe0 "Qt", data = 0x7f2e1e26f1e0, 
          extradata = 0x0}}}, static staticMetaObject = {d = {
        superdata = 0x606300, stringdata = 0x7f2e1e274d40 "QCoreApplication", 
        data = 0x7f2e1e274de0, extradata = 0x0}}, 
    static self = 0x7fff3a207350}, static staticMetaObject = {d = {
      superdata = 0x7f2e1e4ce9a0, stringdata = 0x7f2e1d051ce0 "QApplication", 
      data = 0x7f2e1d051f20, extradata = 0x0}}}
	serviceName = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 120455}, alloc = 0, size = 0, 
    data = 0x7f2e1e4d087a, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, 
    data = 0x7f2e1e4d089a, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1beb3a0, 
  static codecForCStrings = 0x0}
	compData = {_vptr.KComponentData = 0x7f2e1dba99d0, d = 0x1b47ba0}
	dependencies = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 511}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x606400}, 
      d = 0x606400}}, <No data fields>}
	options = {d = 0x1b30000}
	args = <value optimized out>
	s = {_vptr.QTextStream = 0x7f2e1e4caf70, d_ptr = {d = 0x1be6a00}}
	services = {{p = {static shared_null = {ref = {_q_value = 511}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x1c26f70}, d = 0x1c26f70}}
	service = {d = 0x1c23730}
Current language:  auto; currently c
.
Thread 1 (process 1877):
#0  0x00007f2e1e16da14 in QUrl::isEmpty (this=0x2446a08)
    at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:412
No locals.
#1  0x00007f2e1d4b6c02 in Nepomuk::ResourceData::resetAll (this=0x2446a00, 
    isDelete=true) at ../../../nepomuk/core/resourcedata.cpp:186
	hadProxy = false
#2  0x00007f2e1d4b6aee in ~ResourceData (this=0x2446a08)
    at ../../../nepomuk/core/resourcedata.cpp:104
No locals.
#3  0x00007f2e1d4bdd56 in Nepomuk::ResourceManagerPrivate::cleanupCache (
    this=<value optimized out>, num=-1)
    at ../../../nepomuk/core/resourcemanager.cpp:204
	data = (Nepomuk::ResourceData *) 0x2446a00
	rdl = {{p = {static shared_null = {ref = {_q_value = 511}, alloc = 0, 
        begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x7f2e0c191930}, d = 0x7f2e0c191930}}
#4  0x00007f2e12c85253 in Nepomuk::MetadataMover::run (this=0x1c32040)
    at ../../../../nepomuk/services/filewatch/metadatamover.cpp:136
	updateRequest = {m_source = {<QUrl> = {d = 0x23d8a30}, d = 0x0}, 
  m_target = {<QUrl> = {d = 0x0}, d = 0x0}, m_timestamp = {d = {
      d = 0x243ecc0}}}
	__PRETTY_FUNCTION__ = "virtual void Nepomuk::MetadataMover::run()"
#5  0x00007f2e1e0c8755 in QThreadPrivate::start (arg=0x1c32040)
    at thread/qthread_unix.cpp:248
	data = (QThreadData *) 0x1c44c90
#6  0x00007f2e1de38b14 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007f2e1c24107d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
Current language:  auto; currently c++
Comment 1 Lukas Appelhans 2010-05-12 13:37:07 UTC
*** Bug 231088 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Trueg 2010-07-27 13:57:57 UTC
Did this occur again with 4.4.X?
Comment 3 Jonathan Thomas 2010-07-27 14:00:09 UTC
It was reported with 4.4.X
Comment 4 Sebastian Trueg 2010-07-27 14:10:38 UTC
This bug was reported with 4.4.0, I mean 4.4.X with X > 0.
Comment 5 Jonathan Thomas 2010-07-27 14:12:48 UTC
Ah, right. Kubuntu was receiving semi-regular dupes about this up until when Kubuntu 10.04 was released and the automatic crash handler was disabled. The version at the time was KDE 4.4.2.
Comment 6 Vishesh Handa 2011-01-03 13:33:09 UTC
Fixed in r1135943. 

It was because of the faulty Nepomuk::ResourceManagerPrivate::cleanupCache().