Bug 294124 - Kleopatra Crashes when attempting to encrypt the clipboard
Summary: Kleopatra Crashes when attempting to encrypt the clipboard
Status: RESOLVED WORKSFORME
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Emanuel Schütze
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 04:16 UTC by John Smith
Modified: 2021-01-12 04:34 UTC (History)
3 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 John Smith 2012-02-15 04:16:14 UTC
Application: kleopatra (2.1.1)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
saved a 28mb mp4 file to the clipboard to encrypt with gnupg through Kleopatra. upon choosing receipent , Kleopatra crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Kleopatra (kleopatra), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0740e3e7a0 (LWP 26237))]

Thread 5 (Thread 0x7f07278ca700 (LWP 26239)):
#0  0x00007f07402771fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2a11a28) at pthread_mutex_unlock.c:290
#2  0x00007f07395a6900 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07395a7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f07395a7792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f072e8a7516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f07395cc2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0740273efc in start_thread (arg=0x7f07278ca700) at pthread_create.c:304
#8  0x00007f073cca789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0721eb1700 (LWP 26242)):
#0  0x00007f073d89d6c3 in postEventSourcePrepare (s=0x2b35310, timeout=0x7f0721eb0bec) at kernel/qeventdispatcher_glib.cpp:261
#1  0x00007f07395a6734 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f07395a6f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07395a7429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f073d89df3e in QEventDispatcherGlib::processEvents (this=0x2b34890, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f073d871cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f073d871ef7 in QEventLoop::exec (this=0x7f0721eb0db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f073d78927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f073d854cbf in QInotifyFileSystemWatcherEngine::run (this=0x2a86dd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f073d78bd05 in QThreadPrivate::start (arg=0x2a86dd0) at thread/qthread_unix.cpp:331
#10 0x00007f0740273efc in start_thread (arg=0x7f0721eb1700) at pthread_create.c:304
#11 0x00007f073cca789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f07216b0700 (LWP 26293)):
#0  0x00007f0737dec045 in __GI_clock_gettime (clock_id=1, tp=0x7f07216afb20) at ../sysdeps/unix/clock_gettime.c:94
#1  0x00007f073d7dc074 in do_gettime (frac=0x7f07216afb38, sec=0x7f07216afb30) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f073d89e6ed in QTimerInfoList::updateCurrentTime (this=0x29082c0) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f073d89ea33 in QTimerInfoList::timerWait (this=0x29082c0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f073d89d44c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f07216afc1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f073d89d4f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f07395a5ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f07395a6dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f07395a7429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f073d89df3e in QEventDispatcherGlib::processEvents (this=0x2908470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007f073d871cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f073d871ef7 in QEventLoop::exec (this=0x7f07216afdb0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f073d78927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#14 0x00007f073d854cbf in QInotifyFileSystemWatcherEngine::run (this=0x2bb2590) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f073d78bd05 in QThreadPrivate::start (arg=0x2bb2590) at thread/qthread_unix.cpp:331
#16 0x00007f0740273efc in start_thread (arg=0x7f07216b0700) at pthread_create.c:304
#17 0x00007f073cca789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f071bfff700 (LWP 26294)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f073d78c11e in wait (time=2000, this=0x2b00cb0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b03810, time=2000) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005d1fee in (anonymous namespace)::ReaderStatusThread::run (this=0x2b03800) at ../../kleopatra/smartcard/readerstatus.cpp:542
#4  0x00007f073d78bd05 in QThreadPrivate::start (arg=0x2b03800) at thread/qthread_unix.cpp:331
#5  0x00007f0740273efc in start_thread (arg=0x7f071bfff700) at pthread_create.c:304
#6  0x00007f073cca789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0740e3e7a0 (LWP 26237)):
[KCrash Handler]
#6  isSignalConnected (signal_index=5, this=0xb1) at kernel/qobject_p.h:221
#7  QMetaObject::activate (sender=0x2b827a0, m=<optimized out>, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3201
#8  0x0000000000594c2d in Kleo::Command::Private::finished (this=0x2e2ee40) at ../../kleopatra/commands/command_p.h:73
#9  0x000000000059489f in Kleo::Commands::EncryptClipboardCommand::Private::slotRecipientsResolved (this=0x2e2ee40) at ../../kleopatra/commands/encryptclipboardcommand.cpp:162
#10 0x000000000059493b in Kleo::Commands::EncryptClipboardCommand::qt_metacall (this=0x28e8d50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./moc_encryptclipboardcommand.cpp:77
#11 0x00007f073d885eba in QMetaObject::activate (sender=0x2e2eeb8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#12 0x000000000050fa28 in slotWizardRecipientsResolved (this=<optimized out>) at ../../kleopatra/crypto/encryptemailcontroller.cpp:165
#13 Kleo::Crypto::EncryptEMailController::qt_metacall (this=0x2e2eeb8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./moc_encryptemailcontroller.cpp:83
#14 0x00007f073d889a5e in QObject::event (this=0x2e2eeb8, e=<optimized out>) at kernel/qobject.cpp:1217
#15 0x00007f073e273474 in notify_helper (e=0x2b997f0, receiver=0x2e2eeb8, this=0x28d6ff0) at kernel/qapplication.cpp:4486
#16 QApplicationPrivate::notify_helper (this=0x28d6ff0, receiver=0x2e2eeb8, e=0x2b997f0) at kernel/qapplication.cpp:4458
#17 0x00007f073e2782e1 in QApplication::notify (this=0x7fff768bad90, receiver=0x2e2eeb8, e=0x2b997f0) at kernel/qapplication.cpp:4365
#18 0x00007f073fc37466 in KApplication::notify (this=0x7fff768bad90, receiver=0x2e2eeb8, event=0x2b997f0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f073d872afc in QCoreApplication::notifyInternal (this=0x7fff768bad90, receiver=0x2e2eeb8, event=0x2b997f0) at kernel/qcoreapplication.cpp:787
#20 0x00007f073d87651f in sendEvent (event=0x2b997f0, receiver=0x2e2eeb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x28a5ed0) at kernel/qcoreapplication.cpp:1428
#22 0x00007f073d89da73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f07395a6a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f07395a7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f07395a7429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f073d89ded6 in QEventDispatcherGlib::processEvents (this=0x28a75a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007f073e31b10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f073d871cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f073d871ef7 in QEventLoop::exec (this=0x7fff768bac10, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f073e72a2d6 in QDialog::exec (this=0x7fff768bac90) at dialogs/qdialog.cpp:552
#32 0x00007f073e74b202 in showNewMessageBox (parent=<optimized out>, icon=<optimized out>, title=<optimized out>, text=<optimized out>, buttons=..., defaultButton=QMessageBox::NoButton) at dialogs/qmessagebox.cpp:1538
#33 0x00007f073e74b2cf in QMessageBox::information (parent=<optimized out>, title=<optimized out>, text=<optimized out>, buttons=<optimized out>, defaultButton=<optimized out>) at dialogs/qmessagebox.cpp:1573
#34 0x000000000044c22d in main (argc=<optimized out>, argv=<optimized out>) at ../../kleopatra/main.cpp:333

Reported using DrKonqi
Comment 1 Emanuel Schütze 2013-05-10 06:52:28 UTC
I'll check it with current Kleopatra (with Gpg4win).
Comment 2 Justin Zobel 2020-12-13 03:44:24 UTC
Thank you for the crash report, John.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-28 04:34:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-12 04:34:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!