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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to