bugGNUstep - Bugs: bug #29191, How does gdlgsdoc work?

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29191: How does gdlgsdoc work?

Submitted by:  Federico Gimenez Nieto <fgimenez>
Submitted on:  Thu 11 Mar 2010 05:11:09 PM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: DocumentationStatus: Fixed
Privacy: PublicAssigned to: David Ayers <ayers>
Open/Closed: Closed

Sat 24 Apr 2010 02:10:30 PM UTC, comment #4:

Fix committed.

David Ayers <ayers>
Project MemberIn charge of this item.
Mon 19 Apr 2010 11:34:25 AM UTC, comment #3:

Change state to in test.

Fred Kiefer <FredKiefer>
Project Member
Sat 13 Mar 2010 07:20:53 AM UTC, comment #2:

ubuntu 9.10
base r29694 2010-02-21 10:33:24
gdl2 r29566 2010-02-12 02:44:52

Sergei Golovin <svg>
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

Sergei Golovin <svg>
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

Federico Gimenez Nieto <fgimenez>

 

Attached Files
file #19928:  gdl2_Tools_EOModel_GSDoc.patch added by svg (531B - text/x-patch - The patch to fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by ayers (Updated the item)
  • -unavailable- added by svg (Posted a comment)
  • -unavailable- added by fgimenez (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Apr 2010 02:10:30 PM UTCayersStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 19 Apr 2010 11:34:25 AM UTCFredKieferOpen/ClosedOpen=>In Test
    Tue 30 Mar 2010 09:30:20 AM UTCayersStatusNone=>Ready For Test
      Assigned toNone=>ayers
    Sat 13 Mar 2010 07:35:53 AM UTCsvgAttached File-=>Added gdl2_Tools_EOModel_GSDoc.patch, #19928

    Back to the top


    Powered by Savane 3.1-cleanup1