bugGNUstep - Bugs: bug #44343, [Gorm] failure to parse...

Group
 
 

bug #44343: [Gorm] failure to parse EditWindowController.h of GNUMail

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Sun 22 Feb 2015 08:16:38 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  rmottola
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Mar 2015 08:12:28 PM UTC, comment #4: 

Your last commit fixed it, both on gcc and clang.

Riccardo Mottola <rmottola>
Group Member
Mon 02 Mar 2015 01:55:53 PM UTC, comment #3: 

I just tried on FreeBSD/clang/ICU 53

Trying to load any header causes a crash, segmentation fault:

#0  0x28dbfc91 in objc_msgSend () from /usr/local/lib/libobjc.so.4.6
#1  0x28b257ae in -[NSString stringByAppendingString:] (self=0x2c3e1ec8,
    _cmd=0x282deb20, aString=0x388) at NSString.m:1912
#2  0x282d87cb in -[NSScanner(OCHeaderParser) scanUpToAndIncludingString:intoString:] (self=0x2c2add38, _cmd=0x282dfd70, string=0x282dfc40, buffer=0xbfbfde94)
    at NSScanner+OCHeaderParser.m:38
#3  0x282d9d74 in -[OCHeaderParser _stripRedundantStatements] (
    self=<value optimized out>, _cmd=0x282dfd08) at OCHeaderParser.m:124
#4  0x282d9ebd in -[OCHeaderParser _preProcessFile] (self=0x2c3bdb68,
    _cmd=0x282dfda8) at OCHeaderParser.m:145
#5  0x282da0b9 in -[OCHeaderParser parse] (self=0x2c3bdb68, _cmd=0x28206240)
    at OCHeaderParser.m:191
#6  0x2818c75c in -[GormClassManager parseHeader:] (self=0x289cadfe,
    _cmd=0x281ff798, headerPath=0x2c3f0e18) at GormClassManager.m:1873
#7  0x2818247c in -[GormClassEditor loadClass:] (self=0x2c2c9ec8,
    _cmd=0x28218108, sender=0x2c1fc248) at GormClassEditor.m:957
#8  0x2819a72c in -[GormDocument loadClass:] (self=0x2c344808, _cmd=0x805c6e8,
    sender=0x2c1fc248) at GormDocument.m:1486
#9  0x080506f2 in -[Gorm loadClass:] (self=0x2bac0288, _cmd=0x2b97c290,
    sender=0x2c1fc248) at Gorm.m:841
#10 0x2850e221 in -[NSApplication sendAction:to:from:] (self=0x2bac0288,
    _cmd=0x287f48a0, aSelector=0x2b97c290, aTarget=0x2bac0288,
    sender=<value optimized out>) at NSApplication.m:2230
#11 0x285be053 in -[NSMenu performActionForItemAtIndex:] (
    self=<value optimized out>, _cmd=0x287f6218, index=<value optimized out>)
    at NSMenu.m:1328

I will try on another computer ASAP, including one configured without ICU.

Riccardo Mottola <rmottola>
Group Member
Mon 02 Mar 2015 05:07:13 AM UTC, comment #2: 

I've added a fix for this.  Please test it and let me know if this solves your issue.  I have tested it on the file you indicated.

GC

Gregory John Casamento <gcasa>
Group administrator
Sun 01 Mar 2015 04:40:28 PM UTC, comment #1: 

the problem is due to double ; at end of line 51

A workaround is clean up the line.


Riccardo Mottola <rmottola>
Group Member
Sun 22 Feb 2015 08:16:38 PM UTC, original submission:  

Gorm cannot parse EditWindowController.h of GNUMail

On the console:
2015-02-22 20:15:11.027 Gorm[7579] Scanner initialised with nil string
2015-02-22 20:15:11.034 Gorm[7579] <NSException: 0x886b320> NAME:NSRangeException REASON:in compare:options:range:locale:, range { 0, 1 } extends beyond size (0) INFO:(null)

Riccardo Mottola <rmottola>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33220:  EditWindowController.h added by gcasa (4KiB - application/octet-stream - Attaching file which Riccardo refers to in his bug report for reference.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Updated the item)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-05 rmottola StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2015-03-02 gcasa StatusNone Ready For Test
        Assigned toNone rmottola
    2015-03-01 gcasa Attached File- Added EditWindowController.h, #33220

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code