Bug 296493 - ksecrets: 'make test' crashes on Start 1: KSecretsServiceClientAPITest
Summary: ksecrets: 'make test' crashes on Start 1: KSecretsServiceClientAPITest
Status: RESOLVED FIXED
Alias: None
Product: ksecretsservice
Classification: Frameworks and Libraries
Component: Daemon (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 12:52 UTC by Rex Dieter
Modified: 2012-07-28 17:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Dieter 2012-03-21 12:52:42 UTC
Application: ksecretsserviced (0.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.3.0-2.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
just built ksecrets-4.8.1, tried
$ make test
Running tests...
/usr/bin/ctest --force-new-ctest-process 
Test project /home/rdieter1/pkgs.fedoraproject.org/ksecrets/ksecrets-4.8.1/x86_64-redhat-linux-gnu
    Start 1: KSecretsServiceClientAPITest
(crash)

The crash can be reproduced every time.

-- Backtrace:
Application: KDE DaemonSecret Service (ksecretsserviced), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000384fe36285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x000000384fe37b9b in __GI_abort () at abort.c:91
#8  0x000000385802fd85 in _dbus_abort () at dbus-sysdeps.c:94
#9  0x0000003858026e31 in _dbus_warn_check_failed (format=0x3858036010 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:289
#10 0x0000003858019b2b in dbus_message_iter_append_basic (iter=0x7fffc9761b98, type=<optimized out>, value=0x7fffc9761b1c) at dbus-message.c:2514
#11 0x000000343b652c61 in append (arg=<optimized out>, this=0x7fffc9761b80) at qdbusmarshaller.cpp:79
#12 QDBusMarshaller::appendVariantInternal (this=0x7fffc9761b80, arg=...) at qdbusmarshaller.cpp:415
#13 0x000000343b653496 in append (arg=..., this=0x7fffc9761f20) at qdbusmarshaller.cpp:204
#14 QDBusMarshaller::appendVariantInternal (this=0x7fffc9761f20, arg=<optimized out>) at qdbusmarshaller.cpp:460
#15 0x000000343b62c9bb in QDBusMessagePrivate::toDBusMessage (message=<optimized out>, capabilities=<optimized out>, error=0x7fffc9762440) at qdbusmessage.cpp:189
#16 0x000000343b61bacb in QDBusConnectionPrivate::relaySignal (this=0xe9f1f0, obj=0x118a130, mo=<optimized out>, signalId=<optimized out>, args=...) at qdbusintegrator.cpp:1211
#17 0x0000003438f8cce1 in QMetaObject::activate (sender=0x10cc890, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc97626a0) at kernel/qobject.cpp:3547
#18 0x000000343b642bb4 in QDBusAdaptorConnector::relaySignal (this=<optimized out>, _t1=0x118a130, _t2=0x431c40, _t3=4, _t4=<optimized out>) at qdbusabstractadaptor.cpp:379
#19 0x000000343b642e00 in QDBusAdaptorConnector::relay (this=0x10cc890, senderObj=<optimized out>, lastSignalIdx=4, argv=0x7fffc97628e0) at qdbusabstractadaptor.cpp:308
#20 0x000000343b6431e5 in QDBusAdaptorConnector::qt_metacall (this=0x10cc890, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc97628e0) at qdbusabstractadaptor.cpp:366
#21 0x0000003438f8cedd in QMetaObject::activate (sender=0x116c230, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc97628e0) at kernel/qobject.cpp:3566
#22 0x0000000000427142 in orgFreedesktopSecret::PromptAdaptor::Completed (this=<optimized out>, _t1=false, _t2=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/x86_64-redhat-linux-gnu/ksecretsserviced/frontend/promptadaptor.moc:114
#23 0x000000000042717d in orgFreedesktopSecret::PromptAdaptor::slotCompleted (this=0x116c230, dismissed=<optimized out>, result=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/frontend/secret/adaptors/promptadaptor.cpp:47
#24 0x00000000004271f8 in orgFreedesktopSecret::PromptAdaptor::qt_static_metacall (_o=0x116c230, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/x86_64-redhat-linux-gnu/ksecretsserviced/frontend/promptadaptor.moc:65
#25 0x0000003438f8cce1 in QMetaObject::activate (sender=0x118a130, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9762aa0) at kernel/qobject.cpp:3547
#26 0x0000000000423452 in PromptBase::completed (this=<optimized out>, _t1=false, _t2=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/x86_64-redhat-linux-gnu/ksecretsserviced/frontend/prompt.moc:103
#27 0x000000000042354d in PromptBase::emitCompleted (this=0x118a130, dismissed=<optimized out>, result=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/frontend/secret/prompt.cpp:60
#28 0x00000000004238fe in SingleJobPrompt::jobResult (this=0x118a130, job=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/frontend/secret/prompt.cpp:120
#29 0x0000003438f8cce1 in QMetaObject::activate (sender=0x1195a40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9762db0) at kernel/qobject.cpp:3547
#30 0x000000343bb41fc2 in KJob::result (this=<optimized out>, _t1=0x1195a40) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:208
#31 0x000000343bb42000 in KJob::emitResult (this=0x1195a40) at /usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#32 0x0000000000415fc9 in KSecretChangeAuthenticationCollectionJob::slotNewPasswordFinished (this=0x1195a40, job=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/backend/ksecret/ksecretjobs.cpp:421
#33 0x0000003438f8cce1 in QMetaObject::activate (sender=0x1182b00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9762f50) at kernel/qobject.cpp:3547
#34 0x000000343bb41d8f in KJob::finished (this=<optimized out>, _t1=0x1182b00) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:187
#35 0x000000343bb41ff5 in KJob::emitResult (this=0x1182b00) at /usr/src/debug/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:316
#36 0x0000000000428149 in DialogNewPasswordJob::dialogFinished (this=0x1182b00, result=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/ui/dialoguimanager.cpp:92
#37 0x0000003438f8cce1 in QMetaObject::activate (sender=0x1185b40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc97630f0) at kernel/qobject.cpp:3547
#38 0x0000003439a8fe8e in QDialog::finished (this=<optimized out>, _t1=1) at .moc/release-shared/moc_qdialog.cpp:153
#39 0x0000003439a8ff2a in QDialog::done (this=0x1185b40, r=1) at dialogs/qdialog.cpp:595
#40 0x000000343c5ccf78 in KNewPasswordDialog::accept (this=0x1185b40) at /usr/src/debug/kdelibs-4.8.1/kdeui/dialogs/knewpassworddialog.cpp:272
#41 0x000000343c5a9b74 in KDialog::slotButtonClicked (this=0x1185b40, button=4) at /usr/src/debug/kdelibs-4.8.1/kdeui/dialogs/kdialog.cpp:885
#42 0x000000343c5a9ee4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:167
#43 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:127
#44 0x0000003438f8cce1 in QMetaObject::activate (sender=0x1155d60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc97632e0) at kernel/qobject.cpp:3547
#45 0x0000003438f945be in QSignalMapper::mapped (this=<optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#46 0x0000003438f94b5b in QSignalMapper::map (this=0x1155d60, sender=0x112efc0) at kernel/qsignalmapper.cpp:266
#47 0x0000003438f8cce1 in QMetaObject::activate (sender=0x112efc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9763470) at kernel/qobject.cpp:3547
#48 0x0000003439c4d202 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#49 0x000000343998f5be in QAbstractButtonPrivate::emitClicked (this=0x116bab0) at widgets/qabstractbutton.cpp:546
#50 0x000000343998fe68 in QAbstractButton::click (this=0x112efc0) at widgets/qabstractbutton.cpp:983
#51 0x000000343961a0ae in QWidget::event (this=0x112efc0, event=0x7fffc9763c80) at kernel/qwidget.cpp:8396
#52 0x00000034395c9994 in notify_helper (e=0x7fffc9763c80, receiver=0x112efc0, this=0xea70d0) at kernel/qapplication.cpp:4550
#53 QApplicationPrivate::notify_helper (this=0xea70d0, receiver=0x112efc0, e=0x7fffc9763c80) at kernel/qapplication.cpp:4522
#54 0x00000034395ceede in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffc9763c80) at kernel/qapplication.cpp:3991
#55 0x000000343c651d56 in KApplication::notify (this=0x7fffc9764be0, receiver=0x112efc0, event=0x7fffc9763c80) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#56 0x0000003438f7904c in QCoreApplication::notifyInternal (this=0x7fffc9764be0, receiver=0x112efc0, event=0x7fffc9763c80) at kernel/qcoreapplication.cpp:876
#57 0x0000003439668719 in QKeyMapper::sendKeyEvent (keyWidget=0x112efc0, grab=<optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#58 0x0000003439668b8b in QKeyMapperPrivate::translateKeyEvent (this=0xee26d0, keyWidget=0x112efc0, event=0x7fffc9764760, grab=false) at kernel/qkeymapper_x11.cpp:1836
#59 0x0000003439644ce4 in QApplication::x11ProcessEvent (this=0x7fffc9764be0, event=0x7fffc9764760) at kernel/qapplication_x11.cpp:3534
#60 0x000000343966c97c in x11EventSourceDispatch (s=0xea9e20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#61 0x0000003437e44f3d in g_main_dispatch (context=0xea98c0) at gmain.c:2441
#62 g_main_context_dispatch (context=0xea98c0) at gmain.c:3011
#63 0x0000003437e45738 in g_main_context_iterate (context=0xea98c0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#64 0x0000003437e4590c in g_main_context_iteration (context=0xea98c0, may_block=1) at gmain.c:3152
#65 0x0000003438fa7d5f in QEventDispatcherGlib::processEvents (this=0xe73790, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#66 0x000000343966c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#67 0x0000003438f78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x0000003438f783d7 in QEventLoop::exec (this=0x7fffc9764b30, flags=...) at kernel/qeventloop.cpp:204
#69 0x0000003438f7cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#70 0x000000000040bc13 in main (argc=1, argv=<optimized out>) at /usr/src/debug/ksecrets-4.8.1/ksecretsserviced/main.cpp:101

Reported using DrKonqi
Comment 1 Rex Dieter 2012-03-23 15:38:47 UTC
I bet the app *is* running, but it's hidden in systray (by default).  click on the ^ (up arrow) in your systray to see if it's there (or not).  Same thing happens with kwalletmanager, it's a little confusing when you're expecting an app to appear on the screen, and nothing visible happens.
Comment 2 Rex Dieter 2012-03-23 15:39:20 UTC
sorry, previous comment was intended for a different bug.
Comment 3 Murz 2012-06-08 05:32:49 UTC
Maybe this issue fixed in KDE 4.9 Beta?
Comment 4 Rex Dieter 2012-06-11 19:07:41 UTC
doubtful, the code hasn't been touched since, and ksecrets is not going to be included in 4.9