MacArthur, Ian (SELEX GALILEO, UK) wrote:
> So that all looks as if it ought to work fine. Most odd that it fails.
Note that I think Janus provided with the following stack trace
which I think was respect to this issue of tooltips.
Note that the crash is not really a crash, its an unhandled thrown exception
from the NsWindow objc class I think. ("objc_exception_throw")
Perhaps this exception is trying to tell us the string is invalid UTF-8
or some such, and is maybe something we should be trapping or something.
Sounds like an STR should be made with a small test program with "\xc2\xb1"
as the tooltip (or perhaps even a regular label string could trigger it).
I have an insanely busy week, or I'd do it myself.
* * *
2011-03-27 15:37:03.521 prodatum[83423:a0f] *** Assertion failure in -[FLWindow
setTitle:], /SourceCache/AppKit/AppKit-1038.35/AppKit.subproj/NSWindow.m:2036
2011-03-27 15:37:03.524 prodatum[83423:a0f] An uncaught exception was raised
2011-03-27 15:37:03.524 prodatum[83423:a0f] Invalid parameter not satisfying:
aString != nil
2011-03-27 15:37:03.526 prodatum[83423:a0f] *** Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not
satisfying: aString != nil'
*** Call stack at first throw:
(
0 CoreFoundation 0x92b2e6ba __raiseError + 410
1 libobjc.A.dylib 0x973f9509 objc_exception_throw
+ 56
2 CoreFoundation 0x92b2e3e8 +[NSException
raise:format:arguments:] + 136
3 Foundation 0x94390ae7 -[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x92e3565d -[NSWindow
setTitle:] + 156
5 prodatum 0x000cf41b
_ZL18q_set_window_titleP8NSWindowPKc + 96
6 prodatum 0x000d66fe
_ZN4Fl_X4makeEP9Fl_Window + 2158
7 prodatum 0x000d6d0d _ZN9Fl_Window4showEv
+ 183
8 prodatum 0x00114479
_ZN16Fl_Single_Window4showEv + 17
9 prodatum 0x00104e27
_ZN14Fl_Menu_Window4showEv + 17
10 prodatum 0x0012454c
_ZN13Fl_TooltipBox4showEv + 36
11 prodatum 0x00124132
_ZL15tooltip_timeoutPv + 263
12 prodatum 0x000d7c2a
_ZL8do_timerP16__CFRunLoopTimerPv + 86
13 CoreFoundation 0x92a98adb __CFRunLoopRun + 8059
14 CoreFoundation 0x92a96464 CFRunLoopRunSpecific
+ 452
15 CoreFoundation 0x92a96291 CFRunLoopRunInMode +
97
16 HIToolbox 0x9060ce04
RunCurrentEventLoopInMode + 392
17 HIToolbox 0x9060cbb9
ReceiveNextEventCommon + 354
18 HIToolbox 0x9060ca3e
BlockUntilNextEventMatchingListInMode + 81
19 AppKit 0x92de278d _DPSNextEvent + 847
20 AppKit 0x92de1fce -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
21 prodatum 0x000d8329
_ZL16do_queued_eventsd + 238
22 prodatum 0x000d83aa _Z7fl_waitd + 40
23 prodatum 0x000d8447
_Z21fl_mac_flush_and_waitdc + 141
24 prodatum 0x000ded06 _ZN2Fl4waitEd + 146
25 prodatum 0x000dedcd _ZN2Fl3runEv + 35
26 prodatum 0x000c5f60 main + 1149
27 prodatum 0x00003ed1 start + 53
)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk