Bug 350404 - digiKam crashes at startup
Summary: digiKam crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 0.8.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-20 10:41 UTC by Andrea Malfagia
Modified: 2018-08-21 08:58 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Malfagia 2015-07-20 10:41:00 UTC
Application: digikam (4.6.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
digikam crashes during initialization in KDE 4.14.9 running on openSUSE 13.2, whatever way is launched: whether inserting a camera, or running directly from desktop launcher, or running from terminal window.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa392e75880 (LWP 3447))]

Thread 6 (Thread 0x7fa372037700 (LWP 3448)):
#0  0x00007fa38b952ffd in recvmsg () at /lib64/libc.so.6
#1  0x00007fa392ee8fb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007fa3729b62eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007fa3898a00a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fa38b95208d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fa36784f700 (LWP 3449)):
#0  0x00007fa3898a405f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa38c431c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e42ee in  ()
#3  0x00007fa38c43179f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fa3898a00a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fa38b95208d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fa36704e700 (LWP 3450)):
#0  0x00007fa38b945d2d in read () at /lib64/libc.so.6
#1  0x00007fa37fc41f45 in  () at /usr/lib64/tls/libnvidia-tls.so.346.72
#2  0x00007fa383a16750 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fa3839d5714 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fa3839d5b7b in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fa3839d5cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007fa38c5600de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#7  0x00007fa38c531e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#8  0x00007fa38c532165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#9  0x00007fa38c42f0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#10 0x00007fa38c513783 in  () at /usr/lib64/libQtCore.so.4
#11 0x00007fa38c43179f in  () at /usr/lib64/libQtCore.so.4
#12 0x00007fa3898a00a4 in start_thread () at /lib64/libpthread.so.0
#13 0x00007fa38b95208d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fa36684d700 (LWP 3454)):
#0  0x00007fa3898a405f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fa38c431c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fa390c2f3fa in  () at /usr/lib64/libdigikamcore.so.4.6.0
#3  0x00007fa38c43179f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fa3898a00a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fa38b95208d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fa365345700 (LWP 3455)):
#0  0x00007ffec22d7b6f in  ()
#1  0x0000000000000000 in  ()

Thread 1 (Thread 0x7fa392e75880 (LWP 3447)):
[KCrash Handler]
#5  0x00007fa38b8fcb8a in __strcmp_sse2_unaligned () at /lib64/libc.so.6
#6  0x00007fa3542d7b2e in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fa3547d8077 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fa392d2b92a in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007fa392d2ba13 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007fa392d2fb48 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007fa392d2b7e4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007fa392d2f33b in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007fa3823fd02b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007fa392d2b7e4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007fa3823fd5dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007fa3823fd0c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007fa3573dc6af in  () at /usr/lib64/libvlccore.so.7
#18 0x00007fa3573c5e7d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007fa3573c6177 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007fa3573c63e9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007fa3573c6654 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007fa3573c6ba7 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007fa35735e51d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007fa35712f623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007fa357661ec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007fa357647728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007fa3576481eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007fa38c517641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007fa357b5ef8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007fa357b5f773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007fa392646c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007fa392647317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007fa3926478e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007fa39263f9b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007fa39263d896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007fa39266d4b0 in  () at /usr/lib64/libphonon.so.4
#37 0x00007fa39266d6c3 in Phonon::VideoPlayer::mediaObject() const () at /usr/lib64/libphonon.so.4
#38 0x0000000000686d10 in  ()
#39 0x0000000000679010 in  ()
#40 0x0000000000680853 in  ()
#41 0x000000000057e16a in  ()
#42 0x0000000000598b68 in  ()
#43 0x00000000004a0f2a in  ()
#44 0x00007fa38b88eb05 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004a3b4f in _start ()

Reported using DrKonqi
Comment 1 Andrea Malfagia 2015-07-20 12:40:54 UTC
I have just noticed that my submission was reshaped as a Phonon bug. So is this a known problem? Should I add details of my Phonon configuration?

Regards,
A.M.
Comment 2 Myriam Schweingruber 2015-07-20 12:42:49 UTC
Yes, please. Also, you need to install the debugging symbols for phonon and the phonon-backend-vlc, else your backtrace is not really helpful. Please see also https://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 Andrea Malfagia 2015-07-20 13:22:53 UTC
Uhm, as yet I did not understand from which repository I should download the debugging symbols for the two required packages, could You please be more specific?
Meanwhile please find below the output of "sudo zypper se -is phonon":

S | Name                    | Type      | Version    | Arch   | Repository              
--+--------------------------+-----------+-------------+--------+-------------------------
i | libphonon4               | package | 4.8.1-2.4.1 | x86_64 | openSUSE-13.2 Update-Oss
i | libphonon4qt5            | package | 4.8.3-2.8.9 | x86_64 | openSUSE-13.2 Update-Oss
i | phonon-backend-gstreamer | package | 4.8.0-2.4.2 | x86_64 | openSUSE-13.2 Update-Oss
i | phonon-backend-vlc       | package | 0.8.0-2.4.1 | x86_64 | openSUSE-13.2 Update-Oss
i | phonon4qt5-backend-vlc   | package | 0.8.2-2.8.1 | x86_64 | openSUSE-13.2 Update-Oss
i | python-kde4-phonon       | package | 4.14.3-8.2  | x86_64 | openSUSE-13.2 Update-Oss
Comment 4 Myriam Schweingruber 2015-07-20 13:45:12 UTC
(In reply to Andrea Malfagia from comment #3)
> Uhm, as yet I did not understand from which repository I should download the
> debugging symbols for the two required packages, could You please be more
> specific?

those should be in the regular repositories where the other packages are, did you check the link I gave you? It has a link to your distribution details about debugging symbols :)
Comment 5 Andrea Malfagia 2015-07-20 14:00:21 UTC
Well, actually, when the guide you linked comes to referencing the KDE repositories, it points to an obsolete page. By googling I arrived here:

https ://en.opensuse.org/SDB:KDE_repositories

which looks like a rather messy page. Anyway there I found a link to what is called sort of "KDE Extras for openSUSE 13.2":
http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/

However, in the packages listed here I see nothing like "phonon-debuginfo" or "phonon-backend-vlc-debuginfo" :-/
Comment 6 Myriam Schweingruber 2015-07-20 14:17:16 UTC
(In reply to Andrea Malfagia from comment #5)
> Well, actually, when the guide you linked comes to referencing the KDE
> repositories, it points to an obsolete page. 

I just corrected that link, but the second link would have pointed you to the correct page anyway.
> 
> which looks like a rather messy page. Anyway there I found a link to what is
> called sort of "KDE Extras for openSUSE 13.2":
> http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/
> 
> However, in the packages listed here I see nothing like "phonon-debuginfo"
> or "phonon-backend-vlc-debuginfo" :-/

Did you check https://en.opensuse.org/openSUSE:Bugreport_application_crashed#Install_-debuginfo_Packages ? That can all be found from the second link in our techbase article. If the openSUSE pages are incomplete, please report this to the distribution, that is out of my reach.
Comment 7 Andrea Malfagia 2015-07-21 21:41:31 UTC
Eventually I got the debug packages following your latest link, thank you! But now things are getting weird: while comparing the debug packages with the versions of the installed ones, at a certain stage I somehow had to uninstall phonon-backend-vlc, and as a consequence digikam started to work! I mean that, once crashing, once locking up, it eventually went on to apparently full functionality, were it not for crashing upon exit, which I suppose is now an entirely different problem o.O
Comment 8 Myriam Schweingruber 2015-07-21 22:18:00 UTC
Thank you for the fast feedback. Closing as invalid, as the bug report is of no more use. Please report the crash on exit with a backtrace, I guess it is probably digikam related, not to the phonon backend, then.
Comment 9 Andrea Malfagia 2015-07-24 18:01:23 UTC
Sorry for replying late, but unfortunately I cannot provide a significant backtrace, at least at present: when the problem occurs, the reporting windows shows the messages "Application: digiKam (digikam), signal: Aborted" and after further inspection it adds that there is no useful information available (I  don't remember the exact phrasing). I will try to be more precise after further investigation.
Comment 10 caulier.gilles 2018-08-21 08:58:04 UTC
Not reproducible since digiKam use QtAv framework + ffmpeg to handle video files.