FS#43796 - [pcsx2] crashes: "Illegal instruction (core dumped)" - fixed by a rebuild
Attached to Project:
Community Packages
Opened by Sam (smudge) - Thursday, 12 February 2015, 07:14 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 15 February 2015, 13:46 GMT
Opened by Sam (smudge) - Thursday, 12 February 2015, 07:14 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 15 February 2015, 13:46 GMT
|
Details
Description:
Hi, On a fully up-to-date 64bit system pcsx2 1.3.1-1 crashes immediately saying only "Illegal instruction (core dumped)" in the terminal. I tried reinstalling and re-downloading but the bug remained. Additional info: uname: Linux 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 x86_64 CPU Model name: AMD FX(tm)-8350 Eight-Core Processor nvidia: 346.35-6 One message in the journal on each run: kernel: traps: pcsx2[9506] trap invalid opcode ip:83a8d83 sp:ffdacf34 error:0 in pcsx2[8048000+4f9000] kernel: traps: pcsx2[9540] trap invalid opcode ip:83a8d83 sp:fff18a44 error:0 in pcsx2[8048000+4f9000] Last few lines of an strace: 9771 brk(0xbd8b000) = 0xbd8b000 9771 mmap2(NULL, 9441280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff2205000 9771 mmap2(NULL, 9441280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff1904000 9771 mmap2(NULL, 9441280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff1003000 9771 mmap2(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff0fd2000 9771 mmap2(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff0fa1000 9771 --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x83a8d83} --- 9771 +++ killed by SIGILL (core dumped) +++ Using the abs to rebuild with a default makepkg.conf (and one with -march=native & -j8) solved the problem, pcsx2 worked fine. That made me think the bug was somewhere in the build process rather than upstream so thought I'd let you know. Thanks. Steps to reproduce: Install and run. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Sunday, 15 February 2015, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.1-2 fixed it. Thx for testing.
Sunday, 15 February 2015, 13:46 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.1-2 fixed it. Thx for testing.
So I thought I'd try building in a clean chroot. Followed the instructions at DeveloperWiki:Building in a Clean Chroot, the classic way, installed multilib-devel and it built and ran fine.
I've not done that before so there's a good chance of mistakes.
Thank You.