Re: mingw - Ink crash

2011-08-25 Thread Riccardo Mottola

Fred Kiefer wrote:
I could not reproduce this crash on Ink compiled for the current 
version of MinGW. Could you please check that base got installed into 
the correct place and that there aren't two versions of GNUstep base 
installed in two different places?


Fred


I rebuilt everything by forcing the gnustep installation domain (and 
cleaning the old versions).


Now Ink doesn't fail any more. That's a good thing. I will try to stress 
things again and see how real-world applications fare.


Riccardo


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-24 Thread Riccardo Mottola

Hi,

Riccardo Mottola wrote:


I did a svn update, make clean, make and run that executable... so in theory 
"no". Then, make systems are not exact science.

$ ls -l Ink.app/Ink.exe
-rwxr-xr-x 1 mottola Administrators 750367 Aug 23 14:34 Ink.app/Ink.exe

$ ls -l ../../../../core/base/Source/NSException.m
-rw-r--r-- 1 mottola Administrators 25594 Jun  3 20:31 
../../../../core/base/Source/NSException.m


Aug 23>  Jun 3 :)

These aren't the relevant dates. The relevant ones would be those of 
gnustep-base dll vs. NSException.m.

To find out that you are using the correct dll, try info sharedlibrary in gdb 
when Ink crashes. Also make sure that your executable isn't loading two 
different versions of gnustep-base.



You are right, make ins mixing up the installation domains (again). For 
a long time everything worked smoothly... this is very inconvenient. 
I'll try forcing again as in the dark times.


Riccardo


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-24 Thread Wolfgang Lux
Riccardo Mottola wrote:

> I did a svn update, make clean, make and run that executable... so in theory 
> "no". Then, make systems are not exact science.
> 
> $ ls -l Ink.app/Ink.exe
> -rwxr-xr-x 1 mottola Administrators 750367 Aug 23 14:34 Ink.app/Ink.exe
> 
> $ ls -l ../../../../core/base/Source/NSException.m
> -rw-r--r-- 1 mottola Administrators 25594 Jun  3 20:31 
> ../../../../core/base/Source/NSException.m
> 
> 
> Aug 23 > Jun 3 :)

These aren't the relevant dates. The relevant ones would be those of 
gnustep-base dll vs. NSException.m.

To find out that you are using the correct dll, try info sharedlibrary in gdb 
when Ink crashes. Also make sure that your executable isn't loading two 
different versions of gnustep-base.

Wolfgang


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-23 Thread Fred Kiefer
I could not reproduce this crash on Ink compiled for the current version 
of MinGW. Could you please check that base got installed into the 
correct place and that there aren't two versions of GNUstep base 
installed in two different places?


Fred


On 23.08.2011 17:28, Riccardo Mottola wrote:

on mingw / windows, opening the "Colors" panel of Ink leads to a crash
with the following stacktrace. Code is current.

