[Bug 1456292] Re: GParted: Segmentation fault (core dumped)
Phillip Susi
psusi at ubuntu.com
Mon May 18 18:12:41 UTC 2015
You ran an strace of pkexec rather than gparted, and it doesn't show any
output indicating that anything went wrong. If you want to strace
gparted you need to run it on gpartedbin. A good thing to start with is
simply running gparted normally though and showing the output. If it is
segfaulting, the best thing to do is to run it under gdb instead of
strace and obtain a backtrace ( with the bt command ) when it segfaults.
** Changed in: gparted (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1456292
Title:
GParted: Segmentation fault (core dumped)
Status in gparted package in Ubuntu:
Incomplete
Bug description:
Output of
```
strace -o output.txt gparted-pkexec
```
execve("/usr/bin/gparted-pkexec", ["gparted-pkexec"], [/* 68 vars */]) = 0
brk(0) = 0x7fb67525f000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb673800000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=184487, ...}) = 0
mmap(NULL, 184487, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb6737d2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\v\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1869392, ...}) = 0
mmap(NULL, 3972864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb673215000
mprotect(0x7fb6733d5000, 2097152, PROT_NONE) = 0
mmap(0x7fb6735d5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fb6735d5000
mmap(0x7fb6735db000, 16128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb6735db000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6737d1000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6737d0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6737cf000
arch_prctl(ARCH_SET_FS, 0x7fb6737d0700) = 0
mprotect(0x7fb6735d5000, 16384, PROT_READ) = 0
mprotect(0x7fb673a20000, 8192, PROT_READ) = 0
mprotect(0x7fb673802000, 4096, PROT_READ) = 0
munmap(0x7fb6737d2000, 184487) = 0
getpid() = 12255
rt_sigaction(SIGCHLD, {0x7fb673817460, ~[RTMIN RT_1], SA_RESTORER, 0x7fb67324a2f0}, NULL, 8) = 0
geteuid() = 1000
brk(0) = 0x7fb67525f000
brk(0x7fb675280000) = 0x7fb675280000
getppid() = 12252
stat("/home/aboettger/tmp", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
open("/usr/bin/gparted-pkexec", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x7fb673817460, ~[RTMIN RT_1], SA_RESTORER, 0x7fb67324a2f0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fb67324a2f0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7fb67324a2f0}, NULL, 8) = 0
read(10, "#!/bin/sh\npkexec \"/usr/sbin/gpar"..., 8192) = 42
stat("/usr/local/sbin/pkexec", 0x7ffca29d4400) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/pkexec", 0x7ffca29d4400) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/pkexec", 0x7ffca29d4400) = -1 ENOENT (No such file or directory)
stat("/usr/bin/pkexec", {st_mode=S_IFREG|S_ISUID|0755, st_size=23304, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb6737d09d0) = 12256
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 12256
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12256, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn() = 12256
read(10, "", 8192) = 0
exit_group(0) = ?
+++ exited with 0 +++
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gparted 0.19.0-2
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon May 18 19:48:46 2015
InstallationDate: Installed on 2015-03-16 (62 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Alpha amd64 (20150316)
SourcePackage: gparted
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1456292/+subscriptions
More information about the foundations-bugs
mailing list