cai567890 / pcsx2

Automatically exported from code.google.com/p/pcsx2
1 stars 0 forks source link

pcsx2 crashes with an unhandled page fault #1469

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The game runs mostly fine and I'm nearly through and the crash only happend 
twice.
This here is a similar bug http://code.google.com/p/pcsx2/issues/detail?id=1296 
but was resolved due to a driver problem.
I use the software renderer of GSdx.
The bug is not easily reproduceable because I'm not sure what the trigger is.
It happend once when fighting Kurt and the first time was against the dragon 
form of Maleficent (I think or it was Kurt one of the two)
Sadly I didn't start pcsx2 from a terminal so I can't give any additional 
information except for the output from the gui that doesn't contain a 
stacktrace.

/tmp/yaourt-tmp-thomas/aur-pcsx2-svn/src/pcsx2/common/src/Utilities/Linux/LnxHos
tSys.cpp(64) : assertion failed:
    Function:  void SysPageFaultSignalFilter(int, siginfo_t*, void*)
    Thread:    MTGS
    Condition: false
    Message:   Unhandled page fault @ 0x00001a30

Stacktrace:

I'm using archlinux and pcsx2 from svn (5 days ago) 1.1.0.r5821-1.I use the 
software renderer on my intel card of my haswell (lspci says Intel Corporation 
Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller) and my 
kernel is build from git too and maybe a week old.

Original issue reported on code.google.com by maxmust...@gmail.com on 29 Jan 2014 at 1:36

GoogleCodeExporter commented 9 years ago
Without a stacktrace I won't be able to help you (it already difficult with 
one).

Ask your distribution to provide a debug package (or to not strip the symbol).

Original comment by gregory....@gmail.com on 31 Jan 2014 at 7:53

GoogleCodeExporter commented 9 years ago
Yeah sure.It's just hard to reproduce and at the time I only had it compiled 
without debug symbols.Just wanted to open up a bug report so other people could 
maybe find the little knowledge that would be gathered here and post their 
stacktraces here 

Original comment by blackhua...@gmail.com on 31 Jan 2014 at 2:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm still a noob using GDB... if you need bt full, let me know... (tried to get 
one, but I didn't see the end of it...)

This was doing making gdb attach into the process and switching to the MTGS 
thread. 

Reproduction?

I use a PS2 controller with Twin Joystick USB adapter. I booted up MGS 3, when 
I got into the forest area I pressed R2 and the crash happened. 

Original comment by allen...@gmail.com on 4 Feb 2014 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
@allenskd,

What is your GPU and driver?

Original comment by gregory....@gmail.com on 4 Feb 2014 at 7:44

GoogleCodeExporter commented 9 years ago
Hum it seems to be an aligment issue. Normally storrent parameter must be 16 
Bytes aligned whereas dst is only 8 bytes aligned. Dst is generated by 
glMapBufferRange which is normally 64 bytes aligned but it is only guarantee 
for GL4.2!!!! Seriously they could have put it in GL1.

#13 storent (size=216, src=0xeaa3b220, dst=0xd8eb7ed8) at 
/media/sf_pcsx2-read-only/plugins/GSdx/GSVector.h:1864

Original comment by gregory....@gmail.com on 4 Feb 2014 at 8:16

GoogleCodeExporter commented 9 years ago
allenskd, can you test the attached patch?

Original comment by gregory....@gmail.com on 5 Feb 2014 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
I commit the patch on latest svn. Tests are welcome.

Original comment by gregory....@gmail.com on 8 Feb 2014 at 8:44

GoogleCodeExporter commented 9 years ago
Normally fixed on the trunk and 1.2.2. Reopen a bug if the crash still exists.

Original comment by gregory....@gmail.com on 12 Feb 2014 at 9:55