[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 138175] ark crashes when extracting a tar.gz to a relative
From:       Andrei Dumitrescu <andrei.dumitrescu () gmail ! com>
Date:       2006-11-30 22:22:08
Message-ID: 20061130222208.12174.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=138175         




------- Additional Comments From andrei.dumitrescu gmail com  2006-11-30 23:22 \
------- On stderr, I get:
ark (kdeutils): diskHasSpace() dir: /tmp/kde-andreid/arkGT8BNF/extremote9oW1YG/ Size: \
0 ark (kdeutils): Options were: -xkf
kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : \
[KPushButton pointer (0x81ee768) to widget CancelButton, geometry=100x30+0+0] ark \
(kdeutils): -ArkWidget::slotExtractDone kio (Scheduler): FATAL: BUG! _ScheduleJob(): \
                No extraJobData for job!
KCrash: Application 'ark' crashing...

The bt looks just the same, even if I recompiled as you specified, and I've removed \
-fomit-frame-pointer from CFLAGS. The crash is always reproductible, just unzip/unrar \
an archive to a relative path instead of an absolute path. If I try this on the \
command line (--extract-to relative-path), ark does not crash.

However, strace -f gives the following output:

close(1012)                             = -1 EBADF (Bad file descriptor)
close(1013)                             = -1 EBADF (Bad file descriptor)
close(1014)                             = -1 EBADF (Bad file descriptor)
close(1015)                             = -1 EBADF (Bad file descriptor)
close(1016)                             = -1 EBADF (Bad file descriptor)
close(1017)                             = -1 EBADF (Bad file descriptor)
close(1018)                             = -1 EBADF (Bad file descriptor)
close(1019)                             = -1 EBADF (Bad file descriptor)
close(1020)                             = -1 EBADF (Bad file descriptor)
close(1021)                             = -1 EBADF (Bad file descriptor)
close(1022)                             = -1 EBADF (Bad file descriptor)
close(1023)                             = -1 EBADF (Bad file descriptor)
write(2, "KCrash: Application \'ark\' crashi"..., 38KCrash: Application 'ark' \
crashing... ) = 38
uname({sys="Linux", node="dylan", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/home/andreid/.kde/socket-dylan/kdeinit__0"}, \
110) = 0 write(3, "\f\0\0\0\232\0\0\0", 8)       = 8
write(3, "\21\0\0\0drkonqi\0-display\0:0.0\0--appn"..., 154) = 154
read(3, "\4\0\0\0\4\0\0\0", 8)          = 8
read(3, "\305\20\0\0", 4)               = 4
alarm(0)                                = 3
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, 0xbfb23944)           = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCONT (Continued) @ 0 (0) ---
restart_syscall(<... resuming interrupted call ...>) = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
kill(4293, SIG_0)                       = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb772b960, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
nanosleep({1, 0}, 0xbfb23944)           = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCONT (Continued) @ 0 (0) ---
restart_syscall(<... resuming interrupted call ...>) = 0
kill(4293, SIG_0)                       = -1 ESRCH (No such process)
exit_group(253)                         = ?
Process 4246 detached


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic