Xvideo Segfault Tomb Raider 1 but not gl video.

Developer
May 7, 2014 at 6:06 AM
Edited May 7, 2014 at 12:26 PM
Hello Everyone,

Tomb Raider 1 segfaults with the xvideo driver but not the gl video driver. Here is a bt.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe40f6300 in FillSoftwareArea (x0=68, y0=132, x1=30872, y1=0, col=96)
at soft.c:1171
1171 for(j=0;j<dx;j++) { PUTLE32(DSTPtr, lcol); DSTPtr++; }
(gdb) bt
0 #0 0x00007fffe40f6300 in FillSoftwareArea (x0=68, y0=132, x1=30872, y1=0,
col=96) at soft.c:1171
1 #1 0x00007fffe40ec343 in primBlkFill (baseAddr=<optimized out>) at prim.c:604
2 #2 0x00007fffe40c3ebb in GPUwriteDataMem (pMem=0x7fffe9012034,
pMem@entry=0x7fffe901201c, iSize=142) at gpu.c:1585
3 #3 0x00007fffe40c4314 in GPUdmaChain (baseAddrL=0x7fffe8fe2000, addr=196632)
at gpu.c:1704
4 #4 0x0000000000452e66 in psxDma2 (madr=2147808264, bcr=<optimized out>,
chcr=<optimized out>) at gpu.c:163
5 #5 0x00007fffe801c1d3 in ?? ()
6 #6 0x00007fffe7b1d110 in ?? ()
7 #7 0x000000000043ed8f in execute () at ix86_64/iR3000A-64.c:525
8 #8 0x000000000043edff in recExecute () at ix86_64/iR3000A-64.c:545
9 #9 0x00007ffff22b1f87 in ?? () from /usr/lib64/../lib64/libgobject-2.0.so.0
10 #10 0x00007ffff22c9ec5 in g_signal_emit_valist ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
11 #11 0x00007ffff22cb0ad in g_signal_emit_by_name ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
12 #12 0x00007ffff22b1f87 in ?? () from /usr/lib64/../lib64/libgobject-2.0.so.0
13 #13 0x00007ffff22c9ec5 in g_signal_emit_valist ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
14 #14 0x00007ffff22caba2 in g_signal_emit ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
15 #15 0x00007ffff77cf968 in ?? () from /usr/lib64/../lib64/libgtk-3.so.0
16 #16 0x00007ffff22b1f87 in ?? () from /usr/lib64/../lib64/libgobject-2.0.so.0
17 #17 0x00007ffff22c9ec5 in g_signal_emit_valist ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
18 #18 0x00007ffff22caba2 in g_signal_emit ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
19 #19 0x00007ffff77ce513 in ?? () from /usr/lib64/../lib64/libgtk-3.so.0
20 #20 0x00007ffff78985ce in ?? () from /usr/lib64/../lib64/libgtk-3.so.0
21 #21 0x00007ffff22b1f87 in ?? () from /usr/lib64/../lib64/libgobject-2.0.so.0
22 #22 0x00007ffff22c9ec5 in g_signal_emit_valist ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
23 #23 0x00007ffff22caba2 in g_signal_emit ()
from /usr/lib64/../lib64/libgobject-2.0.so.0
24 #24 0x00007ffff79b87a4 in ?? () from /usr/lib64/../lib64/libgtk-3.so.0
25 #25 0x00007ffff789691c in ?? () from /usr/lib64/../lib64/libgtk-3.so.0
26 #26 0x00007ffff78981b5 in gtk_main_do_event ()
from /usr/lib64/../lib64/libgtk-3.so.0
27 #27 0x00007ffff74d02f2 in ?? () from /usr/lib64/../lib64/libgdk-3.so.0
28 #28 0x00007ffff1db7316 in g_main_context_dispatch ()
from /usr/lib64/../lib64/libglib-2.0.so.0
29 #29 0x00007ffff1db7668 in ?? () from /usr/lib64/../lib64/libglib-2.0.so.0
30 #30 0x00007ffff1db7a6a in g_main_loop_run ()
from /usr/lib64/../lib64/libglib-2.0.so.0
31 #31 0x00007ffff78976bd in gtk_main () from /usr/lib64/../lib64/libgtk-3.so.0
32 #32 0x0000000000407991 in main (argc=1, argv=0x7fffffffe268) at LnxMain.c:419
Developer
May 20, 2014 at 3:34 PM
Edited May 20, 2014 at 3:36 PM
Hello Everyone,

Ok i traced this issue back to the Vampire Hunter D title screen hack revisited.

https://pcsxr.codeplex.com/SourceControl/changeset/87330