[Bug 1430741] Re: strace crashed with SIGABRT in __GI_raise()
yzp15
1430741 at bugs.launchpad.net
Sun May 20 00:16:48 UTC 2018
Probably Spotify Linux Client process did crash with SIGABRT. strace
detects that child was killed with the signal and raises same signal for
itself just before exit (like in Bug #1062412)
There is a code in strace.c (main -> terminate() ) to raise the signal which killed the traced process. Strace does it exactly before exit
https://github.com/strace/strace/blob/1d98b287a4cb6901d369d78126d481508f9e35ef/strace.c#L2655
if (exit_code > 0xff) {
...
/* Child was killed by a signal, mimic that. */
exit_code &= 0xff;
signal(exit_code, SIG_DFL);
...
raise(exit_code);
...
exit(exit_code);
Code was added in 2008-09-29 commit
https://github.com/strace/strace/commit/a68096576afc07e51d33b49c432d658b27a7f13c
> (main): Exit/kill ourself with straced child's exitcode/signal.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to strace in Ubuntu.
https://bugs.launchpad.net/bugs/1430741
Title:
strace crashed with SIGABRT in __GI_raise()
Status in strace package in Ubuntu:
Confirmed
Bug description:
Crashed when using strace on Spotify Linux Client.
Was trying to find which shared libraries are needed for playing local
files.
Ubuntu 15.04 Vivid Vervet
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: strace 4.8-1ubuntu5
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.16.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 11 16:52:02 2015
Dependencies:
gcc-5-base 5-20150309-1ubuntu1
libc6 2.19-15ubuntu2
libgcc1 1:5-20150309-1ubuntu1
multiarch-support 2.19-15ubuntu2
ExecutablePath: /usr/bin/strace
InstallationDate: Installed on 2015-01-09 (60 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcCmdline: strace spotify
Signal: 6
SourcePackage: strace
StacktraceTop:
__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
?? ()
__libc_start_main (main=0x402350, argc=2, argv=0x7fff6dbba1b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6dbba1a8) at libc-start.c:287
?? ()
Title: strace crashed with SIGABRT in __GI_raise()
UpgradeStatus: Upgraded to vivid on 2015-02-28 (10 days ago)
UserGroups: adm cdrom dip kvm libvirtd lpadmin plugdev sambashare sudo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strace/+bug/1430741/+subscriptions
More information about the foundations-bugs
mailing list