darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Crash on Mac Ventura when settings opened

Open ericlief opened this issue 2 years ago • 7 comments

Describe the bug

I build using the script on M1 Mac (13.6.1)

The app works better than the homebrew one I tried, which does not display the options correctly in windows, one if the issues reported in Issue #15895.

However, scrolling with the mouse/trackpad in Lightroom does not work properly and opening the settings crashes the app.

Steps to reproduce

1 Build with script on M1 mac (Ventura) 2. Open app and import photos 3. Try scrolling with mouse in LIghtroom (only works when clicking on scroll bar) 4. Open settings (will crash)

Expected behavior

Not crash...

Logfile | Screenshot | Screencast

too long to post (see attachement)

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

Master

What OS are you using?

Linux

What is the version of your OS?

13.6.1

Describe your system?

Model: MacBookAir10,1, BootROM 10151.41.12, proc 8:4:4 processors, 16 GB, SMC Graphics: Apple M1, Apple M1, Built-In Display: spdisplays_display, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online Display: Color LCD, 2560 x 1600 Retina, MirrorOff, Online Memory Module: LPDDR4, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: May 13 2023 07:20:48 version 18.20.383.15.7.8.150 FWID 01-b37727a5 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB3.1 Hub USB Device: USB2.1 Hub USB Device: USB31Bus Thunderbolt Bus: MacBook Air, Apple Inc. Thunderbolt Bus: MacBook Air, Apple Inc.

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

Screenshot 2023-12-25 at 8 49 51 PM crash-darktable-test.txt

ericlief avatar Dec 26 '23 03:12 ericlief

you might check f all prerequisites are properly installed - it seems it doesn't find GSettings schemas maybe set it explicitly vis GSETTINGS_SCHEMA_DIR=... in the start command

MStraeten avatar Dec 26 '23 05:12 MStraeten

Uploading Screenshot 2023-12-26 at 10.26.13 AM.png… OK, but where should this directory point to? I can't figure this out

ericlief avatar Dec 26 '23 16:12 ericlief

how did you build the app? dis you follow one of the BUILD... scripts in https://github.com/darktable-org/darktable/tree/master/packaging/macosx?

MStraeten avatar Dec 26 '23 16:12 MStraeten

./build.sh --prefix /opt/darktable --build-type Release --install --sudo

ericlief avatar Dec 26 '23 18:12 ericlief

I will try the homebrew instr. I thought that script in build was also for macos?

ericlief avatar Dec 26 '23 18:12 ericlief

OK, building with steps 1-4 for homebrew worked with master (4.7.0+70~g18c7ddbf83) I confirm that the window issue I reported (https://github.com/darktable-org/darktable/issues/15895) works as expected in settings. In the Readme, I feel it would be helpful to label those instructions as only for Linux and add these steps for mac there.

ericlief avatar Dec 26 '23 20:12 ericlief

Update: There is stilla a scrolling issue with this build in Lightroom. Put cursor in the area of previews and scroll with trackpad and nothing happens, whereas the scrollbar works.

ericlief avatar Dec 27 '23 01:12 ericlief

I confirm that the window issue I reported (#15895) works as expected in settings.

So you can close the issue if the problem is solved. Also, if I understand correctly, there is no problem with the crash anymore, if you build according to the instructions.

victoryforce avatar Jan 13 '24 13:01 victoryforce

Also, if I understand correctly, there is no problem with the crash anymore, if you build according to the instructions.

@ericlief I still don't see your answer and I assume that if the problem was still there you would have answered. Therefore, I close this issue. Feel free to comment further if the problem still exists.

victoryforce avatar Feb 03 '24 20:02 victoryforce