07-24-2014, 10:06 PM (This post was last modified: 07-24-2014, 10:07 PM by solarmystic.)
When you get the "PPSSPP Has Stopped Working" dialogue box, can you expand it (click on Show Problem Details), take a screenshot(using Snipping Tool) and post it into your next reply?
I'm interested in the Problem Signature part of the box and the Fault Module Name.
07-25-2014, 04:07 AM (This post was last modified: 07-25-2014, 04:09 AM by solarmystic.)
(07-25-2014, 12:09 AM)Bad Company Wrote: That dialogue box doesn't appears here, it only show "PPSSPP Has Stopped Working" close the program or wait the program responds
When I select close the program it show this and after that it disappears.
Any other way to log or debug this issue ?
Thanks for the response.
There are other ways to debug the issue, but both ways require some extra effort and time on your part:-
1. Narrow down the exact responsible build using builds from the buildbot.
There are many intermediate builds on the buildbot here. Start with a known build that works on your system and work your way up until you reach a build that causes the issue.
2. Compile PPSSPP using MSVC 2013 Express, run it in Debugging Mode and when it freezes/crashes, get a stack trace in the compiler so that we know what the precise cause of the issue is on your system.
This one is less time consuming than 1, but requires more effort on your part. You'll be essentially building your own version of PPSSPP, and helping us get to the direct root of the matter.
I've written up a very simple, yet detailed step by step guide on the forum here for Windows. It's a very straightforward but lengthy process, and If you've any questions about the process, feel free to ask.
I'm using a fairly similar system with an older card (9800 GT) without any such crash. I'm not overclocked, though, but that shouldn't be the cause here.
You may have error reporting disabled in Windows settings or something, which might cause it to close like that? Not sure. Installing Visual Studio 2013 Express for Windows Desktop is free and pretty easy, it just eats up some disk space. It will quickly find the cause of the crash, though.
Please note that if you are using Windows 7 but have not yet installed SP1, there is a known problem (in Windows) that may cause PPSSPP to crash (not just at shutdown.) Installing SP1 will fix the bug. If you've already got SP1, then that's not it.
07-25-2014, 06:16 PM (This post was last modified: 07-25-2014, 06:18 PM by solarmystic.)
@Bad Company
You'll need to compile it. Just follow the guide I linked to in my previous post, you just need Microsoft Visual Studio Express 2013 for Windows Desktop and Git Bash.
The instructions for getting a stacktrace (which will help us figure out the exact root cause of the issue) are also on that page.
07-25-2014, 08:13 PM (This post was last modified: 07-25-2014, 08:20 PM by Bad Company.)
(07-25-2014, 06:16 PM)solarmystic Wrote: @Bad Company
You'll need to compile it. Just follow the guide I linked to in my previous post, you just need Microsoft Visual Studio Express 2013 for Windows Desktop and Git Bash.
The instructions for getting a stacktrace (which will help us figure out the exact root cause of the issue) are also on that page.
OK I got it thanks to you
Beware that I killed the ppsspp with task manager cause it freezed and Visual Studio 2013 didn't closed the program.
Code:
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\programming\ppsspp\PPSSPPWindows64.exe'. Symbols loaded.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ddraw.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dciman32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dsound.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dinput8.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Unloaded 'C:\Windows\System32\uxtheme.dll'
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Program Files (x86)\Stardock\ObjectDock\Dock64.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_88dcc0bf2fb1b808\msvcr80.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\xinput1_3.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\nvoglv64.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
I: file\zip_read.cpp:356: I: Not a VFS path: C:\programming\ppsspp\Windows\..\memstick/PSP/shaders . Reading local directory.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. Cannot find or open the PDB file.
The thread 0x2290 has exited with code 0 (0x0).
The thread 0x216c has exited with code 0 (0x0).
The thread 0x1cb8 has exited with code 0 (0x0).
The thread 0x1c74 has exited with code 0 (0x0).
I: gfx_es2\gl_state.cpp:129: I: GPU Vendor : NVIDIA Corporation ; GL version str: 4.4.0 ; GLSL version str: 4.40 NVIDIA via Cg compiler
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Cannot find or open the PDB file.
The thread 0x2074 has exited with code 0 (0x0).
'PPSSPPWindows64.exe' (Win32): Unloaded 'C:\Windows\System32\avrt.dll'
The thread 0x22d0 has exited with code 0 (0x0).
The thread 0x23b8 has exited with code 0 (0x0).
The thread 0x1988 has exited with code 0 (0x0).
The thread 0x1be4 has exited with code 0 (0x0).
The thread 0x1914 has exited with code 0 (0x0).
I: NativeApp.cpp:914: I: NativeShutdown called
The thread 0x2104 has exited with code 1 (0x1).
The thread 0x2348 has exited with code 1 (0x1).
The thread 0x1b30 has exited with code 1 (0x1).
The thread 0x1bd4 has exited with code 1 (0x1).
The thread 0x23dc has exited with code 1 (0x1).
The thread 0x1780 has exited with code 1 (0x1).
The thread 0x2368 has exited with code 1 (0x1).
The thread 0x928 has exited with code 1 (0x1).
The thread 0x17d4 has exited with code 1 (0x1).
The thread 0x20fc has exited with code 1 (0x1).
The program '[3904] PPSSPPWindows64.exe' has exited with code 1 (0x1).
CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
07-25-2014, 08:39 PM (This post was last modified: 07-25-2014, 08:50 PM by solarmystic.)
@Bad Company
You're not supposed to kill it, just let it run.
The moment the freeze/crash happens upon clicking the Exit button in PPSSPP when running it in debugging mode (F5), Visual Studio 2013 should ask you whether or not you would like to "Break" in a dialogue box that should pop up.
Example:-
(click to enlarge image)
Then click on the Break button.
After that, look for the Call Stack box on the lower right hand corner of the screen after you click the "Break" button:-
Copy and paste that Call Stack output. That contains the information we need. Don't stop debugging yet and don't force quit PPSSPP from the Task manager.
Your output came from the "Output" box which appears when you've "stopped" debugging and is less useful.
Thanks for your patience and the follow-up, we're nearly there.
EDIT:- If by any chance the Call Stack box doesn't appear when in Debugging Mode, make sure it's enabled by going to the Debug menu -> Window -> click on Call Stack.
Does this problem happen with both 32 and 64 bit versions of PPSSPP?
At the top, there's a dropdown that says Release, and next to it x64. If you change Release to Debug, and then do the same thing, you may get a much better stack trace. Unfortunately the current one only has NVIDIA driver stuff, and since they aren't kind enough to share details about their driver source code, it doesn't tell us much...
07-28-2014, 12:55 PM (This post was last modified: 07-28-2014, 01:26 PM by Bad Company.)
Yep, it happens on both 32 & 64 bit versions of PPSSPP.
Again no dialogue box here -_-, so I pressed Break All, and got the same thing,
then i pressed continue and break all and got this
Code:
// Copyright (c) 2014- PPSSPP Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0 or later versions.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <list>
#include <memory>
#include "base/mutex.h"
#include "input/input_state.h"
#include "thread/thread.h"
#include "thread/threadutil.h"
#include "Core/Host.h"
#include "Windows/InputDevice.h"
#include "Windows/XinputDevice.h"
#include "Windows/DinputDevice.h"
#include "Windows/KeyboardDevice.h"
#include "Windows/WindowsHost.h"
static volatile bool inputThreadStatus = false;
static volatile bool inputThreadEnabled = false;
static std::thread *inputThread = NULL;
static recursive_mutex inputMutex;
static condition_variable inputEndCond;
extern InputState input_state;
inline static void ExecuteInputPoll() {
// Hm, we may hold the input_state lock for quite a while (time it takes to poll all devices)...
// If that becomes an issue, maybe should poll to a copy of inputstate and only hold the lock while
// copying that one to the real one?
lock_guard guard(input_state.lock);
input_state.pad_buttons = 0;
input_state.pad_lstick_x = 0;
input_state.pad_lstick_y = 0;
input_state.pad_rstick_x = 0;
input_state.pad_rstick_y = 0;
if (host) {
host->PollControllers(input_state);
}
UpdateInputState(&input_state);
}
static void RunInputThread() {
setCurrentThreadName("Input");
// NOTE: The keyboard and mouse buttons are handled via raw input, not here.
// This is mainly for controllers which need to be polled, instead of generating events.
while (inputThreadEnabled) {
ExecuteInputPoll();
// Try to update 250 times per second.
Sleep(4);
}
lock_guard guard(inputMutex);
inputThreadStatus = false;
inputEndCond.notify_one();
}
void InputDevice::BeginPolling() {
lock_guard guard(inputMutex);
inputThreadEnabled = true;
inputThread = new std::thread(&RunInputThread);
inputThread->detach();
}
void InputDevice::StopPolling() {
inputThreadEnabled = false;
lock_guard guard(inputMutex);
if (inputThreadStatus) {
inputEndCond.wait(inputMutex);
}
delete inputThread;
inputThread = NULL;
}
I think this freeze is the same "freeze issue" that i get on dolphin when i'm using the OpenGL backend, DX9, DX11 are fine.
Correct me if i'm wrong, PPSSPP 0.9.6.2 and 0.95 uses an old OpenGL ver. and 0.97 is using a more recent ver. of OpenGL (4.4.0 ? )
And about the dolphin freeze when I'm using OpenGL, It always happens and there are no build of dolphin that doesn't freeze with OpenGL, even those VERY old builds freeze here.
CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL