PCSX2 for Arch Linux
First delete onepad.ini and retry.

If you still have the crash, can you open it inside gdb and generate a stacktrace?
Reply

Sponsored links

Okay, I'm kinda new at this, so if I do something stupid, I apologize in advance.
Anyway, I've got gdb's output and the Arch wiki, so I'm going to try and get as much info as possible.

The packages that contain the libraries that throw errors are:
#1: /usr/lib32/pcsx2/libonepad-1.1.0.so is owned by pcsx2 1.2.2-1
#15: /usr/lib32/libwx_gtk2u_core-2.8.so.0 is owned by lib32-wxgtk2.8 2.8.12.1-2
#17: /usr/lib32/libgobject-2.0.so.0 is owned by lib32-glib2 2.38.2-1
#21: /usr/lib32/libgtk-x11-2.0.so.0 is owned by lib32-gtk2 2.24.22-1
#39: /usr/lib32/libgdk-x11-2.0.so.0 is owned by lib32-gtk2 2.24.22-1
#41: /usr/lib32/libglib-2.0.so.0 is owned by lib32-glib2 2.38.2-1

So I'm going to recompile those with the (!strip) option in the pkgbuild. After that I'll try again to see if I can get any more info.

For anyone interested in the current output, here's the lot:

Code:
Program received signal SIGSEGV, Segmentation fault.
0xf7255216 in __strlen_sse2_bsf () from /usr/lib32/libc.so.6

(gdb) bt full
#0  0xf7255216 in __strlen_sse2_bsf () from /usr/lib32/libc.so.6
No symbol table info available.
#1  0xf400b858 in ?? () from /usr/lib32/pcsx2/libonepad-1.1.0.so
No symbol table info available.
#2  0xf400bb96 in ?? () from /usr/lib32/pcsx2/libonepad-1.1.0.so
No symbol table info available.
#3  0xf401012f in ?? () from /usr/lib32/pcsx2/libonepad-1.1.0.so
No symbol table info available.
#4  0xf40111bc in ?? () from /usr/lib32/pcsx2/libonepad-1.1.0.so
No symbol table info available.
#5  0xf4011c03 in ?? () from /usr/lib32/pcsx2/libonepad-1.1.0.so
No symbol table info available.
#6  0x081e2c03 in ?? ()
No symbol table info available.
#7  0x0817ad88 in ?? ()
No symbol table info available.
#8  0xf7f27dc0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0xf7f28159 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
   from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xf7f28225 in wxEvtHandler::ProcessEvent(wxEvent&) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xf7d4042f in wxWindowBase::TryParent(wxEvent&) ()
   from /usr/lib32/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0xf7f281f5 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0xf7d4042f in wxWindowBase::TryParent(wxEvent&) ()
   from /usr/lib32/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0xf7f281f5 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xf7c88e9c in ?? () from /usr/lib32/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0xf74feae9 in g_cclosure_marshal_VOID__VOIDv ()
   from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#17 0xf74fcf4e in ?? () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#18 0xf7516520 in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0xf7517183 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#20 0xf76666ca in gtk_button_clicked () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0xf7667960 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0xf74fea73 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#23 0xf74fb5c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#24 0xf74fcd0e in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#25 0xf750eadc in ?? () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#26 0xf7516ef8 in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#27 0xf7517183 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#28 0xf766660a in gtk_button_released () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0xf7666644 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#30 0xf771d9be in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#31 0xf74fb5c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#32 0xf74fcd0e in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#33 0xf750f090 in ?? () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#34 0xf7516baf in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#35 0xf7517183 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
No symbol table info available.
#36 0xf784b2db in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#37 0xf771bc84 in gtk_propagate_event () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#38 0xf771c190 in gtk_main_do_event () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#39 0xf7595ec8 in ?? () from /usr/lib32/libgdk-x11-2.0.so.0
No symbol table info available.
#40 0xf708789e in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
No symbol table info available.
#41 0xf7087c48 in ?? () from /usr/lib32/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#42 0xf70880a3 in g_main_loop_run () from /usr/lib32/libglib-2.0.so.0
No symbol table info available.
#43 0xf771ae60 in gtk_main () from /usr/lib32/libgtk-x11-2.0.so.0
No symbol table info available.
#44 0xf7c4193e in wxEventLoop::Run() ()
   from /usr/lib32/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#45 0xf7c95ab3 in wxDialog::ShowModal() ()
   from /usr/lib32/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#46 0xf7ae0e36 in wxWizard::RunWizard(wxWizardPage*) ()
   from /usr/lib32/libwx_gtk2u_adv-2.8.so.0
No symbol table info available.
#47 0x08171711 in ?? ()
No symbol table info available.
#48 0x081718e0 in ?? ()
No symbol table info available.
#49 0x08173f4a in ?? ()
No symbol table info available.
#50 0x081775fd in ?? ()
No symbol table info available.
#51 0xf7ecc07a in wxEntry(int&, wchar_t**) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#52 0xf7ecc136 in wxEntry(int&, char**) () from /usr/lib32/libwx_baseu-2.8.so.0
No symbol table info available.
#53 0x08178aeb in ?? ()
No symbol table info available.
#54 0xf71ea993 in __libc_start_main () from /usr/lib32/libc.so.6
No symbol table info available.
#55 0x0805f011 in ?? ()
No symbol table info available.

