Bug 306881 - Crashed when attempting to open Export tools
Summary: Crashed when attempting to open Export tools
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-16 11:41 UTC by Alan Prescott
Modified: 2022-02-05 22:35 UTC (History)
1 user (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 Alan Prescott 2012-09-16 11:41:34 UTC
Application: gwenview (2.9.1)
KDE Platform Version: 4.9.1 "release 561"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened a folder in Gwenview
Clicked on Plugins menu entry - Crash

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0xb43da710 (LWP 12513))]

Thread 3 (Thread 0xb3211b70 (LWP 12515)):
#0  0xb5ae5828 in pthread_mutex_unlock () from /lib/libc.so.6
#1  0xb4f72deb in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#2  0xb4f744f6 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb4f7481a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb7151b47 in QEventDispatcherGlib::processEvents (this=0xb2900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb711d64d in QEventLoop::processEvents (this=0xb32112a0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb711d8e9 in QEventLoop::exec (this=0xb32112a0, flags=...) at kernel/qeventloop.cpp:204
#7  0xb7006dac in QThread::exec (this=0x82a3f78) at thread/qthread.cpp:501
#8  0xb70fab6d in QInotifyFileSystemWatcherEngine::run (this=0x82a3f78) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb700a290 in QThreadPrivate::start (arg=0x82a3f78) at thread/qthread_unix.cpp:307
#10 0xb5494a7d in start_thread () from /lib/libpthread.so.0
#11 0xb5ad7abe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb12feb70 (LWP 12521)):
#0  0xb5498782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb5ae55cc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb700a800 in wait (time=4294967295, this=0x81f51b0) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x81d7bc8, mutex=0x81d7bc4, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0xb7644a1b in Gwenview::SemanticInfoThread::run (this=0x81d7bb8) at /usr/src/debug/gwenview-4.9.1/lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#5  0xb700a290 in QThreadPrivate::start (arg=0x81d7bb8) at thread/qthread_unix.cpp:307
#6  0xb5494a7d in start_thread () from /lib/libpthread.so.0
#7  0xb5ad7abe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb43da710 (LWP 12513)):
[KCrash Handler]
#6  QString::operator= (this=0x3465647b, other=...) at tools/qstring.cpp:1411
#7  0xb0aeee61 in KIPI::Plugin::setUiBaseName(char const*) () from /usr/lib/libkipi.so.10
#8  0xb15a481b in KIPIFacebookPlugin::Plugin_Facebook::Plugin_Facebook (this=0x812db40, parent=0x850fe90) at /usr/src/debug/digikam-software-compilation/extra/kipi-plugins/facebook/plugin_facebook.cpp:72
#9  0xb15a554a in KPluginFactory::createInstance<KIPIFacebookPlugin::Plugin_Facebook, QObject> (parentWidget=0x0, parent=0x850fe90, args=...) at /usr/include/kpluginfactory.h:477
#10 0xb6987286 in KPluginFactory::create (this=0x8600d80, iface=0xb6f96580 "KIPI::Plugin", parentWidget=0x0, parent=0x850fe90, args=..., keyword=...) at /usr/src/debug/kdelibs-4.9.1/kdecore/util/kpluginfactory.cpp:203
#11 0xb6f88389 in create<KIPI::Plugin> (parent=0x850fe90, this=<optimized out>, args=..., keyword=..., parentWidget=0x0) at /usr/include/kpluginfactory.h:531
#12 createInstance<KIPI::Plugin> (error=0xbf9c1bd8, args=..., parent=0x850fe90, parentWidget=0x0, this=0x8870970) at /usr/include/kservice.h:565
#13 createInstance<KIPI::Plugin> (error=0xbf9c1bd8, args=..., parent=0x850fe90, this=0x8870970) at /usr/include/kservice.h:542
#14 KIPI::PluginLoader::Info::plugin (this=0x8677490) at /usr/src/debug/libkipi-4.9.1/libkipi/pluginloader.cpp:133
#15 0x080ad2b6 in Gwenview::KIPIInterface::loadOnePlugin (this=0x850fe90) at /usr/src/debug/gwenview-4.9.1/app/kipiinterface.cpp:267
#16 0x080aea3e in loadPlugins (this=0x850fe90) at /usr/src/debug/gwenview-4.9.1/app/kipiinterface.cpp:256
#17 Gwenview::KIPIInterface::loadPlugins (this=0x850fe90) at /usr/src/debug/gwenview-4.9.1/app/kipiinterface.cpp:239
#18 0x080aecdd in Gwenview::KIPIInterface::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/gwenview-4.9.1/build/app/kipiinterface.moc:60
#19 0xb713569f in QMetaObject::activate (sender=0x847b978, m=0xb6745c14, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3556
#20 0xb62824f5 in QMenu::aboutToShow (this=0x847b978) at .moc/release-shared/moc_qmenu.cpp:165
#21 0xb6286210 in QMenu::popup (this=0x847b978, p=..., atAction=0x0) at widgets/qmenu.cpp:1832
#22 0xb62925b6 in QMenuBarPrivate::popupAction (this=0x8449d40, action=0x848b1f8, activateFirst=false) at widgets/qmenubar.cpp:384
#23 0xb629283d in QMenuBarPrivate::setCurrentAction (this=0x8449d40, action=0x848b1f8, popup=true, activateFirst=false) at widgets/qmenubar.cpp:421
#24 0xb6292e2c in QMenuBar::mousePressEvent (this=0x821cd50, e=0xbf9c2824) at widgets/qmenubar.cpp:1156
#25 0xb5e2280b in QWidget::event (this=0x821cd50, event=0xbf9c2824) at kernel/qwidget.cpp:8367
#26 0xb62934fc in QMenuBar::event (this=0x821cd50, e=0xbf9c2824) at widgets/qmenubar.cpp:1607
#27 0xb5dc8404 in notify_helper (e=0xbf9c2824, receiver=0x821cd50, this=0x80e8578) at kernel/qapplication.cpp:4551
#28 QApplicationPrivate::notify_helper (this=0x80e8578, receiver=0x821cd50, e=0xbf9c2824) at kernel/qapplication.cpp:4523
#29 0xb5dce16c in QApplication::notify (this=0x80e8578, receiver=0x821cd50, e=0xbf9c2824) at kernel/qapplication.cpp:4094
#30 0xb6c3d3a1 in KApplication::notify (this=0xbf9c3098, receiver=0x821cd50, event=0xbf9c2824) at /usr/src/debug/kdelibs-4.9.1/kdeui/kernel/kapplication.cpp:311
#31 0xb711edce in QCoreApplication::notifyInternal (this=0xbf9c3098, receiver=0x821cd50, event=0xbf9c2824) at kernel/qcoreapplication.cpp:915
#32 0xb5dc93c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=0x821cd50, event=0xbf9c2824, alienWidget=0x0, nativeWidget=0x821cd50, buttonDown=0xb675bcb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#34 0xb5e52584 in QETWidget::translateMouseEvent (this=0x821cd50, event=0xbf9c2cdc) at kernel/qapplication_x11.cpp:4513
#35 0xb5e5114e in QApplication::x11ProcessEvent (this=0xbf9c3098, event=0xbf9c2cdc) at kernel/qapplication_x11.cpp:3636
#36 0xb5e7c80c in x11EventSourceDispatch (s=0x80ea970, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0xb4f73e4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb4f74580 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0xb4f7481a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb7151ae7 in QEventDispatcherGlib::processEvents (this=0x80cc388, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0xb5e7c40a in QGuiEventDispatcherGlib::processEvents (this=0x80cc388, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb711d64d in QEventLoop::processEvents (this=0xbf9c2fe4, flags=...) at kernel/qeventloop.cpp:149
#43 0xb711d8e9 in QEventLoop::exec (this=0xbf9c2fe4, flags=...) at kernel/qeventloop.cpp:204
#44 0xb7122e2a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0xb5dc62a4 in QApplication::exec () at kernel/qapplication.cpp:3812
#46 0x0806909d in main (argc=) at /usr/src/debug/gwenview-4.9.1/app/main.cpp:142

