-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash when i try to open config UI [macos] #14997
Comments
Also experienced this, seems to happen 100% of the time when launched as an .app, but when you cd to the directory and run ./rpcs3 you can launch the config UI fine, it's just when you stop emulation it crashes.
Also looking at the selector
Seems like a null pointer bug, there's a null check at the start of the |
there's a PR to fix build errors on mac already: #14452 |
Yet another PR addressing the same problem: #15008. Looks promising, will give it a try. |
If you can get a debug build with symbols going that'd be awesome, I'll look into this when I have time otherwise but hopefully someone more knowledgable in the code will fix it, I'm kinda just flying blind in a debugger atm |
For what it's worth, I can't replicate this issue on Sonoma 14.3 Beta (I'm on Beta 2 now, but I never had the issue on Beta 1 either). I have no issue with the config menu on the release builds or my own local builds. Although I can't currently get a working build of RPCS3 using Sonoma, I have to use Ventura. I'm on an M1 Pro, From the OP's log it looks like they are on an Apple Silicon Mac too. To build with debug symbols you can set the CMake setting |
I'm on an M1 Pro too, and yep my comment wasn't saying it wasn't possible or anything, just that I didn't want to fight with build systems like cmake to try build it, thanks though! :) there's issues with the foundation sdk, there's an open PR to fix them though. Interesting that you don't have this issue though, for some reason it also only repros on one game for me, Little Big Planet 3, the rest it works fine Based on my very limited debugging (without symbols) seems to crash on an :isEqual selector call |
Interesting, do you have a link to that? |
@agnosticlines
so for me, it's the same as when i start it as an app, meaning, immediate crash upon trying to open anything related to config UI. for info i'm also on 14.3 beta2 (23D5043d), my system is a macbook pro 14" m2pro 16gb of ram (from 2023). |
Hey, had a look again, went to record a video, you're right, it happens for me sometimes when I open it with ./rpcs3 too, it definitely seems to happen more when I open it as an app, not sure if that's a coincidence, I'm starting to think it's a timing issue or race, given that it seems to be pretty random when it decides to crash, but if I click config the second I can, it crashes 90-95% of the time, that lambda is seeming quite suspect: void settings_dialog::SnapSlider(QSlider *slider, int interval)
{
if (!slider)
{
return;
}
// Snap the slider to the next best interval position if the slider is currently modified with the mouse.
connect(slider, &QSlider::valueChanged, [this, slider, interval](int value)
{
if (!slider || slider != m_current_slider)
{
return;
}
slider->setValue(utils::rounded_div(value, interval) * interval);
});
// Register the slider for the event filter which updates m_current_slider if a QSlider was pressed or released with the mouse.
// We can't just use sliderPressed and sliderReleased signals to update m_current_slider because those only trigger if the handle was clicked.
slider->installEventFilter(this);
m_snap_sliders.insert(slider);
} Particularly the While testing for this issue I've uncovered another dozen or so crashes in UI code, seem to also be race-y issues:
I very much doubt the fault is with the RPCS3 code here given all these bugs, I wonder if the RPCS3 code has just revealed some bad Qt code on macOS. |
On OSX 14.3, M2 Macbook Pro, the only build that works is Rcps3 0.0.28-15308. I click on config and pads on this version, then opened Rcps3 0.0.30-15914 and booted the game, changed the resolution in the older version and it works. After removing all of the Rcps3 system files with a clean install, the current builds only boot the game but clicking on config or pads crashes it. Then when I changed the settings in 0.0.28-15308 and the current build stopped booting games. So I booted in 0.0.30-15914 and it boots in 0.0.28-15308 now. |
I have the issue on M3 Max MacOS 14.3, and the last build that boots games and opens config UI is There were some various ways of app's behavior in the updates forward though, there was a build about 159xx that after tapping on No, the game window would open and work, but I'm not sure if it was about my settings or not. Anyways, I just named 15696 as "RPCS3 LTS" on my apps until a functional build is there. |
Something else that I have realized from the config UI crash is that opening one of the options from Configuration menu (like GUI or Audio) has a possibility of opening the UI (let's say 10% times). Directly tapping on Config button on the app never opens it for me. |
Except the Config UI crash problem, everything else was related to SDL plugin and #14999, meaning that disabling SDL gamepad plugin temporarily fixes them all. The effect of the bug just became worse possibly after QT update to 6.6.1, causing the games to not even get opened. Before that, the bug only was causing the emulator to crash just after closing a game. So basically the workaround for it is to open the game with SDL disabled, and then enabling it while the game is open (which is almost impossible by current config UI crash, because gamepad settings is basically a config page). |
Can confirm this is also happening to me |
Same here, this was fixed with updating RPCS3 to new Qt version |
Quick summary
immediate crash upon opening config ui.
running on macos 14.3 beta.
this problem started to happen with all recent builds since a little while now, maybe a month or such.
Details
when i click "config" button on rpcs3 toolbar, or if i try to do the same (open config UI) from system menu bar, i get immediate popup indicating a crash and rpcs3 exit.
the popup shows this:
to note:
if i don't try to open the config UI, and i just double click a game in the list, i still get a crash mesage but i can click 'continue/ignore' and the game actualy starts and is playable. i also tried to delete rpcs3 config directory in
~/Library/Application Support/rpcs3/
and start fresh, but the result was the same. no matter what i try, i cannot access config UI anymore.Attach a log file
RPCS3.log
Attach capture files for visual issues
System configuration
macos 14.3 beta
Other details
apparently last known build to allow opening config UI, was build
0.0.29-15773
back from november 29-2023 (thanks duke on discord for that info).The text was updated successfully, but these errors were encountered: