strace crashed with SIGABRT in __GI_raise()

Bug #1430741 reported by Aneesh Neelam on 2015-03-11
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
strace (Ubuntu)
Medium
Unassigned

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

Aneesh Neelam (aneesh-neelam) wrote :
information type: Private → Public

StacktraceSource:
 #0 0x00007f9d6fd14e37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
   [Error: ../nptl/sysdeps/unix/sysv/linux/raise.c was not found in source tree]
 #1 0x0000000000402403 in main (argc=<optimized out>, argv=<optimized out>) at ../strace.c:2343
   [Error: ../strace.c was not found in source tree]
StacktraceTop:
 __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
 main (argc=<optimized out>, argv=<optimized out>) at ../strace.c:2343

Changed in strace (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in strace (Ubuntu):
status: New → Confirmed
yzp15 (yzp15) wrote :

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers