gst-doc crashed with SIGSEGV in vfprintf()

Bug #410263 reported by salva
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnu-smalltalk (Ubuntu)
Fix Released
Medium
Unassigned
Karmic
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnu-smalltalk

It seems something is broken in gst-doc command line argument parsing.

TEST CASE
Running any of...
  $ gst-doc -f
  $ gst-doc -p

segfaults

ProblemType: Crash
Architecture: amd64
Date: Fri Aug 7 14:12:50 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gst-doc
Package: gnu-smalltalk 3.0.3-2
ProcCmdline: gst-doc -p
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SegvAnalysis:
 Segfault happened at: 0x7fe7754afab7 <vfprintf+15591>: repnz scas %es:(%rdi),%al
 PC (0x7fe7754afab7) ok
 source "%es:(%rdi)" (0x00000070) not located in a known VMA region (needed readable region)!
 destination "%al" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnu-smalltalk
StacktraceTop:
 vfprintf () from /lib/libc.so.6
 ?? () from /lib/libc.so.6
 vfprintf () from /lib/libc.so.6
 __vfprintf_chk () from /lib/libc.so.6
 option_error ()
Title: gst-doc crashed with SIGSEGV in vfprintf()
Uname: Linux 2.6.31-5-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
salva (sfandino) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:_IO_vfprintf_internal (s=0x7fff20037a30,
buffered_vfprintf (s=0x7fe7757d0860,
_IO_vfprintf_internal (s=0x7fe7757d0860,
___vfprintf_chk (fp=0x7fe7757d0860, flag=1,
option_error (

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in gnu-smalltalk (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
salva (sfandino)
visibility: private → public
Revision history for this message
Paolo Bonzini (bonzini) wrote :

Fixed upstream by 8819a0d5

diff --git a/gst-tool.c b/gst-tool.c
index 642cdb7..1d6a464 100644
--- a/gst-tool.c
+++ b/gst-tool.c
@@ -338,7 +338,7 @@ parse_short_options (const char *name, const char *arg)
         }

       else /* if (have_arg == OPT_MANDATORY) */
- option_error ("expected argument for option -%s", name[-1]);
+ option_error ("expected argument for option -%c", short_opt);
     }

   return 1;

Revision history for this message
Artur Rona (ari-tczew) wrote :

Maverick is not affected due to fresh upstream.

Changed in gnu-smalltalk (Ubuntu Maverick):
status: New → Fix Released
Revision history for this message
Artur Rona (ari-tczew) wrote :

Second bug which will be fixed in one upload is: bug 557290

Artur Rona (ari-tczew)
tags: added: verification-needed
Changed in gnu-smalltalk (Ubuntu Lucid):
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gnu-smalltalk into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnu-smalltalk (Ubuntu Lucid):
status: Confirmed → Fix Committed
Artur Rona (ari-tczew)
description: updated
Revision history for this message
Artur Rona (ari-tczew) wrote :

Test passed fine for me.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnu-smalltalk - 3.0.3-2ubuntu0.10.04.1

---------------
gnu-smalltalk (3.0.3-2ubuntu0.10.04.1) lucid-proposed; urgency=low

  [ Timothy Bielawa (Shaggy) <email address hidden> ]
  * debian/patches/10_fix_ftbfs_with_bash4.diff:
    - Fix broken test suite causing FTBFS (LP: #557290).

  [ Artur Rona ]
  * debian/patches/11_fix_crash.diff:
    - Fix crash with commands: gst-doc -f or gst-doc -f (LP: #410263).
 -- Artur Rona <email address hidden> Fri, 17 Sep 2010 16:27:04 +0200

Changed in gnu-smalltalk (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted gnu-smalltalk into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnu-smalltalk (Ubuntu Karmic):
status: New → Fix Committed
tags: removed: verification-done
tags: added: verification-needed
Revision history for this message
Artur Rona (ari-tczew) wrote :

Test passed fine for me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnu-smalltalk - 3.0.3-2ubuntu0.9.10.1

---------------
gnu-smalltalk (3.0.3-2ubuntu0.9.10.1) karmic-proposed; urgency=low

  [ Timothy Bielawa (Shaggy) <email address hidden> ]
  * debian/patches/10_fix_ftbfs_with_bash4.diff:
    - Fix broken test suite causing FTBFS (LP: #557290).

  [ Artur Rona ]
  * debian/patches/11_fix_crash.diff:
    - Fix crash with commands: gst-doc -f or gst-doc -f (LP: #410263).
 -- Artur Rona <email address hidden> Sun, 21 Nov 2010 16:38:01 +0100

Changed in gnu-smalltalk (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.