EDIT: Huh, odd, I didn't have lib32-gstreamer0.10-base-plugins, which was needed for compiling wxgtk2.

EDIT2: Valgrind tells me:
==29299== Invalid read of size 1
==29299== at 0x402BF38: strlen (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
Now, I'm a Java Enterprise programmer by trade, but I think I've seen strlen before... I don't know what it is, but str might mean it has something to do with a String literal? I'll try changing the language setting.

EDIT3: Didn't work, I'm afraid, so I dunno. Rebuild glibc from scratch? Last time I tried that, I got a warning and an error, so that might be something to try...
Reply
which version of glib? Someone told me that a glib version was buggy with sse. And just compile PCSX2 with debug symbol
Reply
I'm just using the multilib packages from the Arch Package Database. I've also compiled PCSX2 with the 'debug' option in the PKGBUILD.
Reply
Actually it is libc6 (aka glibc != glib)
There is a version somewhere. What is your 64 bits version? Otherwise check the filename, on my system /lib/i386-linux-gnu/libc-2.17.so

Your pcsx2 build is stripped. Ask arch maintainer to provide a debug package that contains debug symbol (if not for you do it for me Wink, because you're not the first one)

Edit: the broken libc6 is 2.18 (reported by fedora users)
Reply
The glibc version I have is, according to pacman:
multilib/lib32-glibc 2.19-1 [installed]

On my system it's... /var/lib/pacman/local/lib32-glibc-2.19-1.

I'll ask for a debug package, in the meantime, I'll see if I can build from source with the debug flags enabled.

EDIT: First I'll try the version in the AUR. Can't believe I didn't think of that.

EDIT2: Sorry guys, the version in the AUR does work (though last time I tried it, when I was running 32-bit arch, it had the same error). I submitted a bug report for the version in the official repos, and thanks once again for your patience and help.
Reply
(02-18-2014, 11:43 PM)TMTVL Wrote: The glibc version I have is, according to pacman:
multilib/lib32-glibc 2.19-1 [installed]

On my system it's... /var/lib/pacman/local/lib32-glibc-2.19-1.

I'll ask for a debug package, in the meantime, I'll see if I can build from source with the debug flags enabled.

EDIT: First I'll try the version in the AUR. Can't believe I didn't think of that.

EDIT2: Sorry guys, the version in the AUR does work (though last time I tried it, when I was running 32-bit arch, it had the same error). I submitted a bug report for the version in the official repos, and thanks once again for your patience and help.

Bug report? There is no bug nor a feature to implement, so they would probably close it as invalid... but you can build a debug package of glibc by getting the source tarball in [1] ou via ABS [2]. Then, you set '!strip' plus any other tunning needed.

[1] https://projects.archlinux.org/svntogit/...ib32-glibc
[2] https://wiki.archlinux.org/index.php/Arch_Build_System
Reply
Anybody know why I'm getting these errors when I try to recompile?
Code:
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/x86intrin.h:27:0,
                 from /usr/include/c++/4.8.2/x86_64-unknown-linux-gnu/32/bits/opt_random.h:33,
                 from /usr/include/c++/4.8.2/random:51,
                 from /usr/include/c++/4.8.2/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8.2/algorithm:62,
                 from /home/daniel/build/pcsx2-svn/src/pcsx2/pcsx2/DebugTools/DisassemblyManager.cpp:4:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/ia32intrin.h: In function ‘long long unsigned int __rdtsc()’:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/ia32intrin.h:95:1: error: redefinition of ‘long long unsigned int __rdtsc()’
__rdtsc (void)
^
In file included from /home/daniel/build/pcsx2-svn/src/pcsx2/common/include/Pcsx2Defs.h:35:0,
                 from /home/daniel/build/pcsx2-svn/src/pcsx2/common/include/Utilities/Dependencies.h:193,
                 from /home/daniel/build/pcsx2-svn/src/pcsx2/pcsx2/./PrecompiledHeader.h:27,
                 from /home/daniel/build/pcsx2-svn/src/pcsx2/pcsx2/DebugTools/DisassemblyManager.cpp:1:
/home/daniel/build/pcsx2-svn/src/pcsx2/common/include/intrin_x86.h:846:69: error: ‘long long unsigned int __rdtsc()’ previously defined here
static __inline__ __attribute__((always_inline)) unsigned long long __rdtsc(void)
                                                                     ^
pcsx2/CMakeFiles/pcsx2.dir/build.make:1977: recipe for target 'pcsx2/CMakeFiles/pcsx2.dir/DebugTools/DisassemblyManager.cpp.o' failed
make[2]: *** [pcsx2/CMakeFiles/pcsx2.dir/DebugTools/DisassemblyManager.cpp.o] Error 1
CMakeFiles/Makefile2:281: recipe for target 'pcsx2/CMakeFiles/pcsx2.dir/all' failed
make[1]: *** [pcsx2/CMakeFiles/pcsx2.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Reply
Calling from the Fedora pond. There seems to have been added some debugger work in revisions 5905-5907 that breaks building on Linux.
Reply
Yes Yes I know. Give me some time Tongue2 see r5913.
Reply




Users browsing this thread: 2 Guest(s)