Opened 3 months ago

Last modified 3 months ago

#65851 assigned defect

rawtherapee: app segfaults during launch

Reported by: mascguy (Christopher Nielsen) Owned by: jasonliu-- (Jason Liu)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: rawtherapee

Description

Since being updated to utilize segregated gtk-osx-application (issue:65283), this port has been non-functional due to a segfault at launch:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libc++.1.dylib  0x000000010cd85ed8 std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >::operator<<(int) + 264
1   rawtherapee     0x00000001083e4d6f void Glib::ustring::FormatStream::stream<int>(int const&) + 31
2   rawtherapee     0x00000001083e4ce7 Glib::ustring Glib::ustring::format<int>(int const&) + 71
3   rawtherapee     0x00000001083e4c8d Glib::ustring::Stringify<int>::Stringify(int const&) + 29
4   rawtherapee     0x00000001083e4c2d Glib::ustring::Stringify<int>::Stringify(int const&) + 29
5   rawtherapee     0x00000001086a44cb Glib::ustring Glib::ustring::compose<Glib::ustring, int>(Glib::ustring const&, Glib::ustring const&, int const&) + 91
6   rawtherapee     0x00000001088a6554 RTWindow::RTWindow() + 3732
7   rawtherapee     0x0000000108728a47 (anonymous namespace)::create_rt_window() + 199
8   rawtherapee     0x0000000108727b16 main + 3606
9   libdyld.dylib   0x00007fff6d124cc9 start + 1

Some troubleshooting has been done thus far, to no avail. More needed, using various debug/tracing tools.

Change History (3)

comment:1 Changed 3 months ago by mascguy (Christopher Nielsen)

To assist troubleshooting, we should ensure debug build enables symbols, and disables optimization.

PR opened, covering those changes:

16139 - rawtherapee: set cmake build type; ensure optimization disabled, for debug build

comment:2 in reply to:  1 Changed 3 months ago by mascguy (Christopher Nielsen)

Replying to mascguy:

To assist troubleshooting, we should ensure debug build enables symbols, and disables optimization.

PR opened, covering those changes:

16139 - rawtherapee: set cmake build type; ensure optimization disabled, for debug build

Note: Stack trace captured utilizing a debug build, with the above change in play.

comment:3 Changed 3 months ago by Christopher Nielsen <mascguy@…>

In b51d0087f94b209903a12a0d4c089c24dffe1a52/macports-ports (master):

rawtherapee: set cmake build type

  • Also ensure optimization disabled, for debug build

See: #65851
[skip ci]

Note: See TracTickets for help on using tickets.