discuss-gnustep
[Top][All Lists]
Advanced

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

NSURLConnection Test aborts on Debian 11 (aarch64)


From: Hugo Melder
Subject: NSURLConnection Test aborts on Debian 11 (aarch64)
Date: Sun, 29 May 2022 22:36:34 +0200

Hi,

I’m currently in the process of automating Debian and RPM packaging, yet on 
aarch64 the NSURLConnection test aborts while trying to fetch a remote website 
(google). I’ve linked base using lld and later gold (just to confirm that this 
is not a linker issue). The test fails at 
Tests/base/NSURLConnection/basic.m:56. An exception is thrown from an 
NSRunLoop. Sadly, I’m not familiar with the NSRunLoop source code.

Backtrace in LLDB:

Current executable set to 
'/home/debian/libs-base/Tests/base/NSURLConnection/obj/basic' (aarch64).
(lldb) run
Process 130842 launched: 
'/home/debian/libs-base/Tests/base/NSURLConnection/obj/basic' (aarch64)
Passed test:     (2022-05-29 13:14:16.905 -0700) basic.m:20 ... NSURLConnection 
+alloc returns an NSURLConnection
Passed test:     (2022-05-29 13:14:16.918 -0700) basic.m:24 ... NSURLConnection 
can handle an valid HTTP request (GET)
Passed test:     (2022-05-29 13:14:16.918 -0700) basic.m:27 ... NSURLConnection 
can handle an invalid HTTP request (WRONGMETHOD)
Process 130842 stopped and restarted: thread 1 received signal: SIGCHLD
Passed test:     (2022-05-29 13:14:22.216 -0700) basic.m:32 ... NSURLConnection 
+connectionWithRequest: delegate: with nil as delegate returns a instance
Passed test:     (2022-05-29 13:14:23.218 -0700) basic.m:39 ... NSURLConnection 
synchronously load data from an http URL
Passed test:     (2022-05-29 13:14:23.219 -0700) basic.m:41 ... NSURLConnection 
synchronous load returns a response
Passed test:     (2022-05-29 13:14:23.219 -0700) basic.m:50 ... NSURLConnection 
synchronously load data from a local file
Process 130842 stopped
* thread #1, name = 'basic', stop reason = signal SIGABRT
    frame #0: 0x0000fffff73522ac libc.so.6`raise + 220
libc.so.6`raise:
->  0xfffff73522ac <+220>: adrp   x0, 312
    0xfffff73522b0 <+224>: ldr    x0, [x0, #0xed8]
    0xfffff73522b4 <+228>: ldr    x1, [sp, #0x118]
    0xfffff73522b8 <+232>: ldr    x2, [x0]
(lldb) bt
* thread #1, name = 'basic', stop reason = signal SIGABRT
  * frame #0: 0x0000fffff73522ac libc.so.6`raise + 220
    frame #1: 0x0000fffff733eea0 libc.so.6`abort + 264
    frame #2: 0x0000fffff75ccce8 libobjc.so.4.6`objc_exception_throw + 300
    frame #3: 0x0000fffff7a80e8c libgnustep-base.so.1.28`-[NSException 
raise](self=0x0000000000dec398, _cmd="\xac") at NSException.m:1608:3
    frame #4: 0x0000fffff7b80cf0 libgnustep-base.so.1.28`-[NSRunLoop 
acceptInputForMode:beforeDate:](self=0x0000000000862798, _cmd="\x90\U00000015", 
mode=0x0000fffff7f2dff0, limit_date=0x000000000089bca8) at NSRunLoop.m:1284:7
    frame #5: 0x0000fffff7b8115c libgnustep-base.so.1.28`-[NSRunLoop 
runMode:beforeDate:](self=0x0000000000862798, _cmd=";\U00000003", 
mode=0x0000fffff7f2dff0, date=0x0000000000de3f38) at NSRunLoop.m:1334:7
    frame #6: 0x0000fffff7c09b80 
libgnustep-base.so.1.28`+[NSURLConnection(self=0x0000000000579b80, 
_cmd="\U00000018\U0000001a", request=0x000000000097a4c8, 
response=0x0000fffffffff000, error=0x0000ffffffffeff0) 
sendSynchronousRequest:returningResponse:error:] at NSURLConnection.m:377:15
    frame #7: 0x0000000000402420 basic`main at basic.m:56:10
    frame #8: 0x0000fffff733f218 libc.so.6`__libc_start_main + 232
    frame #9: 0x0000000000401784 basic`_start + 52
(lldb)


reply via email to

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