Program received signal SIGSEGV, Segmentation fault.
_NSAddHandler (handler=0x22f650) at NSException.m:1117
warning: Source file is more recent than executable.
1117 handler->next = thread->_exception_handler;
(gdb) bt
#0 _NSAddHandler (handler=0x22f650) at NSException.m:1117
#1 0x01b9a3e9 in -[NSAttributedString(NSStringDrawing) size] (
self=0x1373038, _cmd=0x6d649f80) at NSStringDrawing.m:542
#2 0x6d4562ec in -[NSCell cellSize] (self=0x1372be0, _cmd=0x6d65a298)
at NSCell.m:1878
#3 0x6d478ca7 in -[NSControl sizeToFit] (self=0x1372b00, _cmd=0x6ffc7900)
at NSControl.m:655
#4 0x6ffc2bf5 in -[GSStandardCSColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffcbb70) at GSStandardColorPicker.m:345
#5 0x6ffc56d3 in -[GSGrayColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffc7858) at GSGrayColorPicker.m:98
#6 0x6ffc24bf in -[GSStandardCSColorPicker provideNewView:]
(self=0x1371978,
_cmd=0x6ffc7768, initialRequest=1) at GSStandardColorPicker.m:281
#7 0x6ffc1948 in -[GSStandardColorPicker loadViews] (self=0x13718e0,
_cmd=0x6ffc7738) at GSStandardColorPicker.m:169
#8 0x6ffc181f in -[GSStandardColorPicker provideNewView:] (self=0x13718e0,
_cmd=0x6d6535d8, initialRequest=1) at GSStandardColorPicker.m:142
#9 0x6d469c45 in -[NSColorPanel(PrivateMethods) _loadPickerAtPath:] (
self=0x12ef728, _cmd=0x6d653598, path=0x142e670) at NSColorPanel.m:148
#10 0x6d469a05 in -[NSColorPanel(PrivateMethods) _loadPickers] (
self=0x12ef728, _cmd=0x6d653958) at NSColorPanel.m:120
#11 0x6d46c6c3 in -[NSColorPanel init] (self=0x12ef728, _cmd=0x6d6538f8)
at NSColorPanel.m:544
#12 0x6d46c38f in +[NSColorPanel sharedColorPanel] (self=0x6d653400,
_cmd=0x6d653558) at NSColorPanel.m:466
#13 0x6d4697d4 in -[NSApplication(NSColorPanel) orderFrontColorPanel:] (
self=0x11a8d80, _cmd=0x6d6da018, sender=0x13042d0) at NSColorPanel.m:75
#14 0x6d420ae0 in -[NSApplication sendAction:to:from:] (self=0x11a8d80,
_cmd=0x6d686da0, aSelector=0x6d6da018, aTarget=0x0, sender=0x13042d0)
at NSApplication.m:2232
#15 0x6d4d6eb9 in -[NSMenu performActionForItemAtIndex:] (self=0x12fd318,
_cmd=0x6d689b90, index=9) at NSMenu.m:1322
#16 0x6d4df6af in -[NSMenuView _trackWithEvent:] (self=0x1305610,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1801
#17 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x130b088,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#18 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x14123e0,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#19 0x6d4e028c in -[NSMenuView trackWithEvent:] (self=0x14123e0,
_cmd=0x6d689c78, event=0x140f150) at NSMenuView.m:1824
#20 0x6d4e03ee in -[NSMenuView mouseDown:] (self=0x14123e0,
_cmd=0x6d6e4b70,
theEvent=0x140f150) at NSMenuView.m:1863
#21 0x6d5b06c2 in -[NSWindow sendEvent:] (self=0x1310810, _cmd=0x6d6343d8,
theEvent=0x140f150) at NSWindow.m:3734
#22 0x6d41ef8a in -[NSApplication run] (self=0x11a8d80, _cmd=0x6d62a468)
at NSApplication.m:1564
#23 0x6d401354 in NSApplicationMain (argc=1, argv=0x105b468) at
Functions.m:91
#24 0x0040130b in main (argc=1, argv=0x105b468, env=0x3e31f8) at main.m:33


What can be wrong?



___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-23 Thread Riccardo Mottola

Hi,

I did a svn update, make clean, make and run that executable... so in 
theory "no". Then, make systems are not exact science.


$ ls -l Ink.app/Ink.exe
-rwxr-xr-x 1 mottola Administrators 750367 Aug 23 14:34 Ink.app/Ink.exe

$ ls -l ../../../../core/base/Source/NSException.m
-rw-r--r-- 1 mottola Administrators 25594 Jun  3 20:31 
../../../../core/base/Source/NSException.m



Aug 23 > Jun 3 :)

Riccardo

Wolfgang Lux wrote:

Riccardo Mottola wrote:


Hi,

on mingw / windows, opening the "Colors" panel of Ink leads to a crash with the 
following stacktrace. Code is current.

Program received signal SIGSEGV, Segmentation fault.
_NSAddHandler (handler=0x22f650) at NSException.m:1117
warning: Source file is more recent than executable.

^^
Any chance that you are running an Ink, which was compiled and linked against 
an older version of base/gui?

Wolfgang






___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-23 Thread Wolfgang Lux
Riccardo Mottola wrote:

> Hi,
> 
> on mingw / windows, opening the "Colors" panel of Ink leads to a crash with 
> the following stacktrace. Code is current.
> 
> Program received signal SIGSEGV, Segmentation fault.
> _NSAddHandler (handler=0x22f650) at NSException.m:1117
> warning: Source file is more recent than executable.
   ^^
Any chance that you are running an Ink, which was compiled and linked against 
an older version of base/gui?

Wolfgang



___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: mingw - Ink crash

2011-08-23 Thread Riccardo Mottola

Graphos crashes, when opening the inspector, with a very similar trace:

Program received signal SIGSEGV, Segmentation fault.
_NSAddHandler (handler=0x22f6e0) at NSException.m:1117
warning: Source file is more recent than executable.
1117  handler->next = thread->_exception_handler;
(gdb) bt
#0  _NSAddHandler (handler=0x22f6e0) at NSException.m:1117
#1  0x01b2a3e9 in -[NSAttributedString(NSStringDrawing) size] (
self=0x15655b8, _cmd=0x6d649f80) at NSStringDrawing.m:542
#2  0x6d4562ec in -[NSCell cellSize] (self=0x1565160, _cmd=0x6d65a298)
at NSCell.m:1878
#3  0x6d478ca7 in -[NSControl sizeToFit] (self=0x1565080, _cmd=0x6ffc7900)
at NSControl.m:655
#4  0x6ffc2bf5 in -[GSStandardCSColorPicker loadViews] (self=0x1563ef8,
_cmd=0x6ffcbb70) at GSStandardColorPicker.m:345
#5  0x6ffc56d3 in -[GSGrayColorPicker loadViews] (self=0x1563ef8,
_cmd=0x6ffc7858) at GSGrayColorPicker.m:98
#6  0x6ffc24bf in -[GSStandardCSColorPicker provideNewView:] 
(self=0x1563ef8,

_cmd=0x6ffc7768, initialRequest=1) at GSStandardColorPicker.m:281
#7  0x6ffc1948 in -[GSStandardColorPicker loadViews] (self=0x1563e60,
_cmd=0x6ffc7738) at GSStandardColorPicker.m:169
#8  0x6ffc181f in -[GSStandardColorPicker provideNewView:] (self=0x1563e60,
_cmd=0x6d6535d8, initialRequest=1) at GSStandardColorPicker.m:142
#9  0x6d469c45 in -[NSColorPanel(PrivateMethods) _loadPickerAtPath:] (
self=0x1337688, _cmd=0x6d653598, path=0x1406258) at NSColorPanel.m:148
#10 0x6d469a05 in -[NSColorPanel(PrivateMethods) _loadPickers] (
self=0x1337688, _cmd=0x6d653958) at NSColorPanel.m:120
#11 0x6d46c6c3 in -[NSColorPanel init] (self=0x1337688, _cmd=0x6d6538f8)
at NSColorPanel.m:544
#12 0x6d46c38f in +[NSColorPanel sharedColorPanel] (self=0x6d653400,
_cmd=0x429010) at NSColorPanel.m:466
#13 0x0040d640 in -[GRPropsEditor readProperties] (self=0x127d198,
_cmd=0x422548) at GRPropsEditor.m:73
#14 0x0040162b in -[Graphos showObjectInspector:] (self=0x135b8e8,
_cmd=0x111bc48, sender=0x13a0660) at Graphos.m:65
#15 0x6d420ae0 in -[NSApplication sendAction:to:from:] (self=0x126a578,
_cmd=0x6d686da0, aSelector=0x111bc48, aTarget=0x135b8e8, 
sender=0x13a0660)

at NSApplication.m:2232
Riccardo Mottola wrote:

Hi,

on mingw / windows, opening the "Colors" panel of Ink leads to a crash 
with the following stacktrace. Code is current.


Program received signal SIGSEGV, Segmentation fault.
_NSAddHandler (handler=0x22f650) at NSException.m:1117
warning: Source file is more recent than executable.
1117  handler->next = thread->_exception_handler;
(gdb) bt
#0  _NSAddHandler (handler=0x22f650) at NSException.m:1117
#1  0x01b9a3e9 in -[NSAttributedString(NSStringDrawing) size] (
self=0x1373038, _cmd=0x6d649f80) at NSStringDrawing.m:542
#2  0x6d4562ec in -[NSCell cellSize] (self=0x1372be0, _cmd=0x6d65a298)
at NSCell.m:1878
#3  0x6d478ca7 in -[NSControl sizeToFit] (self=0x1372b00, 
_cmd=0x6ffc7900)

at NSControl.m:655
#4  0x6ffc2bf5 in -[GSStandardCSColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffcbb70) at GSStandardColorPicker.m:345
#5  0x6ffc56d3 in -[GSGrayColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffc7858) at GSGrayColorPicker.m:98
#6  0x6ffc24bf in -[GSStandardCSColorPicker provideNewView:] 
(self=0x1371978,

_cmd=0x6ffc7768, initialRequest=1) at GSStandardColorPicker.m:281
#7  0x6ffc1948 in -[GSStandardColorPicker loadViews] (self=0x13718e0,
_cmd=0x6ffc7738) at GSStandardColorPicker.m:169
#8  0x6ffc181f in -[GSStandardColorPicker provideNewView:] 
(self=0x13718e0,

_cmd=0x6d6535d8, initialRequest=1) at GSStandardColorPicker.m:142
#9  0x6d469c45 in -[NSColorPanel(PrivateMethods) _loadPickerAtPath:] (
self=0x12ef728, _cmd=0x6d653598, path=0x142e670) at 
NSColorPanel.m:148

#10 0x6d469a05 in -[NSColorPanel(PrivateMethods) _loadPickers] (
self=0x12ef728, _cmd=0x6d653958) at NSColorPanel.m:120
#11 0x6d46c6c3 in -[NSColorPanel init] (self=0x12ef728, _cmd=0x6d6538f8)
at NSColorPanel.m:544
#12 0x6d46c38f in +[NSColorPanel sharedColorPanel] (self=0x6d653400,
_cmd=0x6d653558) at NSColorPanel.m:466
#13 0x6d4697d4 in -[NSApplication(NSColorPanel) orderFrontColorPanel:] (
self=0x11a8d80, _cmd=0x6d6da018, sender=0x13042d0) at 
NSColorPanel.m:75

#14 0x6d420ae0 in -[NSApplication sendAction:to:from:] (self=0x11a8d80,
_cmd=0x6d686da0, aSelector=0x6d6da018, aTarget=0x0, sender=0x13042d0)
at NSApplication.m:2232
#15 0x6d4d6eb9 in -[NSMenu performActionForItemAtIndex:] (self=0x12fd318,
_cmd=0x6d689b90, index=9) at NSMenu.m:1322
#16 0x6d4df6af in -[NSMenuView _trackWithEvent:] (self=0x1305610,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1801
#17 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x130b088,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#18 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x14123e0,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#19 0x6d4e028c in -[NSMenuView trackWithEvent:] (self=0x14123e0,
   

mingw - Ink crash

2011-08-23 Thread Riccardo Mottola

Hi,

on mingw / windows, opening the "Colors" panel of Ink leads to a crash 
with the following stacktrace. Code is current.


