Subj : aarch64 build To : deon From : Digital Man Date : Tue Jan 21 2025 12:02:01 Re: aarch64 build By: deon to Digital Man on Tue Jan 21 2025 11:23 pm > Re: aarch64 build > By: deon to Digital Man on Tue Jan 21 2025 10:00 pm > > Howdy, > > > I'll recompile a DEBUG build for a proper backtrace... > > Here is a backtrace > > Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". > [7/4929] > Core was generated by `sbbs'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x0000ffffb57ba258 in JSObject::getClass (this=0x7fffa9e04100) at > jsobj.h:427 > 427 jsobj.h: No such file or directory. > [Current thread is 1 (Thread 0xffffaaffd1c0 (LWP 541))] > (gdb) bt full > #0 0x0000ffffb57ba258 in JSObject::getClass (this=0x7fffa9e04100) at > jsobj.h:427 > No locals. > #1 0x0000ffffb57baed0 in JSObject::isFunction (this=0x7fffa9e04100) at > jsfun.h:312 > No locals. > #2 0x0000ffffb588c67c in js::IsFunctionObject (v=...) at jsfun.h:342 > No locals. > #3 js::FindClassPrototype (cx=0xffff8c018240, scopeobj=0xffffa9e03048, > protoKey=JSProto_Function, protop=0xffffaaff9c80, clasp=0xffffb5c39b28 > ) at jsobj.cpp:6168 > v = {data = {asBits = 18445618172357787904, debugView = {payload47 = > 140736043434240, tag = JSVAL_TAG_OBJECT}, s = {payload = {i32 = -1444921088, > u32 = 2850046208, > why = 2850046208, word = 18445618172357787904}}, asDouble = > -nan(0xbffffa9e04100), asPtr = 0xfffbffffa9e04100}} > #4 0x0000ffffb588c8e0 in js_GetClassPrototype (cx=0xffff8c018240, > scopeobj=0xffffa9e03048, protoKey=JSProto_Function, protop=0xffffaaff9c80, > clasp=0xffffb5c39b28 ) > at jsobj.cpp:6212 > No locals. > #5 0x0000ffffb5827d78 in js::FindProto (proto=0xffffaaff9c80, > parent=0xffffa9e04080, clasp=0xffffb5c39b28 , > cx=0xffff8c018240) at jsobjinlines.h:1053 > protoKey = JSProto_Function > #6 js::detail::NewObject (kind=js::gc::FINALIZE_OBJECT2, > parent=0xffffa9e04080, proto=0x0, clasp=0xffffb5c39b28 , > cx=0xffff8c018240) > at jsobjinlines.h:1070 > obj = 0xffffb6a11150 > #7 js::NewFunction (parent=0xffffa9e04080, cx=0xffff8c018240) at > jsobjinlines.h:1114 > No locals. > #8 js_NewFunction (cx=0xffff8c018240, funobj=0x0, native=0xffffb5825954 > , nargs=0, flags=0, > parent=0xffffa9e04080, atom=0xffffa9e01640) > at jsfun.cpp:2729 > fun = 0xffffa9e04080 > #9 0x0000ffffb5828630 in js_DefineFunction (cx=0xffff8c018240, > obj=0xffffa9e04080, id=281473531778624, native=0xffffb5825954 > , nargs=0, > attrs=0) at jsfun.cpp:2960 > gop = 0xffffb57b05e8 jsval*)> > sop = 0xffffb57b0608 jsid, JSBool, jsval*)> > fun = 0x8 > wasDelegate = true > > My build command was: > make -f install-sbbs.mk DEBUG=1 SBBSDIR=/opt/sbbs So that would build/use the libmozjs from the sbbs repo. One thing to try would be to install/use the libmozjs package for your OS/platform (or similar), instead: https://wiki.synchro.net/howto:raspbian_install Those instructions previously included teh JSINCLUDE and JSLIB options to point to the installed/system libs and header files for libmozjs. -- digital man (rob) Sling Blade quote #25: Karl: they seen fit to put me in here and here I've been a great long while. Norco, CA WX: 68.9øF, 7.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs --- SBBSecho 3.23-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .