Bug 316126 - digiKam crashed when choosing dlna export
Summary: digiKam crashed when choosing dlna export
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MediaServer (show other bugs)
Version: 3.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-04 17:11 UTC by José Juan
Modified: 2017-10-01 13:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Juan 2013-03-04 17:11:24 UTC
Application: digikam (3.0.0-rc)
KDE Platform Version: 4.10.00 "release 550"
Qt Version: 4.8.4
Operating System: Linux 3.4.28-2.20-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
I wast just deciding what protocol to use to export using DLNA, (dlna or HUPnP), went back and forth in the config-menu without starting the export, and then it crashed.

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

Thread 6 (Thread 0x7f5503398700 (LWP 6046)):
#0  0x00007f551b5f98f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f551f0f85eb in wait (time=18446744073709551615, this=0x1779850) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1779748, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d4858 in ?? ()
#4  0x00007f551f0f808c in QThreadPrivate::start (arg=0x17794e0) at thread/qthread_unix.cpp:338
#5  0x00007f5512909764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007f551b5f5e0e in start_thread () from /lib64/libpthread.so.0
#7  0x00007f551d66c2cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5502b97700 (LWP 6047)):
#0  0x00007f551d66414f in poll () from /lib64/libc.so.6
#1  0x00007f551568d684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f551568d7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f551f222136 in QEventDispatcherGlib::processEvents (this=0x7f54f40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f551f1f294f in QEventLoop::processEvents (this=this@entry=0x7f5502b96c90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f551f1f2bd8 in QEventLoop::exec (this=0x7f5502b96c90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f551f0f50b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f551f1d30bf in QInotifyFileSystemWatcherEngine::run (this=0x1780c50) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f551f0f808c in QThreadPrivate::start (arg=0x1780c50) at thread/qthread_unix.cpp:338
#9  0x00007f5512909764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f551b5f5e0e in start_thread () from /lib64/libpthread.so.0
#11 0x00007f551d66c2cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5502396700 (LWP 6049)):
#0  0x00007f551b5f98f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f551f0f85eb in wait (time=18446744073709551615, this=0x19515a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x18ba168, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5521547839 in ?? () from /usr/lib64/libdigikamcore.so.3
#4  0x00007f551f0f808c in QThreadPrivate::start (arg=0x18ba150) at thread/qthread_unix.cpp:338
#5  0x00007f5512909764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007f551b5f5e0e in start_thread () from /lib64/libpthread.so.0
#7  0x00007f551d66c2cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f54f1308700 (LWP 6054)):
#0  0x00007f551b5f98f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f54f3805f6f in ?? () from /usr/lib64/libvlccore.so.5
#2  0x00007f5512909764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#3  0x00007f551b5f5e0e in start_thread () from /lib64/libpthread.so.0
#4  0x00007f551d66c2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5459367700 (LWP 6100)):
#0  0x00007f551b5f98f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f551f0f85eb in wait (time=18446744073709551615, this=0x625b140) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x6252f08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f54dc5d1856 in KIPIPlugins::KPRawThumbThread::run (this=0x6253390) at /usr/src/debug/digikam-3.0.0-rc/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007f551f0f808c in QThreadPrivate::start (arg=0x6253390) at thread/qthread_unix.cpp:338
#5  0x00007f5512909764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007f551b5f5e0e in start_thread () from /lib64/libpthread.so.0
#7  0x00007f551d66c2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5523c9e800 (LWP 6045)):
[KCrash Handler]
#6  QString::operator= (this=0x1c0000004e, other=...) at tools/qstring.cpp:1411
#7  0x00007f5491a70536 in KIPIDLNAExportPlugin::FinalPage::setMinidlnaBinaryPath (this=<optimized out>, path=...) at /usr/src/debug/digikam-3.0.0-rc/extra/kipi-plugins/dlnaexport/finalpage.cpp:200
#8  0x00007f5491a72ab3 in KIPIDLNAExportPlugin::Wizard::next (this=0x6175450) at /usr/src/debug/digikam-3.0.0-rc/extra/kipi-plugins/dlnaexport/wizard.cpp:159
#9  0x00007f551f2090ff in QMetaObject::activate (sender=0x6175450, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3548
#10 0x00007f551fbb9988 in KDialog::slotButtonClicked (this=0x6175450, button=8192) at /usr/src/debug/kdelibs-4.10.0/kdeui/dialogs/kdialog.cpp:897
#11 0x00007f551fbb9ea4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.10.0/build/kdeui/kdialog.moc:167
#12 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.10.0/build/kdeui/kdialog.moc:127
#13 0x00007f551f2090ff in QMetaObject::activate (sender=0x618a9c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffce4397f0) at kernel/qobject.cpp:3548
#14 0x00007f551f20f19e in QSignalMapper::mapped (this=this@entry=0x618a9c0, _t1=8192) at .moc/release-shared/moc_qsignalmapper.cpp:115
#15 0x00007f551f20f3a5 in QSignalMapper::map (this=0x618a9c0, sender=0x576a340) at kernel/qsignalmapper.cpp:266
#16 0x00007f551f2090ff in QMetaObject::activate (sender=0x576a340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffce439980) at kernel/qobject.cpp:3548
#17 0x00007f551e985802 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#18 0x00007f551e6da09e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x61a94a0) at widgets/qabstractbutton.cpp:548
#19 0x00007f551e6da8d0 in QAbstractButtonPrivate::click (this=this@entry=0x61a94a0) at widgets/qabstractbutton.cpp:541
#20 0x00007f551e6dab3c in QAbstractButton::mouseReleaseEvent (this=0x576a340, e=0x7fffce43a220) at widgets/qabstractbutton.cpp:1123
#21 0x00007f551e370129 in QWidget::event (this=0x576a340, event=0x7fffce43a220) at kernel/qwidget.cpp:8375
#22 0x00007f551e32085c in QApplicationPrivate::notify_helper (this=this@entry=0x157e840, receiver=receiver@entry=0x576a340, e=e@entry=0x7fffce43a220) at kernel/qapplication.cpp:4562
#23 0x00007f551e32553b in QApplication::notify (this=<optimized out>, receiver=0x576a340, e=0x7fffce43a220) at kernel/qapplication.cpp:4105
#24 0x00007f551fc58a96 in KApplication::notify (this=0x7fffce43b370, receiver=0x576a340, event=0x7fffce43a220) at /usr/src/debug/kdelibs-4.10.0/kdeui/kernel/kapplication.cpp:311
#25 0x00007f551f1f3bfe in QCoreApplication::notifyInternal (this=0x7fffce43b370, receiver=0x576a340, event=0x7fffce43a220) at kernel/qcoreapplication.cpp:946
#26 0x00007f551e32169b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x576a340, event=0x7fffce43a220, alienWidget=0x576a340, nativeWidget=0x6175450, buttonDown=0x7f551edf5248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#28 0x00007f551e39be54 in QETWidget::translateMouseEvent (this=this@entry=0x6175450, event=event@entry=0x7fffce43a990) at kernel/qapplication_x11.cpp:4527
#29 0x00007f551e39abe1 in QApplication::x11ProcessEvent (this=0x7fffce43b370, event=0x7fffce43a990) at kernel/qapplication_x11.cpp:3650
#30 0x00007f551e3c0f72 in x11EventSourceDispatch (s=0x157c7f0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f551568d3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f551568d6e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f551568d7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f551f222136 in QEventDispatcherGlib::processEvents (this=0x150f8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#35 0x00007f551e3c0bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f551f1f294f in QEventLoop::processEvents (this=this@entry=0x7fffce43ad60, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f551f1f2bd8 in QEventLoop::exec (this=0x7fffce43ad60, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f551f1f7878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x0000000000498adb in ?? ()
#40 0x00007f551d5a9455 in __libc_start_main () from /lib64/libc.so.6
#41 0x000000000049a99d in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2013-03-04 17:49:54 UTC
Can you try with official kipi-plugins 3.0.0 release (not RC)

Gilles Caulier
Comment 2 caulier.gilles 2013-03-04 17:54:48 UTC
Please take a look here 

https://bugs.kde.org/show_bug.cgi?id=315580

and check if it's a duplicate...

Gilles Caulier
Comment 3 José Juan 2013-03-04 21:48:54 UTC
Hi Gilles:

Yes. I think it is a duplicate. I was just playing around with the options
and hadn't made up my mind about which to choose when it crashed.

Thank you for your quick interest.

José


2013/3/4 Gilles Caulier <caulier.gilles@gmail.com>

> https://bugs.kde.org/show_bug.cgi?id=316126
>
> --- Comment #2 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Please take a look here
>
> https://bugs.kde.org/show_bug.cgi?id=315580
>
> and check if it's a duplicate...
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 4 caulier.gilles 2013-03-04 22:00:16 UTC

*** This bug has been marked as a duplicate of bug 315580 ***
Comment 5 Smit Mehta 2013-03-05 18:00:18 UTC
Hi Jose

Did you select the correct minidlna binary? The crash is due to that. It is somehow accepting wrong path as well.

@Gilles : This looks like a bug in KPBinarySearch. I will go through it. This is not a duplicate of the 315580. I am reopening it.

Smit
Comment 6 José Juan 2013-03-05 23:31:40 UTC
Hi Smit:

The path is the one in which minidlna is installed in a standard
installation for OpenSUSE 12.2.

By the way, I've tried to repeat the crash today. I have played around for
quite a long time; even starting the service, and going back without
stopping it, changing from minidlna to HUB... and nothing has happened (I
mean, no crash). This is strange, isn't it?

I wouldn't like to be making you loose your time with this.

José


2013/3/5 Smit Mehta <smit.meh@gmail.com>

> https://bugs.kde.org/show_bug.cgi?id=316126
>
> Smit Mehta <smit.meh@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>                  CC|                            |smit.meh@gmail.com
>          Resolution|DUPLICATE                   |---
>      Ever confirmed|0                           |1
>
> --- Comment #5 from Smit Mehta <smit.meh@gmail.com> ---
> Hi Jose
>
> Did you select the correct minidlna binary? The crash is due to that. It is
> somehow accepting wrong path as well.
>
> @Gilles : This looks like a bug in KPBinarySearch. I will go through it.
> This
> is not a duplicate of the 315580. I am reopening it.
>
> Smit
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 7 Smit Mehta 2013-03-06 04:47:29 UTC
Hi Jose

Thanks for the info. Is the sharing working fine?
Anyways, there are still some issues to be fixed. Hopefully after fixing them, we wont get this erratic crashes.

Smit
Comment 8 Smit Mehta 2013-03-06 19:04:50 UTC
Hi Jose

I have pushed various commits solving many things. I think I have covered all the cases. See if it still crashes.

Smit
Comment 9 caulier.gilles 2015-06-26 13:41:05 UTC
New Kipi-plugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 10 José Juan 2015-06-29 14:46:25 UTC
The problem seems to be fixed. I have not had any more crashes in late versions. Thank you for the great work!!!! Digikam rocks!
Comment 11 caulier.gilles 2017-10-01 13:56:51 UTC
The tool to export collection through DLNA media server was fully re-written with next 5.8.0. The server is now based on Platinum SDK (same used in Kodi media center), and work fine under Linux, Windows, and MacOS.

https://farm5.staticflickr.com/4346/36415316353_cb72c443e6_c.jpg