Bug 298570 - Solid fstab interface crash
Summary: Solid fstab interface crash
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Unmaintained
Component: libsolid-fstab (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mario Bensi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 21:20 UTC by g1suh
Modified: 2018-08-25 17:21 UTC (History)
2 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 g1suh 2012-04-21 21:20:48 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Starting digikam! The splash screen had almost finished.
This was just after booting. No other application had been started.
This is the second digikam crash - the first resulted ultimately in the computer locking up, so I was unable to report the circumstances. The first crash had occurred when I was updating timestamps of a batch of about 20 photographs.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5dbf8c0 (LWP 2360))]

Thread 6 (Thread 0xb49dab40 (LWP 2372)):
#0  0x00daa416 in __kernel_vsyscall ()
#1  0x00cc5380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x02762a3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0275506e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0275552b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0568d134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0x02778673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00797d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00cd3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb3fffb40 (LWP 2373)):
#0  0x00799dc8 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00ce15f4 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x02794390 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02754f45 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0275552b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x03ed20ea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x02778673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00797d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00cd3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb23f3b40 (LWP 2375)):
#0  0x00daa416 in __kernel_vsyscall ()
#1  0x0079b96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00ce13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x041cb350 in wait (time=4294967295, this=0xa2e0428) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa2e0394, mutex=0xa2e0390, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820346e in Digikam::ScanController::run (this=0xa3484b0) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#6  0x041cade0 in QThreadPrivate::start (arg=0xa3484b0) at thread/qthread_unix.cpp:298
#7  0x00797d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00cd3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb1bf2b40 (LWP 2376)):
#0  0x0079ac64 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00ce1634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x027943d0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02754f5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x027551c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x043128e7 in QEventDispatcherGlib::processEvents (this=0xb4003590, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x042de50d in QEventLoop::processEvents (this=0xb1bf20c0, flags=...) at kernel/qeventloop.cpp:149
#7  0x042de7a9 in QEventLoop::exec (this=0xb1bf20c0, flags=...) at kernel/qeventloop.cpp:204
#8  0x041c794c in QThread::exec (this=0xa367718) at thread/qthread.cpp:501
#9  0x042bbb5d in QInotifyFileSystemWatcherEngine::run (this=0xa367718) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x041cade0 in QThreadPrivate::start (arg=0xa367718) at thread/qthread_unix.cpp:298
#11 0x00797d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00cd3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb13f1b40 (LWP 2378)):
#0  0x00daa416 in __kernel_vsyscall ()
#1  0x0079b96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00ce13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x041cb350 in wait (time=4294967295, this=0xa527d10) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa527b90, mutex=0xa527b8c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x07b6fb2c in Digikam::ParkingThread::run (this=0xa527b80) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#6  0x041cade0 in QThreadPrivate::start (arg=0xa527b80) at thread/qthread_unix.cpp:298
#7  0x00797d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00cd3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5dbf8c0 (LWP 2360)):
[KCrash Handler]
#7  ref (this=0x0) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString::operator= (this=0xa1c9c0c, other=...) at tools/qstring.cpp:1410
#9  0x00851612 in Solid::Backends::Fstab::FstabStorageAccess::FstabStorageAccess (this=0xa1c9bf8, device=0xb223ef0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../solid/solid/backends/fstab/fstabstorageaccess.cpp:40
#10 0x0084f8da in Solid::Backends::Fstab::FstabDevice::createDeviceInterface (this=0xb223ef0, type=@0xbfd404bc: Solid::DeviceInterface::StorageAccess) at ../../../solid/solid/backends/fstab/fstabdevice.cpp:107
#11 0x007cd92c in Solid::Device::asDeviceInterface (this=0xb2480a0, type=@0xbfd404bc: Solid::DeviceInterface::StorageAccess) at ../../../solid/solid/device.cpp:177
#12 0x005eb8c3 in as<Solid::StorageAccess> (this=<optimized out>) at /usr/include/solid/device.h:254
#13 Digikam::CollectionManagerPrivate::actuallyListVolumes (this=0xa366928) at /build/buildd/digikam-2.5.0/core/libs/database/collectionmanager.cpp:311
#14 0x005ec1e4 in Digikam::CollectionManagerPrivate::listVolumes (this=0xa366928) at /build/buildd/digikam-2.5.0/core/libs/database/collectionmanager.cpp:275
#15 0x005f13ba in Digikam::CollectionManager::updateLocations (this=0xa2e4390) at /build/buildd/digikam-2.5.0/core/libs/database/collectionmanager.cpp:1539
#16 0x005f2b6c in Digikam::CollectionManager::deviceRemoved (this=0xa2e4390, udi=...) at /build/buildd/digikam-2.5.0/core/libs/database/collectionmanager.cpp:1522
#17 0x005f2cc7 in qt_static_metacall (_a=0xbfd40798, _id=4, _o=0xa2e4390, _c=<optimized out>) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/collectionmanager.moc:70
#18 Digikam::CollectionManager::qt_static_metacall (_o=0xa2e4390, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd40798) at /build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/collectionmanager.moc:60
#19 0x042f66b1 in QMetaObject::activate (sender=0xa2e0880, m=0x885ce0, local_signal_index=1, argv=0xbfd40798) at kernel/qobject.cpp:3547
#20 0x007ce7d5 in Solid::DeviceNotifier::deviceRemoved (this=0xa2e0880, _t1=...) at ./devicenotifier.moc:108
#21 0x007cfcd4 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0xa2e0880, udi=...) at ../../../solid/solid/devicemanager.cpp:207
#22 0x042f66b1 in QMetaObject::activate (sender=0xa32ea30, m=0x886dec, local_signal_index=1, argv=0xbfd408d8) at kernel/qobject.cpp:3547
#23 0x007e6d45 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0xa32ea30, _t1=...) at ./ifaces/devicemanager.moc:108
#24 0x0084ebf4 in Solid::Backends::Fstab::FstabManager::_k_updateDeviceList (this=0xa32ea30) at ../../../solid/solid/backends/fstab/fstabmanager.cpp:126
#25 0x0084ef61 in Solid::Backends::Fstab::FstabManager::onMtabChanged (this=0xa32ea30) at ../../../solid/solid/backends/fstab/fstabmanager.cpp:136
#26 0x007cc190 in qt_static_metacall (_a=0xbfd40a40, _id=2, _o=0xa32ea30, _c=<optimized out>) at moc_fstabmanager.cpp:57
#27 Solid::Backends::Fstab::FstabManager::qt_static_metacall (_o=0xa32ea30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd40a40) at moc_fstabmanager.cpp:49
#28 0x042f66b1 in QMetaObject::activate (sender=0xa366e18, m=0x885a60, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#29 0x007cc285 in Solid::Backends::Fstab::FstabWatcher::mtabChanged (this=0xa366e18) at moc_fstabwatcher.cpp:107
#30 0x00854338 in Solid::Backends::Fstab::FstabWatcher::onFileChanged (this=0xa366e18, path=...) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:104
#31 0x007cc33f in qt_static_metacall (_a=0xbfd40bf8, _id=2, _o=0xa366e18, _c=<optimized out>) at moc_fstabwatcher.cpp:58
#32 Solid::Backends::Fstab::FstabWatcher::qt_static_metacall (_o=0xa366e18, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd40bf8) at moc_fstabwatcher.cpp:50
#33 0x042f66b1 in QMetaObject::activate (sender=0xa367650, m=0x443ba40, local_signal_index=0, argv=0xbfd40bf8) at kernel/qobject.cpp:3547
#34 0x042aaaa5 in QFileSystemWatcher::fileChanged (this=0xa367650, _t1=...) at .moc/release-shared/moc_qfilesystemwatcher.cpp:109
#35 0x042aadde in QFileSystemWatcherPrivate::_q_fileChanged (this=0xa3676b0, path=..., removed=false) at io/qfilesystemwatcher.cpp:346
#36 0x042f1c01 in QMetaCallEvent::placeMetaCall (this=0xb400c0f0, object=0xa367650) at kernel/qobject.cpp:525
#37 0x042fac7b in QObject::event (this=0xa367650, e=0xb400c0f0) at kernel/qobject.cpp:1195
#38 0x015e9ed4 in notify_helper (e=0xb400c0f0, receiver=0xa367650, this=0xa193ac0) at kernel/qapplication.cpp:4559
#39 QApplicationPrivate::notify_helper (this=0xa193ac0, receiver=0xa367650, e=0xb400c0f0) at kernel/qapplication.cpp:4531
#40 0x015ef30d in QApplication::notify (this=0xb400c0f0, receiver=0xa367650, e=0xb400c0f0) at kernel/qapplication.cpp:4288
#41 0x09d0fb21 in KApplication::notify (this=0xbfd417d0, receiver=0xa367650, event=0xb400c0f0) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x042df97e in QCoreApplication::notifyInternal (this=0xbfd417d0, receiver=0xa367650, event=0xb400c0f0) at kernel/qcoreapplication.cpp:876
#43 0x042e3ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa14fb18) at kernel/qcoreapplication.cpp:1500
#45 0x042e3e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#46 0x04312494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=0xa193758) at kernel/qeventdispatcher_glib.cpp:279
#48 0x02754cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x027550e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x027551c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x04312887 in QEventDispatcherGlib::processEvents (this=0xa150890, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x016a2aaa in QGuiEventDispatcherGlib::processEvents (this=0xa150890, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x042e40a3 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1063
#54 0x07b9bfd6 in Digikam::SplashScreen::message (this=0xa3d9b18, message=...) at /build/buildd/digikam-2.5.0/core/libs/widgets/common/splashscreen.cpp:136
#55 0x07c47bf9 in Digikam::ImagePluginLoader::loadPluginsFromList (this=0xabe7620, pluginsToLoad=...) at /build/buildd/digikam-2.5.0/core/utilities/imageeditor/canvas/imagepluginloader.cpp:167
#56 0x07c49155 in Digikam::ImagePluginLoader::ImagePluginLoader (this=0xabe7620, parent=0xa36ec30, splash=0xa3d9b18) at /build/buildd/digikam-2.5.0/core/utilities/imageeditor/canvas/imagepluginloader.cpp:147
#57 0x081ad0db in Digikam::DigikamApp::loadPlugins (this=0xa36ec30) at /build/buildd/digikam-2.5.0/core/digikam/main/digikamapp.cpp:2704
#58 0x081c2ff8 in Digikam::DigikamApp::DigikamApp (this=0xa36ec30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/main/digikamapp.cpp:279
#59 0x080b6762 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:188

Reported using DrKonqi
Comment 1 Johannes Wienke 2012-04-21 21:36:29 UTC
This is actually a bug in solid.
Comment 2 Alex Fiestas 2013-03-03 18:29:37 UTC
I'm almost 100% sure I fixed this a while ago, can you test if it happens with 4.10?

If it does please, reopen the bug!

Thanks for reporting and sorry for the delay on replying.