Bug 265329 - kgpg crashes while archive and crypt a directory
Summary: kgpg crashes while archive and crypt a directory
Status: RESOLVED WORKSFORME
Alias: None
Product: kgpg
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-02-03 20:01 UTC by mich.delbianco
Modified: 2018-09-25 08:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.49 KB, text/plain)
2013-02-15 23:51 UTC, Rado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mich.delbianco 2011-02-03 20:01:04 UTC
Application: kgpg (2.4.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: right click form dolphin and selected Actions -> Archive & Encrypt folder, selected the key and run the function. After the archiving time kgpg crash every try

The crash can be reproduced every time.

-- Backtrace:
Application: KGpg (kgpg), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f412f6ae760 (LWP 4027))]

Thread 2 (Thread 0x7f411ccd1700 (LWP 4045)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f411ccd0a90 in ?? ()
#2  0x00007fff977ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f412f6ae760 (LWP 4027)):
[KCrash Handler]
#6  0x00007f412d1e4c37 in KZip::doPrepareWriting (this=0x255e250, name=..., user=..., group=..., perm=33188, atime=1288134987, mtime=1281737768, ctime=1291570926) at ../../kdecore/io/kzip.cpp:1009
#7  0x00007f412d1b19ae in KArchive::prepareWriting (this=0x255e250, name=..., user=..., group=..., size=26221, perm=33188, atime=1288134987, mtime=1281737768, ctime=1291570926) at ../../kdecore/io/karchive.cpp:380
#8  0x00007f412d1b5db1 in KArchive::addLocalFile (this=0x255e250, fileName=<value optimized out>, destName=...) at ../../kdecore/io/karchive.cpp:262
#9  0x00007f412d1b6978 in KArchive::addLocalDirectory (this=<value optimized out>, path=..., destName=<value optimized out>) at ../../kdecore/io/karchive.cpp:310
#10 0x00007f412d1b6a6a in KArchive::addLocalDirectory (this=<value optimized out>, path=..., destName=<value optimized out>) at ../../kdecore/io/karchive.cpp:312
#11 0x00007f412d1b6a6a in KArchive::addLocalDirectory (this=<value optimized out>, path=..., destName=<value optimized out>) at ../../kdecore/io/karchive.cpp:312
#12 0x00000000004b2ef6 in KGpgExternalActions::startFolderEncode (this=0x24dbaa0) at ../../kgpg/kgpgexternalactions.cpp:211
#13 0x000000000042165d in KGpgExternalActions::qt_metacall (this=0x24dbaa0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff976fcd00) at moc_kgpgexternalactions.cpp:127
#14 0x00007f412cb2db27 in QMetaObject::activate (sender=0x24e5520, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x208e9c0) at kernel/qobject.cpp:3280
#15 0x00007f412e3f2c68 in KDialog::slotButtonClicked (this=0x24e5520, button=4) at ../../kdeui/dialogs/kdialog.cpp:871
#16 0x00007f412e3f4af9 in KDialog::qt_metacall (this=0x24e5520, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff976fcee0) at ./kdialog.moc:190
#17 0x0000000000456240 in KgpgSelectPublicKeyDlg::qt_metacall (this=0x255e250, _c=39182928, _id=2, _a=0x208e9c0) at ./selectpublickeydialog.moc:75
#18 0x00007f412cb2db27 in QMetaObject::activate (sender=0x24e5648, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x208e9c0) at kernel/qobject.cpp:3280
#19 0x00007f412cb307fe in QSignalMapper::mapped (this=0x255e250, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#20 0x00007f412cb31a12 in QSignalMapper::map (this=0x24e5648, sender=0x24e8260) at kernel/qsignalmapper.cpp:266
#21 0x00007f412cb31c90 in QSignalMapper::qt_metacall (this=0x24e5648, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff976fd070) at .moc/release-shared/moc_qsignalmapper.cpp:87
#22 0x00007f412cb2db27 in QMetaObject::activate (sender=0x24e8260, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x208e9c0) at kernel/qobject.cpp:3280
#23 0x00007f412de24402 in QAbstractButton::clicked (this=0x255e250, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x00007f412db1eeeb in QAbstractButtonPrivate::emitClicked (this=0x24e6160) at widgets/qabstractbutton.cpp:546
#25 0x00007f412db205bb in QAbstractButtonPrivate::click (this=0x24e6160) at widgets/qabstractbutton.cpp:539
#26 0x00007f412db2082c in QAbstractButton::mouseReleaseEvent (this=0x24e8260, e=0x7fff976fd9c0) at widgets/qabstractbutton.cpp:1121
#27 0x00007f412d79d04e in QWidget::event (this=0x24e8260, event=0x7fff976fd9c0) at kernel/qwidget.cpp:8187
#28 0x00007f412d746fdc in QApplicationPrivate::notify_helper (this=0x1ffda80, receiver=0x24e8260, e=0x7fff976fd9c0) at kernel/qapplication.cpp:4396
#29 0x00007f412d74d30e in QApplication::notify (this=0x2001ad0, receiver=0x24e8260, e=0x7fff976fd9c0) at kernel/qapplication.cpp:3959
#30 0x00007f412e499156 in KApplication::notify (this=0x2001ad0, receiver=0x24e8260, event=0x7fff976fd9c0) at ../../kdeui/kernel/kapplication.cpp:310
#31 0x00007f412cb15cdc in QCoreApplication::notifyInternal (this=0x2001ad0, receiver=0x24e8260, event=0x7fff976fd9c0) at kernel/qcoreapplication.cpp:732
#32 0x00007f412d74bdbe in sendEvent (receiver=0x24e8260, event=0x7fff976fd9c0, alienWidget=0x24e8260, nativeWidget=0x24e5520, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x24e8260, event=0x7fff976fd9c0, alienWidget=0x24e8260, nativeWidget=0x24e5520, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#34 0x00007f412d7cf345 in QETWidget::translateMouseEvent (this=0x24e5520, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#35 0x00007f412d7cdc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff976fe2e0) at kernel/qapplication_x11.cpp:3536
#36 0x00007f412d7fa0e2 in x11EventSourceDispatch (s=0x1ff87e0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f4127ec5342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007f4127ec92a8 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007f4127ec945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007f412cb42193 in QEventDispatcherGlib::processEvents (this=0x1fcfe60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#41 0x00007f412d7f9a4e in QGuiEventDispatcherGlib::processEvents (this=0x255e250, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f412cb14a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f412cb14dec in QEventLoop::exec (this=0x7fff976fe610, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f412dc3b7de in QDialog::exec (this=0x24e5520) at dialogs/qdialog.cpp:552
#45 0x00000000004b1891 in KGpgExternalActions::encryptDroppedFolder (this=0x24dbaa0) at ../../kgpg/kgpgexternalactions.cpp:100
#46 0x0000000000483cf5 in KGpgApp::newInstance (this=0x2001ad0) at ../../kgpg/kgpg.cpp:135
#47 0x00007f412e4a0976 in KUniqueApplicationAdaptor::newInstance (this=0x2102e60, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:440
#48 0x00007f412e4a0fb6 in KUniqueApplicationAdaptor::qt_metacall (this=0x2102e60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff976ff120) at ./kuniqueapplication_p.moc:81
#49 0x00007f412ce6c0ee in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:919
#50 0x00007f412ce6d36f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x2102e60, flags=337, msg=...) at qdbusintegrator.cpp:822
#51 0x00007f412ce6de65 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1379
#52 0x00007f412ce6e108 in QDBusActivateObjectEvent::placeMetaCall (this=0x2041ed0) at qdbusintegrator.cpp:1493
#53 0x00007f412cb27bde in QObject::event (this=0x2001ad0, e=0x255e250) at kernel/qobject.cpp:1219
#54 0x00007f412d74a186 in QApplication::event (this=0x2001ad0, e=0x2041ed0) at kernel/qapplication.cpp:2439
#55 0x00007f412d746fdc in QApplicationPrivate::notify_helper (this=0x1ffda80, receiver=0x2001ad0, e=0x2041ed0) at kernel/qapplication.cpp:4396
#56 0x00007f412d74caed in QApplication::notify (this=0x2001ad0, receiver=0x2001ad0, e=0x2041ed0) at kernel/qapplication.cpp:4277
#57 0x00007f412e499156 in KApplication::notify (this=0x2001ad0, receiver=0x2001ad0, event=0x2041ed0) at ../../kdeui/kernel/kapplication.cpp:310
#58 0x00007f412cb15cdc in QCoreApplication::notifyInternal (this=0x2001ad0, receiver=0x2001ad0, event=0x2041ed0) at kernel/qcoreapplication.cpp:732
#59 0x00007f412cb18c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1fd0350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1fd0350) at kernel/qcoreapplication.cpp:1373
#61 0x00007f412cb42653 in sendPostedEvents (s=0x1ff85c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=0x1ff85c0) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007f4127ec5342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0x00007f4127ec92a8 in ?? () from /lib/libglib-2.0.so.0
#65 0x00007f4127ec945c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0x00007f412cb42193 in QEventDispatcherGlib::processEvents (this=0x1fcfe60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#67 0x00007f412d7f9a4e in QGuiEventDispatcherGlib::processEvents (this=0x255e250, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f412cb14a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#69 0x00007f412cb14dec in QEventLoop::exec (this=0x7fff976ffec0, flags=) at kernel/qeventloop.cpp:201
#70 0x00007f412cb18ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#71 0x0000000000484f24 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kgpg/main.cpp:57

Reported using DrKonqi
Comment 1 mich.delbianco 2011-02-04 00:29:32 UTC
just "encrypt" option on a still archived or compressed file the crash report appears after the file.asc creation
Comment 2 Rolf Eike Beer 2011-02-06 22:19:05 UTC
I tried it with KDE 4.6.0 and it works without any issues. Please upgrade to KDE 4.5.5 or 4.6.0 and try again to make sure this issue has not already been fixed.

So you get a backtrace when clicking on the "encrypt file" option in dolphin? Can you paste that backtrace, too?
Comment 3 Rolf Eike Beer 2011-10-23 17:21:04 UTC
Still no answer, works for me.
Comment 4 Rado 2013-02-15 23:51:33 UTC
Created attachment 77349 [details]
New crash information added by DrKonqi

kgpg (2.8.2) on KDE Platform 4.9.5 using Qt 4.8.4

- What I was doing when the application crashed:

I tried to archive and encrypt a directory. I used different parameters - zip - since it always crashes for tar/gzip. Result is the same.

-- Backtrace (Reduced):
#5  0x0000003b5e331c67 in KZip::doPrepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () from /lib64/libkdecore.so.5
#6  0x0000003b5e30492e in KArchive::prepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () from /lib64/libkdecore.so.5
#7  0x0000003b5e303d8c in KArchive::addLocalFile(QString const&, QString const&) () from /lib64/libkdecore.so.5
#8  0x0000003b5e3058a7 in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5
#9  0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5
Comment 5 Andrew Crouthamel 2018-09-24 01:59:41 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 set the bug status 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 6 mich.delbianco 2018-09-25 08:37:53 UTC
Really this bug report from 7 years ago is still opened? Obviously I can't reproduce it, and her no-one can.
Comment 7 mich.delbianco 2018-09-25 08:38:46 UTC
Really this bug report from 7 years ago is still opened? Obviously I can't reproduce it, and her no-one can.