Sat 13 Mar 2010 07:02:14 AM UTC, comment #1:
> gdlgsdoc --verbose=1 Examples/library.eomodel
gdlgsdoc --verbose=1 --template=Tools/eomodeltemplate.gsdoc Examples/library.eomodel
creates Examples/library.gsdoc for me (make debug=yes strip=no).
I have no idea why segfault happens with the optimization is enabled by plain "make".
The backtrace:
#0 0xb7b5f7ac in objc_msg_lookup (receiver=0xb7f8b5e0, op=0xb7f582f8)
at /build/buildd/gcc-4.4-4.4.1/src/libobjc/sendmsg.c:225
#1 0xb7d5342e in GSPrivateFormat (s=0xbfffd730, format=0xbfffd78c,
ap=0xbfffe87c "\240k\023\b\200\350\021\bt \005\b\320`\023\b\300W\023\b8 \005\b\340\265\370\267\060w\023\b$\351\377\277\300\f\f\bjb", locale=0x0) at GSFormat.m:1848
#2 0xb7d702eb in -[GSPlaceholderString initWithFormat:locale:arguments:] (self=0x8067dd8, _cmd=0xb7fa9be8,
format=0x805208c, locale=0x0,
argList=0xbfffe87c "\240k\023\b\200\350\021\bt \005\b\320`\023\b\300W\023\b8 \005\b\340\265\370\267\060w\023\b$\351\377\277\300\f\f\bjb") at GSString.m:769
#3 0xb7e8f76e in -[NSString initWithFormat:arguments:] (self=0x8067dd8, _cmd=0xb7fdbe08, format=0x805208c,
argList=0xbfffe87c "\240k\023\b\200\350\021\bt \005\b\320`\023\b\300W\023\b8 \005\b\340\265\370\267\060w\023\b$\351\377\277\300\f\f\bjb") at NSString.m:1073
#4 0xb7f207e6 in +[NSString(GNUstepBase) stringWithFormat:arguments:] (self=0xb7fa9a60, _cmd=0xb7fa9c38, format=0x805208c,
argList=0xbfffe87c "\240k\023\b\200\350\021\bt \005\b\320`\023\b\300W\023\b8 \005\b\340\265\370\267\060w\023\b$\351\377\277\300\f\f\bjb") at NSString+GNUstepBase.m:45
#5 0xb7e92954 in -[NSString stringByAppendingFormat:] (self=0x8136100, _cmd=0x8051f30, format=0x805208c) at NSString.m:1501
#6 0x0804ab48 in -[EOModel(GSDoc) gsdocContentSplittedByEntities:idPtr:] (self=0x811d560, _cmd=0x8052c38, entitiesPtr=0x0,
xmlIdPtr=0x0) at EOModel+GSDoc.m:77
#7 0x0804ccad in main (argc=3, argv=0xbfffeb64, env=0xbfffeb74) at gsdoc-model.m:411
|
Thu 11 Mar 2010 05:11:09 PM UTC, original submission:
Hi
After installing gdl2 0.12.0, i'm trying to test gdlgsdoc. When doing:
gdlgsdoc --verbose=1 Examples/library.eomodel
i get the following:
2010-03-10 09:53:12.553 gdlgsdoc[12079] File NSData.m: 161. In
readContentsOfFile Open ((nil)) attempt failed - bad path
2010-03-10 09:53:12.565 gdlgsdoc[12079] File 1/1 - Processing
./Examples/library.eomodel
2010-03-10 09:53:12.579 gdlgsdoc[12079] Model ./Examples/library.eomodel loaded
2010-03-10 09:53:12.580 gdlgsdoc[12079] Start: EOModel
Segmentation fault
If the build is done with DEB_BUILD_OPTIONS="noopt nostrip", the same command exits with success but produces no gsdoc file.
Am i missing something? How does gdlgsdoc work?
Thanks,
Federico
|