rfd icon indicating copy to clipboard operation
rfd copied to clipboard

Crash on macOS

Open jangler opened this issue 10 months ago • 4 comments

A user of my application reports a crash when "spending a couple of seconds looking for files" in dialogs. They report that it happens with both open-file dialogs and save-file dialogs. The user is on macOS Monterey. I'm using the sync API and I believe I'm calling from the main thread in a windowed environment (miniquad/macroquad).

jangler avatar Feb 14 '25 14:02 jangler

The application is built on macOS 13, so maybe this could be due to a forward-incompatibility issue in macOS? I'm not sure how that sort of thing works.

jangler avatar Feb 14 '25 14:02 jangler

Any chance of getting some sort of crash log?

PolyMeilex avatar Feb 14 '25 23:02 PolyMeilex

This is the backtrace I have. However, most of the stack frames are <unknown> and in my experience the order of frames can't really be trusted; i.e. I've seen other examples where the last frame before the panic handler code is not the frame the panic actually originated from.

crash.txt

jangler avatar Feb 17 '25 15:02 jangler

https://crates.io/crates/objc2 crates were bumped a few days ago.

I also created a PR for dispatch2 - https://github.com/PolyMeilex/rfd/pull/250

Could there be a chance updating these macOS dependencies fixes this?

jqnatividad avatar May 12 '25 11:05 jqnatividad