Opened 16 years ago

Closed 16 years ago

#619 deleted Support Requests (None)

spirit

Reported by: andystevenson Owned by: Joel de Guzman
Milestone: Component: spirit
Version: None Severity:
Keywords: Cc:

Description

Programme core dumps in the regex library when run from 
the command line but not within the debugger.
I think I have a problem either because the Cygwin 
environment or something about the spirit grammar I am 
using (quite large).

Can anyone help?

I am running latest Cygwin....

Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure -
-verbose --prefix=/usr --exec-prefix=/usr --
sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib 
--mandir=/usr/share/man --infodir=/usr/share/info --
enable-languages=c,ada,c++,d,f77,java,objc --enable-nls 
--without-included-gettext --enable-version-specific-
runtime-libs --without-x --enable-libgcj --disable-
java-awt --with-system-zlib --enable-interpreter --
disable-libgcj-debug --enable-threads=posix --enable-
java-gc=boehm --disable-win32-registry --enable-sjlj-
exceptions --enable-hash-synchronization --enable-
libstdcxx-debug : (reconfigured) 
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using 
dmd 0.125)


If you test this against the following ASN.1 definition 
(put it in a file) it will SEGV from the command line 
but works fine inside gdb.

if you run 'main file.asn' from the command line that 
should do it.

ASN1-CHARACTER-MODULE {joint-iso-itu-t asn1(1) 
specification(0) modules(0)
  iso10646(0)} DEFINITIONS ::=
BEGIN

Zs ::=
  BMPString
    (FROM (space | no-breakSpace | oghamSpaceMark | 
enQuad..zeroWidthSpace |
           narrowNo-breakSpace | 
mediumMathematicalSpace | ideographicSpace))

END



Change History (3)

comment:1 by Joel de Guzman, 16 years ago

Logged In: YES 
user_id=237817

The proper forum to post the problem to is Spirit's mailing
list:
https://lists.sourceforge.net/lists/listinfo/spirit-general

comment:2 by Joel de Guzman, 16 years ago

Logged In: YES 
user_id=237817

I am closing this for now. If you have further questions,
the proper forum to post the problem to is Spirit's mailing
list:
https://lists.sourceforge.net/lists/listinfo/spirit-general

comment:3 by andystevenson, 16 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.