[Slackbuilds-users] Segmentation Fault help needed
Antonio Leal
antonioleal at yahoo.com
Sun Mar 17 21:32:30 UTC 2024
Hi list,
I need some C expert opinion.
Slackbuild bbcsdl "console edition" is causing a segmentation fault on
slackware, works well on Debian, which is annoying :-|
https://github.com/rtrussell/BBCSDL/commit/6f12425251b72974268a6fb82e26382c2ee1acc0
is the one with the problem.
(previous release
https://github.com/rtrussell/BBCSDL/commit/b501c7856904be335bf891879b1f2329a1a2bfac
was working well.)
reproduction:
1) wget
https://github.com/rtrussell/BBCSDL/archive/6f12425/BBCSDL-6f12425251b72974268a6fb82e26382c2ee1acc0.tar.gz
2) tar xvfz BBCSDL-6f12425251b72974268a6fb82e26382c2ee1acc0.tar.gz
3) mv BBCSDL-6f12425251b72974268a6fb82e26382c2ee1acc0 BBCSDL
4) cd BBCSDL/console/linux
5) make # compiles 1 less than 20 seconds..
6) ./bbcbasic # bang! :-(
I tried -Os, gcc-13.2.0,... to no success...
For now I'm removing console support from the SlackBuild, but any help
is welcome.
António
More information about the SlackBuilds-users
mailing list