By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 769 - Ark: consistently crashes
Summary: Ark: consistently crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: TDE
Classification: Unclassified
Component: tdeutils (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Other
: P1 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-26 15:42 CST by Darrell
Modified: 2013-11-25 12:46 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name: Ark


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2011-12-26 15:42:36 CST
I test TDE on a PI class system with 256 MB of RAM. The CPU is a 400 MHz K6-III+. Disk drives are ATA-2. Okay, pretty old but a good place to test various aspects of TDE, such as speed and response. A good system with limited resources for testing.

Ark consistently crashes on this machine when opening a compressed file with Ark from within Konqueror.

This never happens with 3.5.10, which is installed on the same machine (on different partitons).

A backtrace:

[Thread debugging using libthread_db enabled]
[KCrash handler]
#5  0xb601598c in _IO_new_file_xsputn () from /lib/libc.so.6
#6  0xb600ae90 in fputs () from /lib/libc.so.6
#7  0xb6beab91 in writeEntries (pStream=<value optimized out>,
    entryMap=<value optimized out>, defaultGroup=false,
    firstEntry=@0xbfd866ef, localeString=...)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:944
#8  0xb6beb15d in KConfigINIBackEnd::writeEntries (this=0x80cc9d8,
    pStream=0x81c8988, aTempMap=...)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:1142
#9  0xb6beee4a in KConfigINIBackEnd::writeConfigFile (this=0x80cc9d8,
    filename=..., bGlobal=<value optimized out>, bMerge=true)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:1108
#10 0xb6bef4e0 in KConfigINIBackEnd::sync (this=0x80cc9d8, bMerge=true)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:881
#11 0xb6bda1f7 in KConfigBase::sync (this=0x80cc978)
    at /dev/shm/kdelibs/kdecore/kconfigbase.cpp:1767
#12 0xb70755dd in KMainWindow::saveAutoSaveSettings (this=0x80a5988)
    at /dev/shm/kdelibs/kdeui/kmainwindow.cpp:1054
#13 0xb7075cc0 in KMainWindow::qt_invoke (this=0x80a5988, _id=71,
    _o=0xbfd869c8) at /dev/shm/kdelibs.build/kdeui/kmainwindow.moc:138
#14 0xb771053b in KParts::MainWindow::qt_invoke (this=0x80a5988, _id=71,
    _o=0xbfd869c8) at /dev/shm/kdelibs.build/kparts/mainwindow.moc:98
#15 0xb5c39cb9 in MainWindow::qt_invoke (this=0x80a5988, _id=71, _o=0xbfd869c8)
    at mainwindow.moc:181
#16 0xb663dde5 in QObject::activate_signal (this=0x818bd60, clist=0x818bc10,
    o=0xbfd869c8) at kernel/qobject.cpp:2383
#17 0xb663fec6 in QObject::activate_signal (this=0x0, signal=2)
    at kernel/qobject.cpp:2352
#18 0xb696cb38 in QTimer::timeout (this=0x818bd60)
    at .moc/release-shared-mt/moc_qtimer.cpp:82
#19 0xb6660dff in QTimer::event (this=0x818bd60, e=0xbfd86c78)
    at kernel/qtimer.cpp:222
#20 0xb65da76d in QApplication::internalNotify (this=0x80baee0,
    receiver=0x818bd60, e=0xbfd86c78) at kernel/qapplication.cpp:2638
#21 0xb65db6bc in QApplication::notify (this=0x80baee0, receiver=0x818bd60,
    e=0xbfd86c78) at kernel/qapplication.cpp:2375
#22 0xb6bb6c5d in KApplication::notify (this=0x80baee0, receiver=0x818bd60,
    event=0xbfd86c78) at /dev/shm/kdelibs/kdecore/kapplication.cpp:582
#23 0xb65d0267 in QApplication::sendEvent (this=0x80bb410)
    at kernel/qapplication.h:523
#24 QEventLoop::activateTimers (this=0x80bb410)
    at kernel/qeventloop_unix.cpp:559
#25 0xb6588335 in QEventLoop::processEvents (this=0x80bb410, flags=4)
    at kernel/qeventloop_x11.cpp:392
#26 0xb65f2c0b in QEventLoop::enterLoop (this=0x80bb410)
    at kernel/qeventloop.cpp:201
#27 0xb65f2aa4 in QEventLoop::exec (this=0x80bb410)
    at kernel/qeventloop.cpp:148
#28 0xb65dadf1 in QApplication::exec (this=0x80baee0)
    at kernel/qapplication.cpp:2761
#29 0xb5c34326 in kdemain (argc=8, argv=0x80a3e38) at main.cpp:125
#30 0xb774f454 in kdeinitmain (argc=8, argv=0x80a3e38) at ark_dummy.cpp:3
#31 0x0804e789 in launch (argc=<value optimized out>,
    _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1,
    envs=0x80a1f14 "DISPLAY=:0.0", reset_env=false, tty=0x0,
    avoid_loops=false,
    startup_id_str=0x80a1f25 "testbox;1324934771;621323;3291_TIME1517820")
    at /dev/shm/kdelibs/kinit/kinit.cpp:673
#32 0x0804f4d1 in handle_launcher_request (sock=9)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1240
#33 0x0804fbde in handle_requests (waitForPid=<value optimized out>)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1443
#34 0x080510e8 in main (argc=5, argv=0xbfd87634, envp=0xbfd8764c)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1908
Comment 1 Darrell 2011-12-26 15:45:21 CST
I forgot to add that Ark works fine in my two other TDE environments.
Comment 2 Timothy Pearson 2011-12-26 16:57:11 CST
This still looks like it happens deep within the system libraries.

Are you sure this is a SIGSEGV?  Could it be a SIGABRT or bad file descriptor instead?
Comment 3 Darrell 2011-12-26 18:38:02 CST
You'll have to help me to answer your question. I don't understand those terms. :)

All I know is when Ark crashes I get the crash dialog box on screen. I selected the Backtrace tab and pasted the results here.

Let me know what details you need!
Comment 4 Darrell 2011-12-27 14:05:41 CST
More info: I use the same TDE hard drive partition in a 350 MHz PII with 448 MB of RAM. (Removable hard drive bays. :) ) No crashing with that box. Could (a lack of) memory be the problem? I have a 1GB swap partition.

Also of possible note: I had to build a special (2.6.33.15) kernel because the K6-III+ CPU in the PI machine does not support PAE and CMOV. There could be kernel related issues involved. I have no problems with KDE3 and the 2.6.27.59 kernel, and that is a special kernel build too.

I ran Ark again on the PI box. This time I selected a small archive file. Ark opened but upon closing I received the crash dialog. Here is the backtrace created by that:

======================================================
[Thread debugging using libthread_db enabled]
[KCrash handler]
#5  ~QMetaObjectCleanUp (this=0xb78a7604, __in_chrg=<value optimized out>)
    at kernel/qmetaobject.cpp:1238
#6  0xb6136fdf in exit () from /lib/libc.so.6
#7  0x0804e791 in launch (argc=<value optimized out>,
    _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1,
    envs=0x80a4659 "DISPLAY=:0.0", reset_env=false, tty=0x0,
    avoid_loops=false,
    startup_id_str=0x80a466a "testbox;1325015465;506700;2640_TIME292344")
    at /dev/shm/kdelibs/kinit/kinit.cpp:673
#8  0x0804f4d1 in handle_launcher_request (sock=9)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1240
#9  0x0804fbde in handle_requests (waitForPid=<value optimized out>)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1443
#10 0x080510e8 in main (argc=5, argv=0xbfa3ff04, envp=0xbfa3ff1c)
    at /dev/shm/kdelibs/kinit/kinit.cpp:1908
======================================================

I had been opening the archived files from within Konquror. Curious, I opened the same archive file using KRunner. No crash with opening or closing Ark. I repeated both methods three times. Opening from within Konqueror resulted in a crash every time. I thought I was on to something but then on the third try with KRunner Ark failed to open and I received a crash. Here is the backtrace created:

