Bug 259748 - Xorg crashes when launching the "Export to flickr" tool
Summary: Xorg crashes when launching the "Export to flickr" tool
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 17:12 UTC by Thomas ESTEVE
Modified: 2018-09-03 14:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
/var/log/message from 21 dec 2010 (63.32 KB, text/plain)
2010-12-21 17:01 UTC, Thomas ESTEVE
Details
Xorg.0.log.old from the crashed session of 21 dec 2010 (48.33 KB, application/x-trash)
2010-12-21 17:02 UTC, Thomas ESTEVE
Details
Complete backtrace (39.86 KB, text/x-log)
2010-12-22 10:41 UTC, Thomas ESTEVE
Details
gdb bacttrace, registers, thread bt... with phonon-dbg added (39.89 KB, text/x-log)
2010-12-23 10:13 UTC, Thomas ESTEVE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas ESTEVE 2010-12-13 17:12:40 UTC
Version:           1.6.0
OS:                Linux

I'm a french user of Ubuntu 10.10
I've got some trouble with digikam and kipi-plugin
when I want to launch the "Export to Flickr" kipi plugin, my system crashes :

with digikam/kipi v1.2.0 only Xorg crashed, reporting a segfault 11 in his Xorg.0.log

I then installed digikam/kipi 1.6.0 with the PPA link given in the digikam download page. But now it is worse ! When launching the "export to flickr" plugin, the kernel completely crash, forcing me to manually reboot my computer.

The only thing I can give is this line from /var/log/messages

Dec 12 16:57:03 citrouille kernel: [21438.752065] gtg[1793]: segfault at db4cab74 ip 00007f9cb6c9ad19 sp 00007fff427ba980 error 4 in libgtk-x11-2.0.so.0.2200.0[7f9cb6c2b000+412000]



Reproducible: Always

Steps to Reproduce:
In my digikam french version :
- Launch Digikam
- Click on "Exportation"
- Click on "Exporter vers Flickr"


Actual Results:  
The system is now completely blocked

Expected Results:  
Show the user interface for selecting and exporting selected photos to flickr.
Comment 1 caulier.gilles 2010-12-13 18:59:25 UTC
Please provide a gdb backtrace to hack...

http://www.digikam.org/drupal/contrib

Gilles Caulier
Comment 2 Martin Klapetek 2010-12-13 19:14:10 UTC
Interesting, does it also crash with other export plugins as well? This most certainly shouldn't happen, nor with export plugins. Can you please provide some predecessing lines from your /var/log/messages? And also the X crash log if possible (located in /var/log/Xorg.0.log.old if you reboot back into gnome, if back to console only, don't use the .old)
Comment 3 Thomas ESTEVE 2010-12-21 17:01:43 UTC
Created attachment 55132 [details]
/var/log/message from 21 dec 2010
Comment 4 Thomas ESTEVE 2010-12-21 17:02:20 UTC
Created attachment 55133 [details]
Xorg.0.log.old from the crashed session of 21 dec 2010
Comment 5 Thomas ESTEVE 2010-12-21 17:03:36 UTC
Hi there,
here are more informations,
for an unknown reason, (maybe installing the -dbg package) 
now digikam/kipi 1.6.0 acts like the 1.2.0,
X crashed complaining about a segfault #11.

See attached files...

I'm currently trying to make a backtrace with gdb but as X is crashing, it's a bit hard.
Comment 6 Thomas ESTEVE 2010-12-22 10:41:42 UTC
Created attachment 55152 [details]
Complete backtrace

Okay, so this is a complete backtrace I've made this morning,
including full bt, registers as explained here : https://wiki.ubuntu.com/Backtrace
Hope it will help !

I've also tested other exportation tools, they seem to work fine, at least, launching them do not kills Xorg.

Thanks, Merry christmas/happy new year !
Comment 7 caulier.gilles 2010-12-22 11:09:45 UTC
Sound like a Xine plugin crash through phonon KDE component.

Gilles Caulier
Comment 8 caulier.gilles 2010-12-22 11:10:51 UTC
Sound like a Xine plugin crash through phonon KDE component.

Gilles Caulier
Comment 9 Thomas ESTEVE 2010-12-22 14:03:23 UTC
(In reply to comment #8)
> Sound like a Xine plugin crash through phonon KDE component.

I tried to reinstall
Comment 10 Thomas ESTEVE 2010-12-22 14:04:58 UTC
(In reply to comment #8)
> Sound like a Xine plugin crash through phonon KDE component.

I tried to reinstall the xine-phonon, but flickr export still kills Xorg.
Comment 11 Myriam Schweingruber 2010-12-22 21:28:15 UTC
Could you please also install phonon-dbg and specify which exact KDE version you are using? We would need a new backtrace with the phonon debugging symbols as well. Also please paste the backtrace in the comment instead of attaching it, else it is not searchable.
Comment 12 Thomas ESTEVE 2010-12-23 10:13:54 UTC
Created attachment 55182 [details]
gdb bacttrace, registers, thread bt... with phonon-dbg added

Job done !

I'm using Ubuntu 10.10 with GNOME and standard package (except the ppa for digikam 1.6)

ercete@citrouille:~$ kded4 --version
Qt : 4.7.0
Plate-forme de développement de KDE : 4.5.1 (KDE 4.5.1)
Démon de KDE : $Id: kded.cpp 1156841 2010-07-29 19:59:05Z zander $
Comment 13 Myriam Schweingruber 2010-12-24 11:20:50 UTC
Looks like this is the culprit:
Thread 13 (Thread 0x7fffc1414700 (LWP 2424)):
#0  0x00007fffc2448fe6 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_vo_out_xcbxv.so
#1  0x00007fffcc8220a3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fffccad7b46 in Phonon::Xine::VideoWidgetXT::~VideoWidgetXT (this=0x1a5dcb0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../xine/videowidget.cpp:241
#3  0x00007fffcca9563f in ~QExplicitlySharedDataPointer (this=<value optimized out>, data=0x0) at /usr/include/qt4/QtCore/qshareddata.h:159
#4  node_destruct (this=<value optimized out>, data=0x0) at /usr/include/qt4/QtCore/qlist.h:418
#5  QList<QExplicitlySharedDataPointer<Phonon::Xine::SharedData> >::free (this=<value optimized out>, data=0x0) at /usr/include/qt4/QtCore/qlist.h:741
#6  0x00007fffcca95a67 in ~QList (this=0x19d5610, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:716
#7  Phonon::Xine::KeepReference<0>::~KeepReference (this=0x19d5610, __in_chrg=<value optimized out>) at ../../xine/keepreference.h:45
#8  0x00007ffff10adc08 in QObject::event (this=0x19d5610, e=0x0) at kernel/qobject.cpp:1202
#9  0x00007ffff1cacfdc in QApplicationPrivate::notify_helper (this=0xb09750, receiver=0x19d5610, e=0x19ceff0) at kernel/qapplication.cpp:4396
#10 0x00007ffff1cb2aed in QApplication::notify (this=0x7fffffffd7c0, receiver=0x19d5610, e=0x19ceff0) at kernel/qapplication.cpp:4277
#11 0x00007ffff29ff156 in KApplication::notify (this=0x7fffffffd7c0, receiver=0x19d5610, event=0x19ceff0) at ../../kdeui/kernel/kapplication.cpp:310
#12 0x00007ffff109bcdc in QCoreApplication::notifyInternal (this=0x7fffffffd7c0, receiver=0x19d5610, event=0x19ceff0) at kernel/qcoreapplication.cpp:732
#13 0x00007ffff109ec22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1f1d200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1f1d200) at kernel/qcoreapplication.cpp:1373
#15 0x00007ffff10c8653 in sendPostedEvents (s=0x1f1e010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#16 postEventSourceDispatch (s=0x1f1e010) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007fffec66b342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007fffec66f2a8 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007fffec66f45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007ffff10c8193 in QEventDispatcherGlib::processEvents (this=0x1f1d640, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#21 0x00007ffff109aa02 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 or DW_OP_bit_piece.
) at kernel/qeventloop.cpp:149
#22 0x00007ffff109adec in QEventLoop::exec (this=0x7fffc1413d30, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
) at kernel/qeventloop.cpp:201
#23 0x00007ffff0fa52fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#24 0x00007fffcca972b0 in Phonon::Xine::XineThread::run (this=0x1f1d000) at ../../xine/xinethread.cpp:143
#25 0x00007ffff0fa827e in QThreadPrivate::start (arg=0x1f1d000) at thread/qthread_unix.cpp:266
#26 0x00007ffff0d1d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#27 0x00007fffef7f092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

This is a problem upstream with libxine, I strongly suggest you upgrade to latest stable KDE 4.5.4
Comment 14 Thomas ESTEVE 2011-01-17 10:16:16 UTC
Problem resolved :
I installed the kubuntu-desktop package in add to my standard ubuntu-desktop. Now digikam and importation dialog boxes works well without crashing Xorg.
I also saw a recent update of Xorg, maybe it is related too.
Anyway, maybe a simple package is missing in the Digikam package ?

Thanks to everyone !
( & happy new year !)
Comment 15 caulier.gilles 2018-09-03 14:00:48 UTC
Not reproducible since digiKam use QtAv + ffmpeg to handle video files.