discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EasyDiff on windows crash


From: Riccardo Mottola
Subject: EasyDiff on windows crash
Date: Thu, 09 Aug 2012 15:38:33 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120715 Firefox/14.0.1 SeaMonkey/2.11

Hi,

after cleaning it a bit up, I have EasyDiff compiling and running on windows. Hover if I compare (even the same file with itself) I get a crash

#0  -[NSException raise] (self=0x589d6d90, _cmd=0x66ff04a8)
    at NSException.m:955
#1  0x66e705d3 in +[NSException raise:format:] (self=0x66ff02c0,
_cmd=0x67041180, name=0x66feffe4, format=0x67041018) at NSException.m:835
#2  0x66f6156c in default_realloc (zone=0x67040fc0, ptr=0x411b0020,
    size=161441860) at NSZone.m:150
#3  0x66dc33f3 in -[GSMutableArray addObject:] (self=0x4817058,
    _cmd=0x414db0, anObject=0x589d6648) at GSArray.m:461
#4  0x00407906 in -[DiffWrapper initWithFilename:andFilename:] (
    self=0x47bf5f0, _cmd=0x415b60, file1=0x4813a90, file2=0x48966e8)
    at DiffWrapper.m:70
#5  0x00408d43 in -[DiffWindowController _initWithFilename:andFilename:] (
self=0x48dfce0, _cmd=0x415af8, filename1=0x4813a90, filename2=0x48966e8)
    at DiffWindowController.m:130
#6  0x00408a09 in -[DiffWindowController initWithFilename:andFilename:] (
self=0x48dfce0, _cmd=0x417e10, filename1=0x4813a90, filename2=0x48966e8)
    at DiffWindowController.m:88
#7  0x0040d70a in -[DiffFileChooser compare:] (self=0x47cabb0,

If I try to check which number is being added, I get:
(gdb) p anObject
$1 = (id) 0x589d6648
(gdb) po anObject
89

and the array:
(gdb) p leftLineRangesArray
$3 = (class NSMutableArray *) 0x184b9849
(gdb) po leftLineRangesArray
[New thread 3600.0x12b4]

Program received signal SIGSEGV, Segmentation fault.
objc_msg_lookup (receiver=0x184b9849, op=0x66fe9cc0) at objc/sarray.h:163

So I suppose the array is busted? I don't get what could be wrong here and why it is happening on windows only

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]