TheAssemblyArmada / Vanilla-Conquer

Vanilla Conquer provides clean, cross-platform builds of the C&C Remastered Collection and the standalone legacy games.
Other
355 stars 54 forks source link

Sound crash after playing around with TD mission startups #119

Closed hifi closed 4 years ago

hifi commented 4 years ago

Glad I run both games in a debugger all the time. I got a somewhat useful backtrace. This is with August 12th hotfix on top of vanilla:

Unhandled exception: page fault on read access to 0x06f200a4 in 32-bit code (0xf7c568f6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:f7c568f6 ESP:0244f488 EBP:0244f4a8 EFLAGS:00210202(  R- --  I   - - - )
 EAX:06f200a4 EBX:030ee048 ECX:00000002 EDX:0244f536
 ESI:0057422e EDI:0057422a
Stack dump:
0x0244f488:  030ee048 7f3a220f 0244f536 06f200a4
0x0244f498:  00000002 7bca0026 0266f634 0244f4c0
0x0244f4a8:  0244f4f8 004304c3 0266f634 003f8000
0x0244f4b8:  0244f4c8 004304c3 0244f536 06f200a4
0x0244f4c8:  00000002 c0000001 0244f4f0 0244f550
0x0244f4d8:  0244f538 7f2e78a0 0244f500 00004216
Backtrace:
=>0 0xf7c568f6 (0x0244f4a8)
  1 0x004304c3 _Z11Simple_CopyPPvPiS0_S1_S0_i+0x8a(source=0x5741c9, ssize=0x5741cd, alternate=0x57422a, altsize=0x57422e, dest=0x244f52c, size=0x2) [\\?\unix\home\hifi\work\Vanilla-Conquer\common\soundio.cpp:1481] in vanillatd (0x0244f4f8)
  2 0x0042e82c _Z11Sample_CopyP17SampleTrackerTypePPvPiS2_S3_S1_i13SCompressTypeS1_Ps+0xa7(st=0x574197, source=0x5741c9, ssize=0x5741cd, alternate=0x57422a, altsize=0x57422e, dest=0x30ee048, size=0x2000, scomp=SCOMP_SOS, trailer=0x5741fd, trailersize=0x5741fb) [\\?\unix\home\hifi\work\Vanilla-Conquer\common\soundio.cpp:1531] in vanillatd (0x0244f548)
  3 0x00446afe _Z20Maintenance_Callbackv+0x1e9() [\\?\unix\home\hifi\work\Vanilla-Conquer\common\soundio.cpp:149] in vanillatd (0x0244f5d8)
  4 0x004476f2 _Z20Sound_Timer_Callbackjjmmm@20+0x29(uID=0, uMsg=0, dwUser=0, dw1=0, dw2=0) [\\?\unix\home\hifi\work\Vanilla-Conquer\common\soundio.cpp:648] in vanillatd (0x0244f5f8)
  5 0x004387c8 _Z14Sound_Callbackv+0x5f() [\\?\unix\home\hifi\work\Vanilla-Conquer\common\soundio.cpp:528] in vanillatd (0x0244f638)
  6 0x00496a28 _ZN10ThemeClass2AIEv+0xb7() [\\?\unix\home\hifi\work\Vanilla-Conquer\tiberiandawn\theme.cpp:201] in vanillatd (0x0244f668)
  7 0x0046663e _Z9Call_Backv+0x1d() [\\?\unix\home\hifi\work\Vanilla-Conquer\tiberiandawn\conquer.cpp:1113] in vanillatd (0x0244f708)
  8 0x0043a504 _Z15Fade_Palette_ToPvjPFvvE+0xa7(palette1=0x2550940, delay=0xf, callback=0x466620) [\\?\unix\home\hifi\work\Vanilla-Conquer\common\palette.cpp:187] in vanillatd (0x0244f738)
  9 0x00430118 _Z11Select_Gameb+0x1667(fade=0x1) [\\?\unix\home\hifi\work\Vanilla-Conquer\tiberiandawn\init.cpp:1529] in vanillatd (0x0244fa58)
  10 0x00468f06 _Z9Main_GameiPPc+0x41(argc=0x2, argv=0x244fdd8) [\\?\unix\home\hifi\work\Vanilla-Conquer\tiberiandawn\conquer.cpp:152] in vanillatd (0x0244fb28)
  11 0x00427e7d WinMain@16+0xc9c(instance=0x400000, command_line="-CD.", command_show=0xa) [\\?\unix\home\hifi\work\Vanilla-Conquer\tiberiandawn\startup.cpp:577] in vanillatd (0x0244fe68)
  12 0x0052174d strtrim+0x304(str="ï Uï∞] %ädK{ÉÉÉÉÉÉÉÉï Uï∞] %êdK{ÉÉÉÉÉÉÉÉï Uï∞] %îdK{ÉÉÉÉÉÉÉÉï Uï∞] %ÉdK{ÉÉÉÉÉÉÉÉï Uï∞] %ödK{ÉÉÉÉÉÉÉÉï Uï∞] %ÿdK{ÉÉÉÉÉÉÉÉï Uï∞] %£dK{ÉÉÉÉÉÉÉÉï Uï∞] %ádK{ÉÉÉÉÉÉÉÉï Uï∞] %ñdK{ÉÉÉÉÉÉÉÉï Uï∞] %¿dK{ÉÉÉÉÉÉÉÉï Uï∞] %¼dK{ÉÉÉÉÉÉÉÉ
ï Uï∞] %░dK{ÉÉÉÉÉÉÉÉï Uï∞] %░dK{ÉÉÉÉÉÉÉÉï Uï∞] %┤dK{ÉÉÉÉÉÉÉÉï Uï∞] %┤dK{ÉÉÉÉÉÉÉÉï Uï∞] %╕dK{ÉÉÉÉÉÉÉÉï Uï∞] %╝dK{ÉÉÉÉÉÉÉÉï Uï∞] %└dK{ÉÉÉÉÉÉÉÉï Uï∞] %─dK{ÉÉÉÉÉÉÉÉï Uï∞] %╚dK{ÉÉÉÉÉÉÉÉï Uï∞] %╠dK{ÉÉÉÉÉÉÉÉï Uï∞] %╨dK{ÉÉÉÉÉÉÉÉï Uï∞] %╘dK{ÉÉÉÉÉÉÉÉï Uï∞] %╪dK{ÉÉÉ
ÉÉÉÉÉï Uï∞] %▄dK{ÉÉÉÉÉÉÉÉï Uï∞] %αdK{ÉÉÉÉÉÉÉÉï Uï∞] %ΣdK{ÉÉÉÉÉÉÉÉï Uï∞] %ΦdK{ÉÉÉÉÉÉÉÉï Uï∞] %∞dK{ÉÉÉÉÉÉÉÉï Uï∞] %≡dK{ÉÉÉÉÉÉÉÉï Uï∞] %⌠dK{ÉÉÉÉÉÉÉÉï Uï∞] %°dK{ÉÉÉÉÉÉÉÉï Uï∞] %ⁿdK{ÉÉÉÉÉÉÉÉï Uï∞] %") [\\?\unix\home\hifi\work\Vanilla-Conquer\common\misc.c:167] in vanillatd (0x0244fe88)
  13 0x00401386 _Z5UnionRK4RectS1_+0x401385(rect1=0x7b454882, rect2=0x3ff000) [\\?\unix\home\hifi\work\Vanilla-Conquer\common\rect.cpp:197] in vanillatd (0x0244ff28)
  14 0x7b454882 in kernel32 (+0x34881) (0x0244ff48)
  15 0x7b454cfc in kernel32 (+0x34cfb) (0x0244ffd8)
  16 0x7b45488e in kernel32 (+0x3488d) (0x0244ffec)
0xf7c568f6: movzbl      0x0(%eax),%ebx

I first started the GDI mission, played a few seconds, abort, NOD mission, few seconds, abort, GDI mission, boom before the first rendered map frame.

OmniBlade commented 4 years ago

Looks like the same thing as #60 but with a somewhat useful backtrace.