[Scummvm-tracker] [ScummVM :: Bugs] #15015: COMMON: AGS games lead to a reproducable crash on exiting ScummVM
ScummVM :: Bugs
trac at scummvm.org
Mon Mar 18 20:49:17 UTC 2024
#15015: COMMON: AGS games lead to a reproducable crash on exiting ScummVM
--------------------+--------------------------
Reporter: raziel- | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGS
Version: | Resolution:
Keywords: | Game:
--------------------+--------------------------
Comment (by raziel-):
with just a little addition the script ran perfectly :-)
unfortunately, not the same output
{{{
/Development/Porting/sotest-main> ./sotest
sotest.cpp:35: int main(): Registering cleanup function
sotest.cpp:43: int main(): Loading SO
sotest.cpp:18: void fail(): error: DLOpen failed for './libfoo.so'
sotest.cpp:23: void cleanup(): This is cleanup()
}}}
---
{{{
++ -v 2>&1 | grep -io '[^[:space:]]*cxa_atexit'
}}}
that doesn't work here, but i get this with a different method
{{{
Binary file SDK:gcc/bin/g++ matches
}}}
so i guess it's inside?
---
{{{
g++ -Q --help=c++ | grep -iF atexit
}}}
Output:
{{{
-fuse-cxa-atexit [available in C++, ObjC++]
}}}
---
{{{
nm -D /lib64/libc.so.6 | grep -iF cxa_atexit
}}}
that doesn't work either, so i guess not?
I can find a "atexit" when looking with a hex editor, but nothing "cxa"
--
Ticket URL: <https://bugs.scummvm.org/ticket/15015#comment:15>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list