Bug 334737

Summary: PIM Setting Export crashed while exporting data
Product: [Applications] pimsettingexporter Reporter: Fiorenzo <fiorenzo.desantis>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel, martin, tabaccatore
Priority: NOR Keywords: drkonqi
Version First Reported In: 4.12.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Fiorenzo 2014-05-14 08:29:11 UTC
Application: pimsettingexporter (4.12.5)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.3-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:

I was simply exporting data "Back Up Data...", a full export (all checkboxes selected) to be more clear.

-- Backtrace:
Application: PIM Setting Exporter (pimsettingexporter), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f2a49ec8900 (LWP 3594))]

Thread 2 (Thread 0x7f2a37d51700 (LWP 3605)):
#0  0x0000003ede60e87d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003ee06897b0 in read (__nbytes=16, __buf=0x7f2a37d50a70, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f2a38001fb0) at gwakeup.c:212
#3  0x0000003ee064909c in g_main_context_check (context=context@entry=0x7f2a300009a0, max_priority=2147483647, fds=fds@entry=0x7f2a300029b0, n_fds=n_fds@entry=1) at gmain.c:3514
#4  0x0000003ee0649533 in g_main_context_iterate (context=context@entry=0x7f2a300009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3710
#5  0x0000003ee06496dc in g_main_context_iteration (context=0x7f2a300009a0, may_block=1) at gmain.c:3774
#6  0x00007f2a4b6bfaf6 in QEventDispatcherGlib::processEvents (this=0x7f2a300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00007f2a4b68f95f in QEventLoop::processEvents (this=this@entry=0x7f2a37d50c80, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f2a4b68fcad in QEventLoop::exec (this=this@entry=0x7f2a37d50c80, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f2a4b583e8f in QThread::exec (this=this@entry=0x2c49770) at thread/qthread.cpp:538
#10 0x00007f2a4b6702e3 in QInotifyFileSystemWatcherEngine::run (this=0x2c49770) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f2a4b5866bf in QThreadPrivate::start (arg=0x2c49770) at thread/qthread_unix.cpp:349
#12 0x0000003ede607f33 in start_thread (arg=0x7f2a37d51700) at pthread_create.c:309
#13 0x0000003eddef4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2a49ec8900 (LWP 3594)):
[KCrash Handler]
#6  0x000000351c135cbc in KZip::doPrepareWriting (this=0x2783010, name=..., user=..., group=..., perm=33277, atime=1391777418, mtime=1391777418, ctime=1391777418) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/kzip.cpp:1008
#7  0x000000351c107f9e in KArchive::prepareWriting (this=this@entry=0x2783010, name=..., user=..., group=..., size=size@entry=5637, perm=perm@entry=33277, atime=atime@entry=1391777418, mtime=mtime@entry=1391777418, ctime=ctime@entry=1391777418) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:380
#8  0x000000351c10ab39 in KArchive::addLocalFile (this=this@entry=0x2783010, fileName=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:263
#9  0x000000351c10b7c7 in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:310
#10 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#11 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#12 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#13 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#14 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#15 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#16 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#17 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#18 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#19 0x000000351c10b84a in KArchive::addLocalDirectory (this=this@entry=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#20 0x000000351c10b84a in KArchive::addLocalDirectory (this=0x2783010, path=..., destName=...) at /usr/src/debug/kdelibs-4.12.5/kdecore/io/karchive.cpp:312
#21 0x000000000041940f in AbstractImportExportJob::backupFullDirectory(KUrl const&, QString const&, QString const&) ()
#22 0x000000000041e336 in ExportMailJob::backupMails() ()
#23 0x0000000000426c18 in ExportMailJob::start() ()
#24 0x000000000041a1e2 in PimSettingExporterWindow::executeJob() ()
#25 0x000000000041aa34 in PimSettingExporterWindow::slotBackupData() ()
#26 0x00007f2a4b6a5938 in QMetaObject::activate (sender=sender@entry=0x292be10, m=m@entry=0x7f2a4cb72840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffa87d7f20) at kernel/qobject.cpp:3567
#27 0x00007f2a4c094872 in QAction::triggered (this=this@entry=0x292be10, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#28 0x00007f2a4c096427 in QAction::activate (this=this@entry=0x292be10, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0x00007f2a4c4e04fd in QMenuPrivate::activateCausedStack (this=this@entry=0x2986e10, causedStack=..., action=action@entry=0x292be10, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#30 0x00007f2a4c4e4d99 in QMenuPrivate::activateAction (this=0x2986e10, action=0x292be10, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#31 0x00007f2a4c4e8905 in QMenu::mouseReleaseEvent (this=this@entry=0x29cd580, e=e@entry=0x7fffa87d86d0) at widgets/qmenu.cpp:2371
#32 0x000000351d70bbbb in KMenu::mouseReleaseEvent (this=0x29cd580, e=0x7fffa87d86d0) at /usr/src/debug/kdelibs-4.12.5/kdeui/widgets/kmenu.cpp:464
#33 0x00007f2a4c0edd78 in QWidget::event (this=this@entry=0x29cd580, event=event@entry=0x7fffa87d86d0) at kernel/qwidget.cpp:8389
#34 0x00007f2a4c4e8deb in QMenu::event (this=0x29cd580, e=0x7fffa87d86d0) at widgets/qmenu.cpp:2480
#35 0x00007f2a4c09ae7c in QApplicationPrivate::notify_helper (this=0x267e6b0, receiver=0x29cd580, e=0x7fffa87d86d0) at kernel/qapplication.cpp:4565
#36 0x00007f2a4c0a1921 in QApplication::notify (this=this@entry=0x7fffa87d8f40, receiver=receiver@entry=0x29cd580, e=e@entry=0x7fffa87d86d0) at kernel/qapplication.cpp:4108
#37 0x000000351d64ab0a in KApplication::notify (this=0x7fffa87d8f40, receiver=0x29cd580, event=0x7fffa87d86d0) at /usr/src/debug/kdelibs-4.12.5/kdeui/kernel/kapplication.cpp:311
#38 0x00007f2a4b690ebd in QCoreApplication::notifyInternal (this=0x7fffa87d8f40, receiver=0x29cd580, event=0x7fffa87d86d0) at kernel/qcoreapplication.cpp:953
#39 0x00007f2a4c0a1097 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x29cd580, event=event@entry=0x7fffa87d86d0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x29cd580, buttonDown=buttonDown@entry=0x7f2a4cbae278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#40 0x00007f2a4c116a9c in QETWidget::translateMouseEvent (this=this@entry=0x29cd580, event=event@entry=0x7fffa87d8a10) at kernel/qapplication_x11.cpp:4474
#41 0x00007f2a4c1151dc in QApplication::x11ProcessEvent (this=0x7fffa87d8f40, event=event@entry=0x7fffa87d8a10) at kernel/qapplication_x11.cpp:3663
#42 0x00007f2a4c13cbe4 in x11EventSourceDispatch (s=s@entry=0x2681400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#43 0x0000003ee06492a6 in g_main_dispatch (context=0x267f6d0) at gmain.c:3066
#44 g_main_context_dispatch (context=context@entry=0x267f6d0) at gmain.c:3642
#45 0x0000003ee0649628 in g_main_context_iterate (context=context@entry=0x267f6d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#46 0x0000003ee06496dc in g_main_context_iteration (context=0x267f6d0, may_block=1) at gmain.c:3774
#47 0x00007f2a4b6bfad5 in QEventDispatcherGlib::processEvents (this=0x2679680, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#48 0x00007f2a4c13cd66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#49 0x00007f2a4b68f95f in QEventLoop::processEvents (this=this@entry=0x7fffa87d8e00, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f2a4b68fcad in QEventLoop::exec (this=this@entry=0x7fffa87d8e00, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007f2a4b695399 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#52 0x00000000004100b6 in main ()

