[Top][All Lists]

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

Odd libobjc2 1.9 crash on Aarch64

From: Patryk Laurent
Subject: Odd libobjc2 1.9 crash on Aarch64
Date: Wed, 15 May 2019 18:05:13 -0700


I built GNUstep with libobjc2 1.9 with library combo ng-gnu-gnu on a Pine64 laptop. When running a demo program with ARC it *occasionally* but not always segfaults prior to reporting if ARC is enabled.  What could be going on?

Interestingly I was not able to get it to segfault *while* running lldb. But I ran lldb on a core dump and got what I've included below. 

Any advice on how to further diagnose this?

Thank you,

address@hidden:~/Desktop/gnustep-build/FractionArcDemo.app$ ulimit -c unlimited

address@hidden:~/Desktop/gnustep-build/FractionArcDemo.app$ ./FractionArcDemo 

The fraction is: 1/3

Segmentation fault (core dumped)

address@hidden:~/Desktop/gnustep-build/FractionArcDemo.app$ ls

core  FractionArcDemo  Resources  stamp.make

address@hidden:~/Desktop/gnustep-build/FractionArcDemo.app$ lldb ./FractionArcDemo -c core 

(lldb) target create "./FractionArcDemo" --core "core"

Core file '/home/live/Desktop/gnustep-build/FractionArcDemo.app/core' (aarch64) was loaded.

(lldb) thread backtrace

* thread #1, name = 'FractionArcDemo', stop reason = signal SIGSEGV

  * frame #0: 0x0000000000000000

    frame #1: 0x0000007f81d25440 libobjc.so.4.6`selector_pool_next_index + 4

    frame #2: 0x0000007f81d02594 libobjc.so.4.6`logInt + 60


reply via email to

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