Program received signal SIGSEGV, Segmentation fault.
_NSAddHandler (handler=0x22f650) at NSException.m:1117
warning: Source file is more recent than executable.
1117  handler->next = thread->_exception_handler;
(gdb) bt
#0  _NSAddHandler (handler=0x22f650) at NSException.m:1117
#1  0x01b9a3e9 in -[NSAttributedString(NSStringDrawing) size] (
self=0x1373038, _cmd=0x6d649f80) at NSStringDrawing.m:542
#2  0x6d4562ec in -[NSCell cellSize] (self=0x1372be0, _cmd=0x6d65a298)
at NSCell.m:1878
#3  0x6d478ca7 in -[NSControl sizeToFit] (self=0x1372b00, _cmd=0x6ffc7900)
at NSControl.m:655
#4  0x6ffc2bf5 in -[GSStandardCSColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffcbb70) at GSStandardColorPicker.m:345
#5  0x6ffc56d3 in -[GSGrayColorPicker loadViews] (self=0x1371978,
_cmd=0x6ffc7858) at GSGrayColorPicker.m:98
#6  0x6ffc24bf in -[GSStandardCSColorPicker provideNewView:] 
(self=0x1371978,

_cmd=0x6ffc7768, initialRequest=1) at GSStandardColorPicker.m:281
#7  0x6ffc1948 in -[GSStandardColorPicker loadViews] (self=0x13718e0,
_cmd=0x6ffc7738) at GSStandardColorPicker.m:169
#8  0x6ffc181f in -[GSStandardColorPicker provideNewView:] (self=0x13718e0,
_cmd=0x6d6535d8, initialRequest=1) at GSStandardColorPicker.m:142
#9  0x6d469c45 in -[NSColorPanel(PrivateMethods) _loadPickerAtPath:] (
self=0x12ef728, _cmd=0x6d653598, path=0x142e670) at NSColorPanel.m:148
#10 0x6d469a05 in -[NSColorPanel(PrivateMethods) _loadPickers] (
self=0x12ef728, _cmd=0x6d653958) at NSColorPanel.m:120
#11 0x6d46c6c3 in -[NSColorPanel init] (self=0x12ef728, _cmd=0x6d6538f8)
at NSColorPanel.m:544
#12 0x6d46c38f in +[NSColorPanel sharedColorPanel] (self=0x6d653400,
_cmd=0x6d653558) at NSColorPanel.m:466
#13 0x6d4697d4 in -[NSApplication(NSColorPanel) orderFrontColorPanel:] (
self=0x11a8d80, _cmd=0x6d6da018, sender=0x13042d0) at NSColorPanel.m:75
#14 0x6d420ae0 in -[NSApplication sendAction:to:from:] (self=0x11a8d80,
_cmd=0x6d686da0, aSelector=0x6d6da018, aTarget=0x0, sender=0x13042d0)
at NSApplication.m:2232
#15 0x6d4d6eb9 in -[NSMenu performActionForItemAtIndex:] (self=0x12fd318,
_cmd=0x6d689b90, index=9) at NSMenu.m:1322
#16 0x6d4df6af in -[NSMenuView _trackWithEvent:] (self=0x1305610,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1801
#17 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x130b088,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#18 0x6d4e0196 in -[NSMenuView _trackWithEvent:] (self=0x14123e0,
_cmd=0x6d689c18, event=0x140f150) at NSMenuView.m:1650
#19 0x6d4e028c in -[NSMenuView trackWithEvent:] (self=0x14123e0,
_cmd=0x6d689c78, event=0x140f150) at NSMenuView.m:1824
#20 0x6d4e03ee in -[NSMenuView mouseDown:] (self=0x14123e0, _cmd=0x6d6e4b70,
theEvent=0x140f150) at NSMenuView.m:1863
#21 0x6d5b06c2 in -[NSWindow sendEvent:] (self=0x1310810, _cmd=0x6d6343d8,
theEvent=0x140f150) at NSWindow.m:3734
#22 0x6d41ef8a in -[NSApplication run] (self=0x11a8d80, _cmd=0x6d62a468)
at NSApplication.m:1564
#23 0x6d401354 in NSApplicationMain (argc=1, argv=0x105b468) at 
Functions.m:91

#24 0x0040130b in main (argc=1, argv=0x105b468, env=0x3e31f8) at main.m:33


What can be wrong?



___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev