You are not logged in.

#1 2022-10-31 12:36:28

MickeyRat
Member
Registered: 2011-11-15
Posts: 133

[SOLVED] Segmentation fault in DVD Styler (core dump)

I've done a few updates since I used DVD Styler so not sure where to look.  Now when I use it, it core dumps with a segmentation fault. The only recent segmentation fault posts I'm seeing deal with readline and bash. It doesn't appear to be the same thing.

Here's the first error from the journal:

dvdstyler[1145]: segfault at 84d2b0 ip 00007f828d4afb4e sp 00007f8278acba70 error 4 in libc.so.6[7f828d43b000+15b000]

In the terminal I see the following errors:

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.191: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(dvdstyler:3902): Gtk-WARNING **: 08:08:44.192: Negative content width -5 (allocation 2, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(dvdstyler:3902): Gtk-WARNING **: 08:08:44.192: Negative content width -5 (allocation 2, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(dvdstyler:3902): Gtk-WARNING **: 08:08:44.192: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.192: gtk_widget_set_size_request: assertion 'height >= -1' failed

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.192: gtk_widget_set_size_request: assertion 'height >= -1' failed

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.192: gtk_widget_set_size_request: assertion 'height >= -1' failed

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.222: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.222: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.268: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.268: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.296: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(dvdstyler:3902): Gtk-CRITICAL **: 08:08:44.296: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Segmentation fault (core dumped)

Anyone have any idea.  Thanks

Last edited by MickeyRat (2022-10-31 14:59:13)


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#2 2022-10-31 12:57:30

seth
Member
Registered: 2012-09-03
Posts: 60,822

Re: [SOLVED] Segmentation fault in DVD Styler (core dump)

Segmentation fault (core dumped)

https://wiki.archlinux.org/title/Core_d … _core_dump

Assertions about the GtkSpinButton size likely relate t oyour gtk theme and/or the font used, but it's not even clear whether that's what causes the segfault (since it's not a SIGABRT)

Offline

#3 2022-10-31 13:33:39

MickeyRat
Member
Registered: 2011-11-15
Posts: 133

Re: [SOLVED] Segmentation fault in DVD Styler (core dump)

seth wrote:
Segmentation fault (core dumped)

https://wiki.archlinux.org/title/Core_d … _core_dump

Assertions about the GtkSpinButton size likely relate t oyour gtk theme and/or the font used, but it's not even clear whether that's what causes the segfault (since it's not a SIGABRT)

Thanks that's very interesting. I've never encountered coredumpctl. I may have to do some digging into that utility.  I was a DBA before I retired so I've seen debuggers before.  The cordumpctl info was pretty long and, to me, not that informative.  I'll put it up on pastebin, if you think it'll help. 

I'm posting all the output from coredumpctl gdb because there are some warnings before I entered the bt command that I'm not sure about.  My reading of that output indicates a problem in libc.so.6 but, we're into unfamiliar territory for me.  So perhaps libwx_baseu-3.2.so.0 or something else entirely.

Reading symbols from /usr/bin/dvdstyler...
(No debugging symbols found in /usr/bin/dvdstyler)

warning: Can't open file /SYSV00000000 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing
[New LWP 10439]
[New LWP 10336]
[New LWP 10310]
[New LWP 10311]
[New LWP 10312]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `dvdstyler'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff9c66afb4e in free () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7ff9b1dd36c0 (LWP 10439))]
(gdb) bt
#0  0x00007ff9c66afb4e in free () at /usr/lib/libc.so.6
#1  0x00005627750c30de in  ()
#2  0x00005627750c3f55 in  ()
#3  0x00005627750c4509 in  ()
#4  0x00007ff9c8bae362 in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.2.so.0
#5  0x00007ff9c8ba9c61 in wxThreadInternal::PthreadStart(wxThread*) () at /usr/lib/libwx_baseu-3.2.so.0
#6  0x00007ff9c669f8fd in  () at /usr/lib/libc.so.6
#7  0x00007ff9c6721a60 in  () at /usr/lib/libc.so.6

Thanks again for the informative reply.

Edit: I took it a litlle farther to see what owned those libraries.  libc.so.6 is owned by glibc which was last updated on 10/7.  libwx_baseu-3.2.so.0 is owned by wxwidgets-common which was last updated 9/9.  I've used DVD Styler sucessfully since both those updates.

Last edited by MickeyRat (2022-10-31 13:53:21)


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#4 2022-10-31 13:56:56

seth
Member
Registered: 2012-09-03
Posts: 60,822

Re: [SOLVED] Segmentation fault in DVD Styler (core dump)

The segfault in libc is because of a memory corruption ("free" is used on non-allocated RAM etc, it's unlikely that "free" itself has the bug)
libwx_baseu-3.2.so.0 would be from https://archlinux.org/packages/extra/x8 … ts-common/ but it merely starts a thread and the problem then occurs inside three private/unexported/stripped functions in dvdstyler
There unfortunately isn't much to learn from this.

For a quick test, move away ~/.dvdstyler and ~/.config/dvdstyler

Edit: the inbetween is https://archlinux.org/packages/community/x86_64/wxsvg/ which was updated 2022-10-22

Last edited by seth (2022-10-31 13:58:20)

Offline

#5 2022-10-31 14:57:38

MickeyRat
Member
Registered: 2011-11-15
Posts: 133

Re: [SOLVED] Segmentation fault in DVD Styler (core dump)

seth wrote:

The segfault in libc is because of a memory corruption ("free" is used on non-allocated RAM etc, it's unlikely that "free" itself has the bug)
libwx_baseu-3.2.so.0 would be from https://archlinux.org/packages/extra/x8 … ts-common/ but it merely starts a thread and the problem then occurs inside three private/unexported/stripped functions in dvdstyler
There unfortunately isn't much to learn from this.

For a quick test, move away ~/.dvdstyler and ~/.config/dvdstyler

Edit: the inbetween is https://archlinux.org/packages/community/x86_64/wxsvg/ which was updated 2022-10-22

Moving the DVD Styler configuration file didn't change anything but, downgrading wxsvg took care of the problem.  I'll keep an eye out for updates of wxsvg or DVD Styler and upgrade when appropriate.  Thanks!!!

Edit: I get the impression that you are involved in support for at least something here.  This is probably a known issue but, if I can help isolate it, please reply here.  I appreciate the help.

Last edited by MickeyRat (2022-10-31 15:08:35)


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#6 2022-10-31 15:11:56

seth
Member
Registered: 2012-09-03
Posts: 60,822

Offline

Board footer

Powered by FluxBB