======================================================
[Thread debugging using libthread_db enabled]
[KCrash handler]
#5  0xb6919e77 in KConfigINIBackEnd::parseSingleConfigFile (this=0x8071db0,
    rFile=..., pWriteBackMap=0xbf909c4c, bGlobal=true, bDefault=false)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:516
#6  0xb691b946 in KConfigINIBackEnd::getEntryMap (this=0x8071db0,
    aTempMap=..., bGlobal=<value optimized out>, mergeFile=0x8172530)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:987
#7  0xb691bd2f in KConfigINIBackEnd::writeConfigFile (this=0x8071db0,
    filename=..., bGlobal=<value optimized out>, bMerge=true)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:1040
#8  0xb691c4e0 in KConfigINIBackEnd::sync (this=0x8071db0, bMerge=true)
    at /dev/shm/kdelibs/kdecore/kconfigbackend.cpp:881
#9  0xb69071f7 in KConfigBase::sync (this=0x8071c98)
    at /dev/shm/kdelibs/kdecore/kconfigbase.cpp:1767
#10 0xb6da25dd in KMainWindow::saveAutoSaveSettings (this=0x8052848)
    at /dev/shm/kdelibs/kdeui/kmainwindow.cpp:1054
#11 0xb6da2cc0 in KMainWindow::qt_invoke (this=0x8052848, _id=71,
    _o=0xbf909e58) at /dev/shm/kdelibs.build/kdeui/kmainwindow.moc:138
#12 0xb729053b in KParts::MainWindow::qt_invoke (this=0x8052848, _id=71,
    _o=0xbf909e58) at /dev/shm/kdelibs.build/kparts/mainwindow.moc:98
#13 0xb7737cb9 in MainWindow::qt_invoke (this=0x8052848, _id=71, _o=0xbf909e58)
    at mainwindow.moc:181
#14 0xb636ade5 in QObject::activate_signal (this=0x8138e18, clist=0x80a0fe8,
    o=0xbf909e58) at kernel/qobject.cpp:2383
#15 0xb636cec6 in QObject::activate_signal (this=0x8174fc0, signal=2)
    at kernel/qobject.cpp:2352
#16 0xb6699b38 in QTimer::timeout (this=0x8138e18)
    at .moc/release-shared-mt/moc_qtimer.cpp:82
#17 0xb638ddff in QTimer::event (this=0x8138e18, e=0xbf90a108)
    at kernel/qtimer.cpp:222
#18 0xb630776d in QApplication::internalNotify (this=0x8055568,
    receiver=0x8138e18, e=0xbf90a108) at kernel/qapplication.cpp:2638
#19 0xb63086bc in QApplication::notify (this=0x8055568, receiver=0x8138e18,
    e=0xbf90a108) at kernel/qapplication.cpp:2375
#20 0xb68e3c5d in KApplication::notify (this=0x8055568, receiver=0x8138e18,
    event=0xbf90a108) at /dev/shm/kdelibs/kdecore/kapplication.cpp:582
#21 0xb62fd267 in QApplication::sendEvent (this=0x807bcb8)
    at kernel/qapplication.h:523
#22 QEventLoop::activateTimers (this=0x807bcb8)
    at kernel/qeventloop_unix.cpp:559
#23 0xb62b5335 in QEventLoop::processEvents (this=0x807bcb8, flags=4)
    at kernel/qeventloop_x11.cpp:392
#24 0xb631fc0b in QEventLoop::enterLoop (this=0x807bcb8)
    at kernel/qeventloop.cpp:201
#25 0xb631faa4 in QEventLoop::exec (this=0x807bcb8)
    at kernel/qeventloop.cpp:148
#26 0xb6307df1 in QApplication::exec (this=0x8055568)
    at kernel/qapplication.cpp:2761
#27 0xb7732326 in kdemain (argc=2, argv=0xbf90a494) at main.cpp:125
#28 0x080484eb in main (argc=2, argv=0xbf90a494) at ark.la.cpp:2
======================================================

I wish I knew how to read backtraces or at least deduce where the problem is lies. :)

I hope this additional information helps.
Comment 5 Darrell 2013-11-25 12:46:41 CST
Closing as works for me. I no longer can replicate the bug.