thelink2012 / gta3sc

GTA3script compiler
MIT License
70 stars 14 forks source link

glibc detected an invalid stdio handle #119

Open drozdowsky opened 6 years ago

drozdowsky commented 6 years ago

I got weird errors the first one is usually "Fatal error: glibc detected an invalid stdio handle" when I rerun I just get the Segmentation fault (core dumped)

./gta3sc decompile ./main.scm --config=gtavc -emit-ir2
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x6D2
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x6D3
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x260
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D85 at local offset 0x261
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x2ED
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x2EE
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15CE
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15CF
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15AA2
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15AA3
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15D28
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15D29
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15FE7
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15FE8
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x162DF
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x162E0
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16594
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16595
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16C29
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16C2A
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16EAF
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16EB0
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1716E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1716F
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17466
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17467
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17732
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17733
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17997
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17998
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18084
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18085
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1838A
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1838B
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18689
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1868A
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18981
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18982
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18C7B
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18C7C
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18EF8
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18EF9
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x194D1
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x194D2
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x196D9
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x196DA
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x198E1
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x198E2
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x19B23
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x19B24
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x19DA5
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x19DA6
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A336
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A337
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A53E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A53F
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A746
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A747
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A94E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A94F
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1AB92
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1AB93
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B13D
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B13E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B345
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B346
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B54D
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B54E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B755
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B756
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B95F
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B960
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BE9B
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BE9C
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BF14
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BF15
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BF62
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BF63
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C00A
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C00B
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C11A
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C11B
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C1C2
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C1C3
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C36E
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C36F
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C416
gta3sc: note: use --verbose to find which block this offset belongs to
gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C417
gta3sc: note: use --verbose to find which block this offset belongs to

I get this when using master, when using rewrite I don't even know how to build it and then run properly (there is no file like gta3sc) I followed the instructions from branches


Scanning dependencies of target gta3sc
[ 10%] Building CXX object lib/CMakeFiles/gta3sc.dir/sourceman.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/gta3sc.dir/preprocessor.cpp.o
[ 30%] Building CXX object lib/CMakeFiles/gta3sc.dir/scanner.cpp.o
[ 40%] Building CXX object lib/CMakeFiles/gta3sc.dir/parser.cpp.o
[ 50%] Linking CXX static library libgta3sc.a
[ 50%] Built target gta3sc
Scanning dependencies of target gta3sc_unittest
[ 60%] Building CXX object unittest/CMakeFiles/gta3sc_unittest.dir/main.cpp.o
[ 70%] Building CXX object unittest/CMakeFiles/gta3sc_unittest.dir/preprocessor.cpp.o
[ 80%] Building CXX object unittest/CMakeFiles/gta3sc_unittest.dir/scanner.cpp.o
[ 90%] Building CXX object unittest/CMakeFiles/gta3sc_unittest.dir/parser.cpp.o
[100%] Linking CXX executable gta3sc_unittest
[100%] Built target gta3sc_unittest

Still I can't see gta3sc

I don't get how this stuff works really so I am sorry also thanks for the tool

thelink2012 commented 6 years ago

Hi,

It seems like the Japanese version of Vice City has an additional opcode.

See https://web.archive.org/web/20160329152138/https://www.gtamodding.com/wiki/059C

Could you try editing config/gtavc/commands.xml to add this command?

Em ter, 9 de out de 2018 19:15, droso11 notifications@github.com escreveu:

I got weird errors the first one is usually "Fatal error: glibc detected an invalid stdio handle" when I rerun I just get the Segmentation fault (core dumped)

./gta3sc decompile ./main.scm --config=gtavc -emit-ir2 gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x6D2 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x6D3 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x260 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D85 at local offset 0x261 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x2ED gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x2EE gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15CE gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15CF gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15AA2 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15AA3 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15D28 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15D29 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x15FE7 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x15FE8 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x162DF gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x162E0 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16594 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16595 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16C29 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16C2A gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x16EAF gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x16EB0 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1716E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1716F gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17466 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17467 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17732 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17733 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x17997 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x17998 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18084 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18085 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1838A gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1838B gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18689 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1868A gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18981 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18982 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18C7B gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18C7C gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x18EF8 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x18EF9 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x194D1 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x194D2 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x196D9 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x196DA gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x198E1 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x198E2 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x19B23 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x19B24 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x19DA5 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x19DA6 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A336 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A337 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A53E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A53F gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A746 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A747 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1A94E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1A94F gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1AB92 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1AB93 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B13D gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B13E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B345 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B346 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B54D gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B54E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B755 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B756 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1B95F gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1B960 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BE9B gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BE9C gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BF14 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BF15 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1BF62 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1BF63 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C00A gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C00B gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C11A gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C11B gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C1C2 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C1C3 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C36E gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C36F gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: could not disassembly opcode 0x59C at local offset 0x1C416 gta3sc: note: use --verbose to find which block this offset belongs to gta3sc: warning: found unknown opcode 0x4D05 at local offset 0x1C417 gta3sc: note: use --verbose to find which block this offset belongs to

I get this when using master, when using rewrite I don't even know how to build it and then run properly (there is no file like gta3sc)

What I did was cmake + make

I don't get how this stuff works really so I am sorry also thanks for the tool

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thelink2012/gta3sc/issues/119, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpqzd-dTLIT0BzZbDErcRFm09eqD_Emks5ujR_0gaJpZM4XUO6x .

drozdowsky commented 6 years ago

After replacing SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED with IS_JAPANESE (without arguments) - there is no ir2 warnings/errors but segmentation fault still pops up. Japanese main.scm: main.scm.zip

Thanks for reply

thelink2012 commented 6 years ago

Hi,

Then it may be a bug in the code. I'm afraid I cannot debug this at the moment.

Thanks for uploading the Japanese SCM.

Em qua, 10 de out de 2018 15:48, droso11 notifications@github.com escreveu:

After replacing SET_ONSCREEN_COUNTER_FLASH_WHEN_FIRST_DISPLAYED with IS_JAPANESE (without arguments) - there is no ir2 warnings/errors but segmentation fault still pops up. Japanese main.scm: main.scm.zip https://github.com/thelink2012/gta3sc/files/2466042/main.scm.zip

Thanks for reply

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thelink2012/gta3sc/issues/119#issuecomment-428687725, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpqzXT_iL5sJkttkqoCZ3GFM_1o7ie5ks5ujkDpgaJpZM4XUO6x .

thelink2012 commented 4 years ago

Once again, thanks for your report. I couldn't reproduce it locally, but the rewrite (in the future) should fix all the problems of this code base.