libs-base
libs-base copied to clipboard
NSProxy failure on Solaris
base/NSProxy/test01.m:
Failed file: test01.m aborted without running all tests!
Passed test: (2025-11-05 14:47:06.905 GMT+1) test01.m:226 ... Proxy NSPoint
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x00011b34 in GSMakeFinePoint (x=437, y=243) at test01.m:21
21 return point;
(gdb) bt
#0 0x00011b34 in GSMakeFinePoint (x=437, y=243) at test01.m:21
#1 0x000123c8 in -[TypeTester finePointPfinePoint:] (self=0x32248,
_cmd=0x26e70 <_OBJC_SELECTOR_TABLE+352>, v=...) at test01.m:130
#2 0xfebd2ca8 in ffi_call_v8 () from /opt/csw/lib/libffi.so.8
#3 0xfebd22b4 in ffi_call_int () from /opt/csw/lib/libffi.so.8
#4 0xfef5713c in -[GSFFIInvocation invokeWithTarget:] (self=0x18ee70, _cmd=<optimized out>,
anObject=0x32248) at GSFFIInvocation.m:456
#5 0xfee1ecb0 in -[NSInvocation invoke] (self=0x18ee70, _cmd=0x26db8 <_OBJC_SELECTOR_TABLE+168>)
at NSInvocation.m:676
#6 0x000127f4 in -[MyProxy forwardInvocation:] (self=0xaccf0,
_cmd=0xff19c258 <_OBJC_SELECTOR_TABLE+184>, inv=0x18ee70) at test01.m:174
#7 0xfef56714 in GSFFIInvocationCallback (cif=0x18edf8, retp=0xffbff7f0, args=0xffbff698,
user=<optimized out>) at GSFFIInvocation.m:610
#8 0xfebd28f0 in ffi_closure_sparc_inner_v8 () from /opt/csw/lib/libffi.so.8
#9 0xfebe6bac in ffi_closure_v8 () from /opt/csw/lib/libffi.so.8
#10 0x00013cd8 in gnustep_base_user_main (argc=1, argv=0xffbff93c) at test01.m:227
#11 0x00011210 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p point $1 = {x = 437, y = 243}
looks legit at first. What could it be? alignment? @rfm
A struct return issue perhaps? Maybe in the ffi library or maybe in the way it's used?
On 5 Nov 2025 at 13:52, Riccardo @.***> wrote:
rmottola left a comment (gnustep/libs-base#559)
(gdb) p point $1 = {x = 437, y = 243}
looks legit at first. What could it be? alignment? @rfm
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>