Debian Bug report logs - #594206
uncrustify segfault on faulty CPP file

version graph

Package: uncrustify; Maintainer for uncrustify is Johann Rudloff <cypheon@gmx.net>; Source for uncrustify is src:uncrustify.

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Tue, 24 Aug 2010 15:24:02 UTC

Severity: important

Found in version uncrustify/0.56-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Johann Rudloff <cypheon@gmx.net>:
Bug#594206; Package uncrustify. (Tue, 24 Aug 2010 15:24:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Johann Rudloff <cypheon@gmx.net>. (Tue, 24 Aug 2010 15:24:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: uncrustify segfault on faulty CPP file
Date: Tue, 24 Aug 2010 17:20:33 +0200
Package: uncrustify
Version: 0.56-2
Severity: important


Hi,

  uncrustify currently segfault on improper CPP file. 

$ uncrustify -c /tmp/Uncrustify_itk.txt -l CPP --no-backup ./DataDictionary/gdcmRoot.cxx
Parsing: ./DataDictionary/gdcmRoot.cxx as language CPP
[1]    24970 segmentation fault  uncrustify -c /tmp/Uncrustify_itk.txt -l CPP --no-backup 


where backtrace is:

<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/uncrustify...(no debugging symbols found)...done.
Parsing: ./DataDictionary/gdcmRoot.cxx as language CPP

Program received signal SIGSEGV, Segmentation fault.
0x0000000000407b5c in ?? ()
(gdb) bt
#0  0x0000000000407b5c in ?? ()
#1  0x0000000000402cea in ?? ()
#2  0x0000000000403364 in ?? ()
#3  0x0000000000404147 in ?? ()
#4  0x00007ffff72f4c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffffffe6b8) at libc-start.c:228
#5  0x0000000000402089 in ?? ()
#6  0x00007fffffffe6b8 in ?? ()
#7  0x000000000000001c in ?? ()
#8  0x0000000000000007 in ?? ()
#9  0x00007fffffffe9b9 in ?? ()
#10 0x00007fffffffe9cd in ?? ()
#11 0x00007fffffffe9d0 in ?? ()
#12 0x00007fffffffe9e8 in ?? ()
#13 0x00007fffffffe9eb in ?? ()
#14 0x00007fffffffe9ef in ?? ()
#15 0x00007fffffffe9fb in ?? ()
#16 0x0000000000000000 in ?? ()



Source code can be found at:

http://gdcm.svn.sf.net/viewvc/gdcm/trunk/Source/DataDictionary/gdcmRoot.cxx?revision=6978&view=markup


Thanks 

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages uncrustify depends on:
ii  libc6                         2.11.1-3   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  libstdc++6                    4.4.2-9    The GNU Standard C++ Library v3

uncrustify recommends no packages.

uncrustify suggests no packages.

-- no debconf information




Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:54:57 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 05:37:39 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.