Bug#994969: jackd2: segfaults after today's upgrade of other Debian testing packages
Ryan Thoryk
ryan at thoryk.com
Sun Oct 3 13:18:54 BST 2021
On 10/3/21 6:33 AM, Simon McVittie wrote:
> On Sat, 02 Oct 2021 at 20:48:55 +1000, 小太 wrote:
> Perhaps jack_firewire.so and/or glibmm should be linked with -Wl,-z,nodelete
> to prevent it from being removed from the address space even after
> dlclose()? That would ensure that its static strings remain in memory.
I think my code only showed a dlopen() with a single call, but my
backtrace shows that it attempts to load the library twice (with caught
exceptions), followed by a possible success the third time, then the
glibmm init and segfault. I don't know why the library load is failing.
Since I did a stack allocation instead, I'd think that memory would
become invalid if the library unloaded before the glibmm init.
I'd mainly have to play with it in gdb more to see what's happening.
nospam at kota.moe might've done more debugging than I did.
--
Ryan Thoryk
ryan at thoryk.com
ryan at tliquest.net
More information about the pkg-gnome-maintainers
mailing list