Reported using DrKonqi
Comment 1 Filippo Ruggeri 2014-06-01 19:17:27 UTC
Created attachment 86949 [details]
New crash information added by DrKonqi

pimsettingexporter (4.13) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:

Export all settings and data. If i don't export some settings, and especially all my email, the program dont crash

-- Backtrace (Reduced):
#6  0x00007f24a5ece8c9 in KZip::doPrepareWriting (this=0x15f9570, name=..., user=..., group=..., perm=33256, atime=1400947740, mtime=1304274829, ctime=1338212082) at ../../kdecore/io/kzip.cpp:1008
#7  0x00007f24a5ea35ee in KArchive::prepareWriting (this=this@entry=0x15f9570, name=..., user=..., group=..., size=size@entry=195629, perm=perm@entry=33256, atime=atime@entry=1400947740, mtime=mtime@entry=1304274829, ctime=ctime@entry=1338212082) at ../../kdecore/io/karchive.cpp:380
#8  0x00007f24a5ea605f in KArchive::addLocalFile (this=this@entry=0x15f9570, fileName=..., destName=...) at ../../kdecore/io/karchive.cpp:263
#9  0x00007f24a5ea6cb7 in KArchive::addLocalDirectory (this=this@entry=0x15f9570, path=..., destName=...) at ../../kdecore/io/karchive.cpp:310
#10 0x00007f24a5ea6d3a in KArchive::addLocalDirectory (this=this@entry=0x15f9570, path=..., destName=...) at ../../kdecore/io/karchive.cpp:312
Comment 2 Andrew Crouthamel 2018-10-31 04:01:47 UTC
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!
Comment 3 Fiorenzo 2018-11-02 19:01:54 UTC
unfortunately, I can't re-test it... not using KDE anymore...
Comment 4 Andrew Crouthamel 2018-11-02 22:27:17 UTC
Thanks for the update!
Comment 5 Martin 2021-11-14 12:54:02 UTC
Created attachment 143536 [details]
New crash information added by DrKonqi

pimsettingexporter (4.14.10) on KDE Platform 4.14.9 using Qt 4.8.6

The PIM always crashes when trying to export mail.
The procedure: KMail -> extras -> export

-- Backtrace (Reduced):
#5  0x00007f18e57d08a9 in KZip::doPrepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () at /usr/lib64/libkdecore.so.5
#6  0x00007f18e57a57de in KArchive::prepareWriting(QString const&, QString const&, QString const&, long long, unsigned int, long, long, long) () at /usr/lib64/libkdecore.so.5
#7  0x00007f18e57a824f in KArchive::addLocalFile(QString const&, QString const&) () at /usr/lib64/libkdecore.so.5
#8  0x00007f18e57a8ea7 in KArchive::addLocalDirectory(QString const&, QString const&) () at /usr/lib64/libkdecore.so.5
#9  0x00007f18e57a8f2a in KArchive::addLocalDirectory(QString const&, QString const&) () at /usr/lib64/libkdecore.so.5