Application: kgpg (2.8.2) KDE Platform Version: 4.9.5 Qt Version: 4.8.4 Operating System: Linux 3.7.6-201.fc18.x86_64 x86_64 Distribution: "Fedora release 18 (Spherical Cow)" -- Information about the crash: - What I was doing when the application crashed: From right click menu in Dolphin I started "Archive and encrypt" a directory with many files and subdirectories. I chose the option tar/gzip in kgpg. All together this should create about 7GB of archive data. It always crashes after a few minutes. I didn't touch anything later regarding the application since it offers no interface. The crash can be reproduced every time. -- Backtrace: Application: KGpg (kgpg), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [KCrash Handler] #5 0x0000003b5d10b63b in QIODevice::write(char const*, long long) () from /lib64/libQtCore.so.4 #6 0x0000003b5e3235d1 in KTar::doPrepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () from /lib64/libkdecore.so.5 #7 0x0000003b5e30492e in KArchive::prepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () from /lib64/libkdecore.so.5 #8 0x0000003b5e303d8c in KArchive::addLocalFile(QString const&, QString const&) () from /lib64/libkdecore.so.5 #9 0x0000003b5e3058a7 in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #10 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #11 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #12 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #13 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #14 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #15 0x0000003b5e30594f in KArchive::addLocalDirectory(QString const&, QString const&) () from /lib64/libkdecore.so.5 #16 0x0000000000494188 in FolderCompressJob::doWork() () #17 0x0000003b5d18c39e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4 #18 0x0000003b5e9ca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4 #19 0x0000003b5e9cea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4 #20 0x0000003b5fc46916 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5 #21 0x0000003b5d177a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4 #22 0x0000003b5d17b541 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4 #23 0x0000003b5d1a5f43 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4 #24 0x0000003373047a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #25 0x0000003373047d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0 #26 0x0000003373047e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #27 0x0000003b5d1a60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #28 0x0000003b5ea6a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4 #29 0x0000003b5d1767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #30 0x0000003b5d176a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4 #31 0x0000003b5d17b858 in QCoreApplication::exec() () from /lib64/libQtCore.so.4 #32 0x00000000004218c0 in main () Reported using DrKonqi
If you try to compress less data (let's say about 1GB), does it work then? I suspect this to be a problem inside kdelibs, as all KGpg does at this point is telling kdelibs to add more files into the archive (that is before even starting to encrypt anything). The things I guess that could go wrong are some internal overflow or your /tmp being a tmpfs and you are running out of available memory. Until proven wrong I reassign this to kdelibs.
You are right. It works for smaller data. But anyway it should be fixed as it is not working for "real" business requirements.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
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!
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!
Created attachment 124108 [details] New crash information added by DrKonqi kgpg (19.08.3) using Qt 5.13.2 - What I was doing when the application crashed: - Unusual behavior I noticed: I tried to encrypt a folder containing 3.8 GB of photos using KGpg. KGpg was stuck in "startup" for about 30 minutes and I was unable to stop it so I resorted to rebooting the system using the Plasma GUI. Afterwards, I got the crash report assistant telling me that KGpg had crashed. I might have some configuration issues with my gpg so that could be related though an earlier test with KGpg managed to properly archive and encrypt a folder containing 32 MB of photos. It might be helpful for debugging if the KGpg had an advanced mode which would actually tell what exactly it is trying to do so I could have more of a clue what went wrong. -- Backtrace (Reduced): #6 0x00007f35bc6e806f in QIODevice::write(char const*, long long) () at /usr/lib/libQt5Core.so.5 #7 0x00007f35bde258e6 in KTar::doPrepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, QDateTime const&, QDateTime const&, QDateTime const&) () at /usr/lib/libKF5Archive.so.5 #8 0x00007f35bde17fba in KArchive::prepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, QDateTime const&, QDateTime const&, QDateTime const&) () at /usr/lib/libKF5Archive.so.5 #9 0x00007f35bde1a47a in KArchive::addLocalFile(QString const&, QString const&) () at /usr/lib/libKF5Archive.so.5 #10 0x00007f35bde1aed7 in KArchive::addLocalDirectory(QString const&, QString const&) () at /usr/lib/libKF5Archive.so.5