no. That
gdb: run
in pcsx2: start your game or does every action to make the crash happen
gdb will stop pcsx2 at the crash then
# single thread
gdb: bt
# all thread
gdb: thread apply all bt
04-01-2014, 08:48 PM (This post was last modified: 04-01-2014, 08:49 PM by nstgc.)
Okay, I got something. I don't know if its useful, but I got something. I do see a lot of "wx" coming up.
Code:
$ gdb ./pcsx2
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./pcsx2...(no debugging symbols found)...done.
(gdb) run
Starting program: /tmp/pcsx2-git/bin/pcsx2
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6654): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Interface is initializing. Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
[New Thread 0xf2400b40 (LWP 6661)]
(UserMode) Found portable install ini @ /tmp/pcsx2-git/bin/portable.ini
[New Thread 0xf1853b40 (LWP 6663)]
[New Thread 0xf0effb40 (LWP 6664)]
[Thread 0xf0effb40 (LWP 6664) exited]
[New Thread 0xf0effb40 (LWP 6665)]
Program received signal SIGSEGV, Segmentation fault.
0x0822be07 in DisassemblyDialog::setDebugMode(bool) ()
(gdb) backtrace
#0 0x0822be07 in DisassemblyDialog::setDebugMode(bool) ()
#1 0x081f2a2d in Pcsx2App::leaveDebugMode() ()
#2 0x081f49dc in Pcsx2AppMethodEvent::InvokeEvent() ()
#3 0x08369e9e in pxActionEvent::_DoInvokeEvent() ()
#4 0x0836ad46 in wxAppWithHelpers::OnInvokeAction(pxActionEvent&) ()
#5 0x081f2092 in Pcsx2App::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) ()
#6 0x081f204d in Pcsx2App::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
#7 0xf7f31dc0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib32/libwx_baseu-2.8.so.0
#8 0xf7f32159 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#9 0xf7f32225 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#10 0x08369c7d in wxAppWithHelpers::ProcessEvent(wxEvent&) ()
#11 0xf7f31d0a in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib32/libwx_baseu-2.8.so.0
#12 0xf7ea0cd9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib32/libwx_baseu-2.8.so.0
#13 0xf7ccfcb2 in wxAppBase::ProcessIdle() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#14 0xf7c35534 in ?? () from /usr/lib32/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#15 0xf70275f0 in ?? () from /usr/lib32/libglib-2.0.so.0
#16 0xf702a89e in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
#17 0xf702ac48 in ?? () from /usr/lib32/libglib-2.0.so.0
#18 0xf702b0a3 in g_main_loop_run () from /usr/lib32/libglib-2.0.so.0
#19 0xf767fe60 in gtk_main () from /usr/lib32/libgtk-x11-2.0.so.0
#20 0xf7c4b93e in wxEventLoop::Run() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#21 0xf7ccfac1 in wxAppBase::MainLoop() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#22 0xf7ccf5c1 in wxAppBase::OnRun() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#23 0xf7ed608a in wxEntry(int&, wchar_t**) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#24 0xf7ed6136 in wxEntry(int&, char**) () from /usr/lib32/libwx_baseu-2.8.so.0
#25 0x081f0c6b in main ()
(gdb)
(04-01-2014, 09:06 PM)gregory Wrote: Can you update your git I think someone fix this issue already (git pull -r)
I'm assuming I was suppose to rebuild after the git pull (which was preformed in the directory) that so I ran $sh build.sh --release" and then run gdb again
Code:
$ gdb ./pcsx2
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./pcsx2...(no debugging symbols found)...done.
(gdb) run
Starting program: /tmp/pcsx2-git/bin/pcsx2
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:8028): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Interface is initializing. Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
[New Thread 0xf2400b40 (LWP 8035)]
(UserMode) Found portable install ini @ /tmp/pcsx2-git/bin/portable.ini
[New Thread 0xf1853b40 (LWP 8037)]
[New Thread 0xf0effb40 (LWP 8038)]
[Thread 0xf0effb40 (LWP 8038) exited]
[New Thread 0xf0effb40 (LWP 8039)]
Program received signal SIGSEGV, Segmentation fault.
0x0822be07 in DisassemblyDialog::setDebugMode(bool) ()
(gdb) backtrace
#0 0x0822be07 in DisassemblyDialog::setDebugMode(bool) ()
#1 0x081f2a2d in Pcsx2App::leaveDebugMode() ()
#2 0x081f49dc in Pcsx2AppMethodEvent::InvokeEvent() ()
#3 0x08369e9e in pxActionEvent::_DoInvokeEvent() ()
#4 0x0836ad46 in wxAppWithHelpers::OnInvokeAction(pxActionEvent&) ()
#5 0x081f2092 in Pcsx2App::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) ()
#6 0x081f204d in Pcsx2App::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
#7 0xf7f31dc0 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib32/libwx_baseu-2.8.so.0
#8 0xf7f32159 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#9 0xf7f32225 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#10 0x08369c7d in wxAppWithHelpers::ProcessEvent(wxEvent&) ()
#11 0xf7f31d0a in wxEvtHandler::ProcessPendingEvents() ()
from /usr/lib32/libwx_baseu-2.8.so.0
#12 0xf7ea0cd9 in wxAppConsole::ProcessPendingEvents() ()
from /usr/lib32/libwx_baseu-2.8.so.0
#13 0xf7ccfcb2 in wxAppBase::ProcessIdle() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#14 0xf7c35534 in ?? () from /usr/lib32/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#15 0xf70275f0 in ?? () from /usr/lib32/libglib-2.0.so.0
#16 0xf702a89e in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
#17 0xf702ac48 in ?? () from /usr/lib32/libglib-2.0.so.0
#18 0xf702b0a3 in g_main_loop_run () from /usr/lib32/libglib-2.0.so.0
#19 0xf767fe60 in gtk_main () from /usr/lib32/libgtk-x11-2.0.so.0
#20 0xf7c4b93e in wxEventLoop::Run() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#21 0xf7ccfac1 in wxAppBase::MainLoop() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#22 0xf7ccf5c1 in wxAppBase::OnRun() ()
from /usr/lib32/libwx_gtk2u_core-2.8.so.0
#23 0xf7ed608a in wxEntry(int&, wchar_t**) ()
from /usr/lib32/libwx_baseu-2.8.so.0
#24 0xf7ed6136 in wxEntry(int&, char**) () from /usr/lib32/libwx_baseu-2.8.so.0
#25 0x081f0c6b in main ()
I'm nearly sure the bug is fixed. Are you sure that you have latest version. If you do a git log, do you have this commit. (might need to do a git checkout master)
Quote:commit 9d1840e37a42a3583d2c181add06d2ab5df9162a
Author: Roel Aaij
Date: Sun Mar 30 15:35:24 2014 +0200
Fix out of tree build.
Tell git to look in the source dir for the repository.
So that should give me the desired source code which I can use to build. I then make a copy (which is for back-up purposes, and not for use).
I now build it with
Code:
sh build.sh --release
The terminal output is in the attachment.
I the load PCSX2 in order to set it up.
Code:
$cd bin
$./pcsx2
I change render from ZZogl to GSdx.
Changed the bios director to ~/.config/pcsx2/bios. In case it matters I have one of the older fat PS2's
I close out of that, and then run gdb as seen below and do that thing you told me to do where I start gdb, run PCSX2 crash it, then backtrace. It goes a little further than last time but it still stops.
Code:
$ gdb ./pcsx2
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./pcsx2...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/briggs3/build/pcsx2/pcsx2/bin/pcsx2
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(pcsx2:6517): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
INFO: GL_ARB_separate_shader_objects is supported
INFO: GL_ARB_gpu_shader5 is supported
INFO: GL_ARB_shader_image_load_store is supported
INFO: GL_ARB_clear_texture is not supported
INFO: GL_ARB_buffer_storage is supported
INFO: GL_ARB_shader_subroutine is not supported
INFO: GL_ARB_explicit_uniform_location is supported
INFO: GL_ARB_texture_storage is supported
INFO: GL_ARB_shading_language_420pack is supported
INFO: GL_ARB_multi_bind is supported
INFO: GL_ARB_bindless_texture is not supported
INFO: GL_NV_depth_buffer_float is supported
[edit] My evaluation was premature. I was able to load it. Also, there is some regression in GSdx (or whatever emulates the DMA) it seems, though the issue I was having has been resolved (the one mentioned in bug report).
By regression, I mean that some things aren't working as well as they were in a previous version. In this case, the frame rate with "PCSX2 1.3.0-20140330165929" in the Snowblind Engine games is great, however with the latest (or later) version you were having me build the frame rates are garbage. However, the issue I reported in the bug section of the forums has been fixed.