[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segmentation fault + new esnacc version
Hi,
I tried esnacc 1.7 (with the recommended patch 1.7.3) built with gcc 3.2.3 on a GNU/Linux Debian-based (Sarge) platform, and for the following test ASN :
MonProtocole.asn :
"""
MonProtocole DEFINITIONS ::= BEGIN
MaQuestion ::= SEQUENCE {
numero INTEGER,
question VisibleString
}
MaReponse ::= SEQUENCE {
questionNumero INTEGER,
reponse BOOLEAN
}
END
"""
if I selected C++ code generation and PER encoding (-C -E PER) esnacc fails with a segmentation fault :
"""
(gdb) where
#0 0x4007fee8 in vfprintf () from /lib/tls/libc.so.6
#1 0x4008868f in fprintf () from /lib/tls/libc.so.6
#2 0x08062adc in main ()
"""
My full command line is : '~/Logiciels/esnacc-1.7-install/bin/esnacc -C -E PER MonProtocole.asn'
If I switch to BER (either with -E BER or with no -E option), it works.
Am I making a mistake ?
My other question is : what is the timeframe for the next esnacc version which will allow to use more recent version of gcc ?
Thanks in advance for any hint,
best regards,
Olivier Boudeville.
---------------------------
EDF R&D : 1, avenue du Général de Gaulle, 92140 Clamart, France
Département SINETICS, groupe AASI (I22), bureau D-068
Office : 33 1 47 65 59 58 / Mobile : 33 6 16 83 37 22 / Fax : 33 1 47 65 34 24