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

 
 

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

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

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Sun 22 Feb 2015 08:16:38 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Riccardo Mottola <rmottola>
Open/Closed: Closed

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

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

Riccardo Mottola <rmottola>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project 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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.

 

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
  • -unavailable- added by gcasa (Updated the item)
  • -unavailable- added by rmottola (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Mar 2015 08:12:28 PM UTCrmottolaStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 02 Mar 2015 05:07:13 AM UTCgcasaStatusNone=>Ready For Test
      Assigned toNone=>rmottola
    Sun 01 Mar 2015 04:15:51 PM UTCgcasaAttached File-=>Added EditWindowController.h, #33220

    Back to the top


    Powered by Savane 3.1-cleanup1