Posts: 13
Threads: 0
Joined: May 2017
Reputation:
0
04-13-2018, 03:13 AM
(This post was last modified: 04-13-2018, 03:21 AM by iammik.)
I asked about a year ago trying to get PCSX2 to work, have some free time again to try. This time trying to start PCSX2 from Fedora 27 x64 with dnf version, and this is what I get from gdb. Any help appreciated. I also tried dnf debuginfo-install but it said nothing to be done.
Missing separate debuginfos, use: dnf debuginfo-install pcsx2-1.4-6.fc27.i686
(gdb) r
Starting program: /usr/bin/PCSX2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
(PCSX2:27469): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(PCSX2:27469): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Interface is initializing. Entering Pcsx2App::OnInit!
Applying operating system default language...
Detaching after fork from child process 27474.
Detaching after fork from child process 27475.
Detaching after fork from child process 27476.
Command line parsing...
Command line parsed!
[New Thread 0xf434ab40 (LWP 27477)]
Thread 1 "PCSX2" received signal SIGILL, Illegal instruction.
0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
(gdb) bt
#0 0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
#1 0xf7d4390f in wxWindowBase::DoGetBestSize() const ()
from /lib/libwx_gtk2u_core-2.8.so.0
#2 0xf7d40643 in wxWindowBase::Fit() () from /lib/libwx_gtk2u_core-2.8.so.0
#3 0x567c4266 in Panels::PluginSelectorPanel::StatusPanel::StatusPanel(wxWindow*) ()
#4 0x567c98de in Panels::PluginSelectorPanel::PluginSelectorPanel(wxWindow*)
()
#5 0x5673ced1 in FirstTimeWizard::FirstTimeWizard(wxWindow*) ()
#6 0x566fef82 in DoFirstTimeWizard() ()
#7 0x566ff38d in Pcsx2App::EstablishAppUserMode() ()
#8 0x567013b6 in Pcsx2App::DetectCpuAndUserMode() ()
#9 0x56706613 in Pcsx2App::OnInit() ()
#10 0xf7ed8062 in wxEntry(int&, wchar_t**) () from /lib/libwx_baseu-2.8.so.0
#11 0xf7ed8116 in wxEntry(int&, char**) () from /lib/libwx_baseu-2.8.so.0
#12 0x567083c6 in main ()
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
Use "thread apply all bt" in gdb to dump all thread.
Posts: 13
Threads: 0
Joined: May 2017
Reputation:
0
04-14-2018, 03:23 AM
(This post was last modified: 04-14-2018, 03:25 AM by iammik.)
Thread 1 "PCSX2" received signal SIGILL, Illegal instruction.
0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
(gdb) thread apply all bt
Thread 2 (Thread 0xf434ab40 (LWP 14942)):
#0 0xf7fd2db9 in __kernel_vsyscall ()
#1 0xf6c62fc6 in do_futex_wait.constprop () from /lib/libpthread.so.0
#2 0xf6c630a7 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#3 0x568ae844 in Threading::Semaphore::WaitWithoutYield() ()
#4 0x56768337 in pxEvtQueue::Idle() ()
#5 0x5676839b in ExecutorThread::ExecuteTaskInThread() ()
#6 0x568b24a7 in Threading::pxThread::_try_virtual_invoke(void (Threading::pxThread::*)()) ()
#7 0x568b35b8 in Threading::pxThread::_internal_execute() ()
#8 0x568b37e4 in Threading::pxThread::_internal_callback(void*) ()
#9 0xf6c59587 in start_thread () from /lib/libpthread.so.0
#10 0xf6b8fee6 in clone () from /lib/libc.so.6
Thread 1 (Thread 0xf61d01c0 (LWP 14935)):
#0 0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
#1 0xf7d4390f in wxWindowBase::DoGetBestSize() const ()
from /lib/libwx_gtk2u_core-2.8.so.0
#2 0xf7d40643 in wxWindowBase::Fit() () from /lib/libwx_gtk2u_core-2.8.so.0
#3 0x567c4266 in Panels::PluginSelectorPanel::StatusPanel::StatusPanel(wxWindow*) ()
#4 0x567c98de in Panels::PluginSelectorPanel::PluginSelectorPanel(wxWindow*) ()
#5 0x5673ced1 in FirstTimeWizard::FirstTimeWizard(wxWindow*) ()
#6 0x566fef82 in DoFirstTimeWizard() ()
#7 0x566ff38d in Pcsx2App::EstablishAppUserMode() ()
#8 0x567013b6 in Pcsx2App::DetectCpuAndUserMode() ()
#9 0x56706613 in Pcsx2App::OnInit() ()
#10 0xf7ed8062 in wxEntry(int&, wchar_t**) () from /lib/libwx_baseu-2.8.so.0
#11 0xf7ed8116 in wxEntry(int&, char**) () from /lib/libwx_baseu-2.8.so.0
#12 0x567083c6 in main ()
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
Strange. I'm not sure it is related to PCSX2. Issue seems to be related to wxwidget.
In gdb, if you hit ctrl-x 2, it will show you an asm view (or retry ctrl-x 2). Use mouse to scroll up a little. If you can copy past the illegal error
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
Is it normal that you have AVX instructions in wxWidget ? What is your CPU by the way ?
Posts: 13
Threads: 0
Joined: May 2017
Reputation:
0
My CPU does not support AVX. It's a Yorkfield.
So a WxWidget bug?
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
Not a bug, but it seems it was compiled with avx optimization (so fedora bug).