Subj : Rpi + Synchronet + DosEMU2 = works!
To   : Ben Madsen
From : Digital Man
Date : Mon Jan 15 2024 09:16 pm

 Re: Rpi + Synchronet + DosEMU2 = works!
 By: Ben Madsen to nelgin on Mon Jan 15 2024 08:01 pm

>   Re: Rpi + Synchronet + DosEMU2 = works!
>   By: nelgin to All on Sat Dec 30 2023 03:16 am
>
>
>  > Have you decided not to run Synchronet on your Rpi because of problems
>  > compiling or because you wouldn't be able to run DOS doors?
>  > Your problems are over.
>
>  > Digital Man and Andre put together a great wiki on getting Synchronet to
>  > work and I have streamlined the process a little and added instructions
>  > to get a Rpi 4 with 64 bit Raspberry Pi OS up and running.
>
>  > The instructions are here:
>  > http://wiki.synchro.net/howto:raspbian_install
>
>  > I would like to know if anyone tries it and if they're successful or not
>  > and which device they are using. I did try this using Ubuntu and it
>  > didn't work out well so I recommend using the latest Raspberry Pi OS.
>  > Pick a non-desktop version for best performance so you don't have the
>  > graphical interface overhead.
>
> I had a Pine A64+ laying around that I was trying to install Synchronet on.
> Using DietPi the process could be followed exectly, but I'm getting a
> segfault when I try to start it up.
>
> GDB backtrace is showing:
> (Can't figure out to paste into Putty, dang it...)
>
> Thread 1 (Thread 0x#### (LWP 55229)):
> #0 0x#### in js_GetClassPrototype(JSContext*, JSObject*< JSProtoKey,
> JSObject**, js::Class*) () from /lib/libmozjs185.so.1.0
> #1 0x#### in ?? () from /lib/libmozjs185.so.1.0
> #2 0x#### in ?? ()
>
> The Pine A64+ is an arm-based processor with this uname -a output:
> Linux bbspine 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023
> aarch64 GNU/Linux
>
> Not sure what my next step as I'm a little light on debugging crashes with
> GDB these days.
>
> Does anybody have an idea what I might have missed or is my combination just
> too unsupported of an OS / Hardware config at the moment?

The problem is in libmozjs, so I'd suggest trying to build/use the libmozjs that's included in the SBBS repo instead of your system's libmozjs (in /lib).
--
                                           digital man (rob)

Breaking Bad quote #8:
I want Shania Twain to give me a tuggy. Guess what? That ain't happening either
Norco, CA WX: 53.2�F, 81.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs