jack_server_control crashed with SIGSEGV in __strncmp_ia32()

Bug #1665979 reported by David Kastrup on 2017-02-19
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jack
New
Undecided
Unassigned
jack-audio-connection-kit (Ubuntu)
Medium
Unassigned

Bug Description

Called from the command line and just crashed. It might be related to me using a multilib setup with a 64bit kernel and generally 32bit userland.

ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: jackd1 1:0.125.0-2
ProcVersionSignature: Ubuntu 4.9.0-15.16-lowlatency 4.9.5
Uname: Linux 4.9.0-15-lowlatency x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: i386
CurrentDesktop: MATE
Date: Sun Feb 19 01:49:37 2017
ExecutablePath: /usr/bin/jack_server_control
InstallationDate: Installed on 2011-10-14 (1954 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
ProcCmdline: jack_server_control --help
Signal: 11
SourcePackage: jack-audio-connection-kit
StacktraceTop:
 __strncmp_ia32 (s1=0x2 <error: Cannot access memory at address 0x2>, s2=0xffab828d "help", n=4) at ../string/strncmp.c:42
 _getopt_internal_r (argc=2, argv=0xffab6544, optstring=0x80491e7 "d:c:", longopts=0xffab63dc, longind=0xffab63d8, long_only=0, d=<optimized out>, posixly_correct=0) at getopt.c:546
 _getopt_internal (argc=2, argv=0xffab6544, optstring=0x80491e7 "d:c:", longopts=0xffab63dc, longind=0xffab63d8, long_only=0, posixly_correct=0) at getopt.c:1175
 getopt_long (argc=2, argv=0xffab6544, options=0x80491e7 "d:c:", long_options=0xffab63dc, opt_index=0xffab63d8) at getopt1.c:65
 ?? ()
Title: jack_server_control crashed with SIGSEGV in __strncmp_ia32()
UpgradeStatus: Upgraded to zesty on 2017-01-05 (44 days ago)
UserGroups: adm admin audio cdrom dialout fax floppy lpadmin plugdev pulse-access sambashare

David Kastrup (dak) wrote :

StacktraceTop:
 __strncmp_ia32 (s1=0x2 <error: Cannot access memory at address 0x2>, s2=0xffab828d "help", n=4) at ../string/strncmp.c:42
 _getopt_internal_r (argc=2, argv=0xffab6544, optstring=0x80491e7 "d:c:", longopts=0xffab63dc, longind=0xffab63d8, long_only=0, d=<optimized out>, posixly_correct=0) at getopt.c:546
 _getopt_internal (argc=2, argv=0xffab6544, optstring=0x80491e7 "d:c:", longopts=0xffab63dc, longind=0xffab63d8, long_only=0, posixly_correct=0) at getopt.c:1175
 getopt_long (argc=2, argv=0xffab6544, options=0x80491e7 "d:c:", long_options=0xffab63dc, opt_index=0xffab63d8) at getopt1.c:65
 main (argc=<optimized out>, argv=<optimized out>) at server_control.c:156

Changed in jack-audio-connection-kit (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
David Kastrup (dak) on 2017-03-02
information type: Private → Public
David Kastrup (dak) wrote :

This is an upstream bug. I read in a source repository (mirror?)
https://github.com/jackaudio/example-clients/blob/master/server_control.c#L151-L154

 struct option long_options[] = {
  {"driver", 1, 0, 'd'},
  {"client", 1, 0, 'c'},
 };

This is missing a final entry {0, 0, 0, 0} to end the array. Does anybody have an idea who to contact?

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

Other bug subscribers