Reported using DrKonqi
Comment 1 caulier.gilles 2012-09-16 16:31:19 UTC
It sound like another binary compatibilty issue with libkipi...

Which libkipi version you use ? Which kipi-plugins version you use ?

Gilles Caulier
Comment 2 Alan Prescott 2012-09-17 15:31:49 UTC
> rpm -qa | grep -i libkipi
libkipi8-4.8.5-42.1.i586
libkipi10-4.9.50-3.1.i586
libkipi9-debuginfo-4.9.1-44.2.i586
libkipi9-4.9.1-44.2.i586

> rpm -qa | grep -i kipi-plugins
kipi-plugins-2.9.0+git20120909-3.1.i586
kipi-plugins-acquireimage-2.9.0+git20120909-3.1.i586
kipi-plugins-debuginfo-2.9.0+git20120913-4.1.i586
kipi-plugins-lang-2.9.0+git20120909-3.1.noarch
kipi-plugins-geolocation-2.9.0+git20120909-3.1.i586

Don't know why I've got 3 different versions of libkipi installed but ...
> rpm -q --whatrequires libkipi8
no package requires libkipi8
> rpm -q --whatrequires libkipi9
gwenview-4.9.1-53.2.i586
> rpm -q --whatrequires libkipi10
no package requires libkipi10

YaST will allow libkipi8 to be uninstalled but libkipi10 is required by kipi-plugins-acquireimage-2.9.0+git20120909-3.1.i586
I have uninstalled libkipi8 but still get the crash
Comment 3 caulier.gilles 2012-09-17 15:44:14 UTC
You mix different libkipi version .This is the problem. packages must be compiled with same version (Gwenview and kipi-plugins)

Ask to your distro packagers to fix the problem...

Gilles Caulier
Comment 4 caulier.gilles 2018-02-04 11:49:49 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core