I've just been trying to experiment with Gsdx support.
compiled PCSX2 svn 4791 on Fedora 14 x86_64 using the following options:
Using debug because of previous problems. Setup gbd with the following:
On running the plugin selector pops up:
selecting configure on ie Gsdx causes no problems
selecting onepad causes a crash:
selecting padnull okay. But I also get a crash on running an iso.
backtrace:
What am I doing wrong - or should I just leave sdl builds ]alone for now..?
compiled PCSX2 svn 4791 on Fedora 14 x86_64 using the following options:
Code:
svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2-read-only && cd pcsx2-read-only && mkdir my_build && cd my_build && cmake ../CMakeLists.txt -DFORCE_INTERNAL_SDL=TRUE -DCMAKE_BUILD_TYPE=Debug && cd .. && make && make install
Using debug because of previous problems. Setup gbd with the following:
Code:
$ gdb pcsx2-dbg.
(gdb) handle SIGSEGV nostop
(gdb) run
On running the plugin selector pops up:
selecting configure on ie Gsdx causes no problems
selecting onepad causes a crash:
Code:
(gdb) bt full
#0 0x009ec7c3 in SDL_HapticOpenFromJoystick (joystick=0xa3c6118)
at /home/mythtv/pcsx2-read-only/3rdparty/SDL-1.3.0-5387/src/haptic/SDL_haptic.c:279
i = 0
haptic = 0x0
#1 0x009e2405 in JoystickInfo::Init (this=0xa3c6038, id=0)
at /home/mythtv/pcsx2-read-only/plugins/onepad/joystick.cpp:253
found_hack = 4294967295
#2 0x009e1f18 in JoystickInfo::EnumerateJoysticks (vjoysticks=std::vector of length 2, capacity 2 = {...})
at /home/mythtv/pcsx2-read-only/plugins/onepad/joystick.cpp:101
i = 0
it = <error reading variable it (Cannot access memory at address 0x0)>
#3 0x009e8d6c in populate_new_joysticks (box=0xa3011c0)
at /home/mythtv/pcsx2-read-only/plugins/onepad/Linux/dialog.cpp:246
str =
"\002\000\000\004\000\000\000\204z\fL\300\021\060\n\300\021\060\nȩ\377\377\026\225\337K\000\000\000\000\330D\n\n\213\261\366K\000\000\000\000\000O!\000\250\251\377\377[\273\365K\210\344\377K\b\000\000\000P\221\337K\213\027\314\001\300\021\060\n\300\021\060\n\300\021\060\nȩ\377\377\t9\354Ki\217\337K\204z\fL\253\222\337K\204z\fL\300\021\060\n\300\021\060\n\350\251\377\377#\263\354K\300\021\060\n\350B\n\nk\327\314K\252\262\354K\204z\fLD\252\377\377(\252\377\377\325\325\312K\300\021\060\n\230\300\061\n\213\261\366K\000\000\000\000ȴ'\n\230O!\nxO!\n\200\265'\n\300`'\n\000\000\000\000\333\324\312K\204z\fL\300\021\060\n\230\300\061\nx\252\377\377\210\016\315K\300\021\060\n\230\300\061\n\213\261\366K\000\000\000\000\000\000\000\000\240\304-\n\000\252\377\377\001\000\000\000\000\000\000"
it = <error reading variable it (Cannot access memory at address 0x0)>
#4 0x009e9500 in create_notebook_page_dialog (page=0, btn=0xffffab30, checkbox=0xffffacb0)
at /home/mythtv/pcsx2-read-only/plugins/onepad/Linux/dialog.cpp:519
joy_choose_frame = 0xa35ec88
keys_box = 0x3
keys_tree_box = 0x4ecc178b
keys_tree_show_key_btn = 0x4bd6292b
keys_static_box = 0x0
mask = 1271771867
main_box = 0xa35ec88
keys_tree_modify_btn = 0xa0a42e8
keys_tree_show_joy_btn = 0xa35ec88
keys_btn_box = 0xa7c577
joy_choose_box = 0xffffaaf8
keys_frame = 0x50
keys_filter_box = 0x4c0c7a84
---Type <return> to continue, or q <return> to quit---
keys_static_frame = 0xa2b80d8
keys_tree_scroll = 0xa2b80d8
keys_tree_clear_btn = 0x4bd9f1a8
keys_tree_remove_btn = 0xffffaaf8
keys_static_area = 0x1
#5 0x009e9eb1 in DisplayDialog () at /home/mythtv/pcsx2-read-only/plugins/onepad/Linux/dialog.cpp:635
i = 0
return_value = 0
dialog = 0xa386820
page_label = {0xa35ed08, 0xa35ec88}
notebook = 0xa3868e0
page = {0x17, 0xa2dc47c}
btn = {{{widget = 0x4290afa9, index = 1117014100}, {widget = 0xffffab58, index = 1116655294}, {widget =
0xa2f6300, index = 1320231840}, {widget = 0xa35e1d8, index = 170771624}, {widget = 0x428ecea9, index =
1320231840}, {widget = 0xffffab88, index = 6}, {widget = 0x4e9fd541, index = -21633}, {widget = 0xffffab88,
index = 1117014100}, {widget = 0x82072d6, index = 169865296}, {widget = 0xffffab98, index =
1116778434}, {widget = 0x0, index = 170856704}, {widget = 0xffffabe8, index = 10389480}, {widget =
0x4290afa9, index = 1117014100}, {widget = 0xffffabb8, index = 1116655294}, {widget = 0xa2dc470, index = 0}, {
widget = 0xffffabd0, index = 1319014648}, {widget = 0x428ecea9, index = 1117014100}, {widget =
0xffffabe8, index = 1116655486}, {widget = 0xa2dc470, index = -21537}, {widget = 0xa2f630c, index =
170856940}, {widget = 0xa35e1d8, index = 2}, {widget = 0x18, index = 2}, {widget = 0x428ecf39, index =
170856704}, {widget = 0xffffad48, index = 10390212}}, {{widget = 0xffffad2c, index = 170771580}, {widget =
0xa7c413, index = 170771580}, {widget = 0x4290afa9, index = 1319085713}, {widget = 0xffffac28, index =
1117014100}, {widget = 0xffffad2c, index = -21409}, {widget = 0xffffac78, index = 1116659896}, {widget =
0xa1ba408, index = -21409}, {widget = 0xa, index = 1319082374}, {widget = 0x4ea08c14, index = -21393}, {
widget = 0xffffac6f, index = 1}, {widget = 0x60, index = 1319066663}, {widget = 0x4eb123a0, index =
1319082374}, {widget = 0x23, index = 169583636}, {widget = 0xffffac6f, index = 1319082374}, {widget =
0x4c683610, index = 1319982549}, {widget = 0x0, index = 170771624}, {widget = 0xc, index = 1320231840}, {
widget = 0xffffacc8, index = 6}, {widget = 0x4e9fd541, index = 1319060436}, {widget = 0x1b6,
index = 1319082374}, {widget = 0x8207201, index = 1320231840}, {widget = 0xffffacb8, index = 24}, {
widget = 0x4e9fd541, index = 1320231840}, {widget = 0xa37f2f8, index = 1117014100}}}
checkbox = {{{widget = 0xffffae40, mask = 169865296}, {widget = 0xffffacd8, mask = 134644505}, {widget =
0x4f22727c, mask = 4294946368}, {widget = 0xffffacf8, mask = 1327273179}, {widget = 0x4290afa9, mask =
1117014100}, {widget = 0xffffacf8, mask = 134644749}, {widget = 0x4f22727c, mask = 4294946047}}, {{widget =
0x4f1c949b, mask = 1327930764}, {widget = 0x4290b009, mask = 1327930764}, {widget = 0xffffad18, mask =
134644987}, {widget = 0xffffae3c, mask = 1281898000}, {widget = 0xffffad38, mask = 170515544}, {widget =
0x4c683610, mask = 136344278}, {widget = 0xffffad38, mask = 134668414}}}
---Type <return> to continue, or q <return> to quit---
#6 0x009eb392 in PADconfigure () at /home/mythtv/pcsx2-read-only/plugins/onepad/Linux/linux.cpp:183
No locals.
#7 0x082076f0 in Panels::PluginSelectorPanel::OnConfigure_Clicked (this=0xa1ff050, evt=...)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/Panels/PluginSelectorPanel.cpp:665
disabler = {m_winDisabled = 0x0}
quiettime = {_vptr.wxDoNotLogInThisScope = 0x8352720, m_prev = true}
paused_core = {<BaseScopedCoreThread> = {<IScopedCoreThread> = {_vptr.IScopedCoreThread = 0x8394450},
m_allowResume = false, m_alreadyStopped = false, m_alreadyScoped = false, m_sync = {
_vptr.SynchronousActionState = 0x8394640, m_posted = true, m_sema = {_vptr.Semaphore = 0x8474d18,
m_sema = {__size = "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}},
m_exception = {m_ptr = 0x0}, return_value = 0}, m_sync_resume = {_vptr.SynchronousActionState =
0x8394640, m_posted = false, m_sema = {_vptr.Semaphore = 0x8474d18, m_sema = {__size =
"\000\000\000\000\200\000\000\000\000\000\000\000\001\000\000", __align = 0}}, m_exception = {m_ptr = 0x0},
return_value = 0}, m_mtx_resume = {_vptr.Mutex = 0x8471670, m_mutex = {__data = {__lock = 0,
__count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
__size = '\000' <repeats 23 times>, __align = 0}}}, <No data fields>}
configfunc = 0x9eb382 <PADconfigure()>
pid = PluginId_PAD
sel = 0
filename = {<wxStringBase> = {static npos = 4294967295, m_pchData =
0xa2b0814 L"/home/mythtv/pcsx2-read-only/bin/plugins/libonepad-1.1.0.so"}, <No data fields>}
dynlib = {static ms_dllext = 0x4f2294c8 L".so", m_handle = 0xa37f050}
#8 0x0819c59d in Pcsx2App::HandleEvent (this=0xa049650, handler=0xa1ff050, func=
(void (wxEvtHandler::*)(wxEvtHandler *, wxEvent &)) 0x82072d6 <Panels::PluginSelectorPanel::OnConfigure_Clicked(wxCommandEvent&)>, event=...) at /home/mythtv/pcsx2-read-only/pcsx2/gui/AppMain.cpp:562
No locals.
#9 0x0819c55b in Pcsx2App::HandleEvent (this=0xa049650, handler=0xa1ff050, func=
(void (wxEvtHandler::*)(wxEvtHandler *, wxEvent &)) 0x82072d6 <Panels::PluginSelectorPanel::OnConfigure_Clicked(wxCommandEvent&)>, event=...) at /home/mythtv/pcsx2-read-only/pcsx2/gui/AppMain.cpp:556
No locals.
#10 0x4f2053ba in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0x4f2057f2 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0x4f2058e3 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
selecting padnull okay. But I also get a crash on running an iso.
backtrace:
Code:
(gdb) bt full
#0 0x00110425 in __kernel_vsyscall ()
No symbol table info available.
#1 0x4eb256d0 in raise () from /lib/libpthread.so.0
No symbol table info available.
#2 0x082e39e8 in pxTrap () at /home/mythtv/pcsx2-read-only/common/src/Utilities/Exceptions.cpp:88
No locals.
#3 0x082e3af2 in pxOnAssert (origin=..., msg=0xf7301dcc L"ExecMode should be nothing other than Pausing...")
at /home/mythtv/pcsx2-read-only/common/src/Utilities/Exceptions.cpp:129
guard = {_vptr.RecursionGuard = 0x8394650, Counter = @0xf7cc4b6c}
trapit = true
#4 0x082e3b50 in pxOnAssert (origin=..., msg=0x8449324 "ExecMode should be nothing other than Pausing...")
at /home/mythtv/pcsx2-read-only/common/src/Utilities/Exceptions.cpp:134
No locals.
#5 0x08235f1f in SysThreadBase::Pause (this=0x9e8f360)
at /home/mythtv/pcsx2-read-only/pcsx2/System/SysThreadBase.cpp:143
locker = {_vptr.ScopedLock = 0x8471648, m_lock = 0x9e8f450, m_IsLocked = true}
__PRETTY_FUNCTION__ = "virtual void SysThreadBase::Pause()"
#6 0x0818b64e in ScopedCoreThreadPause::ScopedCoreThreadPause (this=0xf7cc3f20, abuse_me=0xf7301978)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/AppCoreThread.cpp:658
No locals.
#7 0x0818b0d2 in SysExecEvent_CoreThreadPause::InvokeEvent (this=0xa34aad0)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/AppCoreThread.cpp:531
CorePluginsAreOpen = false
paused_core = {<BaseScopedCoreThread> = {<IScopedCoreThread> = {_vptr.IScopedCoreThread = 0x8394450},
m_allowResume = false, m_alreadyStopped = false, m_alreadyScoped = false, m_sync = {
_vptr.SynchronousActionState = 0x8394640, m_posted = false, m_sema = {_vptr.Semaphore = 0x8474d18,
m_sema = {__size = "\000\000\000\000\200\000\000\000\000\000\000\000Е\004\n", __align = 0}},
m_exception = {m_ptr = 0x0}, return_value = 0}, m_sync_resume = {_vptr.SynchronousActionState =
0x8394640, m_posted = false, m_sema = {_vptr.Semaphore = 0x8474d18, m_sema = {__size =
"\000\000\000\000\200\000\000\000\000\000\000\000\000\017=", __align = 0}}, m_exception = {m_ptr = 0x0},
return_value = 0}, m_mtx_resume = {_vptr.Mutex = 0x8471670, m_mutex = {__data = {__lock = 0,
__count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
__size = '\000' <repeats 23 times>, __align = 0}}}, <No data fields>}
__PRETTY_FUNCTION__ = "virtual void SysExecEvent_CoreThreadPause::InvokeEvent()"
#8 0x081c9212 in SysExecEvent::_DoInvokeEvent (this=0xa34aad0)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/ExecutorThread.cpp:122
__PRETTY_FUNCTION__ = "virtual void SysExecEvent::_DoInvokeEvent()"
---Type <return> to continue, or q <return> to quit---
#9 0x081c96cc in pxEvtQueue::ProcessEvents (this=0xa049c68, list=empty std::list, isIdle=false)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/ExecutorThread.cpp:218
qpc_end = 584510560260604056
deleteMe = {m_ptr = 0xa34aad0}
synclock = {_vptr.ScopedLock = 0x8471648, m_lock = 0xa049c7c, m_IsLocked = false}
node =
#10 0x081c9967 in pxEvtQueue::ProcessPendingEvents (this=0xa049c68)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/ExecutorThread.cpp:248
No locals.
#11 0x081caa17 in ExecutorThread::ExecuteTaskInThread (this=0xa049af4)
at /home/mythtv/pcsx2-read-only/pcsx2/gui/ExecutorThread.cpp:543
__PRETTY_FUNCTION__ = "virtual void ExecutorThread::ExecuteTaskInThread()"
#12 0x082f8997 in Threading::pxThread::_try_virtual_invoke (this=0xa049af4, method=
&virtual Threading::pxThread::ExecuteTaskInThread())
at /home/mythtv/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:545
No locals.
#13 0x082f8d73 in Threading::pxThread::_internal_execute (this=0xa049af4)
at /home/mythtv/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:644
No locals.
#14 0x082f8ee1 in Threading::pxThread::_internal_callback (itsme=0xa049af4)
at /home/mythtv/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:684
__clframe = {__cancel_routine = 0x82f72d8 <Threading::pxThread::_pt_callback_cleanup(void*)>,
__cancel_arg = 0xa049af4, __do_it = 1, __cancel_type = 0}
__PRETTY_FUNCTION__ = "static void* Threading::pxThread::_internal_callback(void*)"
owner = @0xa049af4
#15 0x4eb1ce99 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x4ea62d2e in clone () from /lib/libc.so.6
No symbol table info available.