Debian Bug report logs - #594210
uncrustify fails when string contains non-ASCII charx

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:45:01 UTC

Severity: normal

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#594210; Package uncrustify. (Tue, 24 Aug 2010 15:45:04 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:45:04 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 fails when string contains non-ASCII charx
Date: Tue, 24 Aug 2010 17:40:49 +0200
Package: uncrustify
Version: 0.56-2
Severity: normal


Hi,

I am getting a segfault when uncrustify find a non-ASCII char:

Parsing: ./DataStructureAndEncodingDefinition/gdcmCSAHeader.cxx as language CPP
./DataStructureAndEncodingDefinition/gdcmCSAHeader.cxx:78 Bailed before the end?
flag_parens: no match for [{] at  [24:1]
./DataStructureAndEncodingDefinition/gdcmCSAHeader.cxx:24 Unmatched BRACE_OPEN
./DataStructureAndEncodingDefinition/gdcmCSAHeader.cxx:24 Unmatched BRACE_OPEN
[1]    25156 segmentation fault  uncrustify -c /tmp/Uncrustify_itk.txt -l CPP --no-backup 


File is at:

http://gdcm.svn.sf.net/viewvc/gdcm/trunk/Source/DataStructureAndEncodingDefinition/gdcmCSAHeader.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:43 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: Thu Apr 17 12:37:59 2014; Machine Name: beach.debian.org

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