Bug 315914 - The facebook tool crashes everytime on initialization
Summary: The facebook tool crashes everytime on initialization
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 15:56 UTC by Thiago Jung Bauermann
Modified: 2018-02-04 11:20 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 Thiago Jung Bauermann 2013-02-28 15:56:04 UTC
When clicking on the "Send to" button in KSnapshot, the program crashes, always with the same backtrace.

The KDE Crash Handler thinks the backtrace is of poor quality and didn't let me submit it, but I think it's good enough for this bug (plus, I don't think there's a debug package for the Facebook plugin):

Application: KSnapshot (ksnapshot), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb76f8740 (LWP 13361))]

Thread 2 (Thread 0xb617cb40 (LWP 13362)):
#0  0xb772d424 in __kernel_vsyscall ()
#1  0x4a5af9db in read () at ../sysdeps/unix/syscall-template.S:82
#2  0x4a7dc6ae in read (__nbytes=16, __buf=0xb617c07c, __fd=<optimized out>) at /usr/include/i386-linux-gnu/bits/unistd.h:45
#3  g_wakeup_acknowledge (wakeup=0x9294860) at /build/buildd/glib2.0-2.32.3/./glib/gwakeup.c:212
#4  0x4a79dbd2 in g_main_context_check (context=0xb58004e0, max_priority=2147483647, fds=0xb5802278, n_fds=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2980
#5  0x4a79e042 in g_main_context_iterate (dispatch=1, block=1249557072, context=0xb58004e0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#6  g_main_context_iterate (context=0xb58004e0, block=1249557072, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#7  0x4a79e201 in g_main_context_iteration (context=0xb58004e0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#8  0x41541327 in QEventDispatcherGlib::processEvents (this=0xb5800468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#9  0x4150cbed in QEventLoop::processEvents (this=0xb617c240, flags=...) at kernel/qeventloop.cpp:149
#10 0x4150ce89 in QEventLoop::exec (this=0xb617c240, flags=...) at kernel/qeventloop.cpp:204
#11 0x413f5f5c in QThread::exec (this=0x9507638) at thread/qthread.cpp:501
#12 0x414ea23d in QInotifyFileSystemWatcherEngine::run (this=0x9507638) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x413f93f0 in QThreadPrivate::start (arg=0x9507638) at thread/qthread_unix.cpp:307
#14 0x4a5a8d4c in start_thread (arg=0xb617cb40) at pthread_create.c:308
#15 0x4a4ddd3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb76f8740 (LWP 13361)):
[KCrash Handler]
#7  QString::operator= (this=0x61636f7c, other=...) at tools/qstring.cpp:1411
#8  0x417933c1 in KIPI::Plugin::setUiBaseName(char const*) () from /usr/lib/libkipi.so.10
#9  0xb5956d1b in ?? () from /usr/lib/kde4/kipiplugin_facebook.so
#10 0xb5957a4a in QObject* KPluginFactory::createInstance<KIPIFacebookPlugin::Plugin_Facebook, QObject>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kipiplugin_facebook.so
#11 0x41df36ee in KPluginFactory::create (this=0x9531e78, iface=0x4f846860 "KIPI::Plugin", parentWidget=0x0, parent=0x93698d8, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#12 0x4f83d7d9 in KIPI::PluginLoader::Info::plugin() const () from /usr/lib/libkipi.so.8
#13 0x0805c7a8 in _start ()


Reproducible: Always

Steps to Reproduce:
1. Start up KSnapshot.
2. Click on the "Send to" button.
3. Profit!
Actual Results:  
KSnapshot crashes.

Expected Results:  
A menu with the export options should be shown.

Ubuntu LDS 12.04 with KDE 4.10

kipi-plugins: 4:3.0.0-0ubuntu1~ubuntu12.04.2~ppa1
kipi-plugins-common: 4:3.0.0-0ubuntu1~ubuntu12.04.2~ppa1
libkipi-data: 4:4.10.0-0ubuntu1~ubuntu12.04.2~ppa1
libkipi10: 4:4.10.0-0ubuntu1~ubuntu12.04.2~ppa1
libkipi8: 4:4.8.5-0ubuntu0.1
Comment 1 caulier.gilles 2013-02-28 16:19:22 UTC

*** This bug has been marked as a duplicate of bug 306693 ***
Comment 2 Jekyll Wu 2013-02-28 16:27:24 UTC
> libkipi10: 4:4.10.0-0ubuntu1~ubuntu12.04.2~ppa1
> libkipi8: 4:4.8.5-0ubuntu0.1

Remove the one for 4.8.5
Comment 3 caulier.gilles 2018-02-04 11:19:45 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core