tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/szyszka



On Tue, 30 May 2023 at 12:38, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Tue, 30 May 2023 at 12:17, David Brownlee <abs%netbsd.org@localhost> wrote:
> >
> > On Tue, 30 May 2023 at 07:53, pin <voidpin%protonmail.com@localhost> wrote:
> > >
> > > Hi,
> > >
> > > I've packaged szyszka, simple but powerful and fast bulk file renamer
> > > [...]
> > Aha - another example for PR#57445, and a simpler app than Firefox for it.
> >
> > I see the same crash, and the same workaround works:
> >
> > env LD_PRELOAD=/usr/X11R7/lib/libEGL.so szyszka
> >
> > Could I suggest a similar workaround - to the package - install
> > szyszka in $PREFIX/libexec/szyszka and have a simple wrapper for
> > NetBSD
> >
> > https://mail-index.netbsd.org/pkgsrc-changes/2023/05/30/msg275715.html
> >
> > David
>
> Just as a data point, I am getting a very similar panic, this time with radeon:
> ...
>
> Core was generated by `szyszka'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x000075c00199d906 in ?? () from /usr/X11R7/lib/modules/dri/radeonsi_dri.so
> [Current thread is 1 (process 12030)]
> (gdb)
> (gdb) bt
> #0  0x000075c00199d906 in ?? () from /usr/X11R7/lib/modules/dri/radeonsi_dri.so
> #1  0x000075c00199fd73 in _mesa_GetIntegerv () from
> /usr/X11R7/lib/modules/dri/radeonsi_dri.so
> #2  0x000075c011d12d65 in gsk_gl_command_queue_new () from
> /usr/pkg/lib/libgtk-4.so.1
> #3  0x000075c011d17eb4 in gsk_gl_driver_for_display () from
> /usr/pkg/lib/libgtk-4.so.1
> #4  0x000075c011d0f466 in gsk_gl_renderer_realize () from
> /usr/pkg/lib/libgtk-4.so.1
> #5  0x000075c011cf98d7 in gsk_renderer_realize () from
> /usr/pkg/lib/libgtk-4.so.1
> #6  0x000075c011cf9e05 in gsk_renderer_new_for_surface () from
> /usr/pkg/lib/libgtk-4.so.1
> #7  0x000075c011bbecbd in gtk_window_realize () from /usr/pkg/lib/libgtk-4.so.1
> #8  0x000075c0115db797 in _g_closure_invoke_va () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #9  0x000075c0115f24ac in g_signal_emit_valist () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #10 0x000075c0115f26e0 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so.0
> #11 0x000075c011bb1c3f in gtk_widget_realize () from /usr/pkg/lib/libgtk-4.so.1
> #12 0x000075c011bc3849 in gtk_window_show () from /usr/pkg/lib/libgtk-4.so.1
> #13 0x000075c0115db797 in _g_closure_invoke_va () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #14 0x000075c0115f24ac in g_signal_emit_valist () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #15 0x000075c0115f26e0 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so.0
> #16 0x000075c011ba749f in gtk_widget_show () from /usr/pkg/lib/libgtk-4.so.1
> #17 0x0000000000fa2193 in
> szyszka::gui_data_things::gui_data::GuiData::new_with_application ()
> #18 0x0000000000f616b9 in szyszka::build_ui ()
> #19 0x0000000000fb12d8 in <O as
> gio::auto::application::ApplicationExt>::connect_command_line::command_line_trampoline
>     ()
> #20 0x000075c0120f424b in _g_cclosure_marshal_INT__OBJECT () from
> /usr/pkg/lib/libgio-2.0.so.0
> #21 0x000075c0115db5b0 in g_closure_invoke () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #22 0x000075c0115ec675 in signal_emit_unlocked_R.isra.0 () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #23 0x000075c0115f1a98 in g_signal_emit_valist () from
> /usr/pkg/lib/libgobject-2.0.so.0
> #24 0x000075c0115f26e0 in g_signal_emit () from /usr/pkg/lib/libgobject-2.0.so.0
> #25 0x000075c012145a0e in g_application_call_command_line () from
> /usr/pkg/lib/libgio-2.0.so.0
> #26 0x000075c012147be9 in g_application_real_local_command_line ()
> from /usr/pkg/lib/libgio-2.0.so.0
> #27 0x000075c012147d31 in g_application_run () from /usr/pkg/lib/libgio-2.0.so.0
> #28 0x0000000000fa73e9 in <O as
> gio::application::ApplicationExtManual>::run_with_args ()
> #29 0x0000000000f615d8 in szyszka::main ()
> #30 0x0000000000fc06a3 in
> std::sys_common::backtrace::__rust_begin_short_backtrace ()
> #31 0x0000000000fa3449 in
> std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::he0dfbc5ea91b334d
> ()
> #32 0x00000000010c0634 in std::rt::lang_start_internal ()
> #33 0x0000000000f63db5 in main ()

Does starting it with "env LD_PRELOAD=/usr/X11R7/lib/libEGL.so szyszka" help

David


Home | Main Index | Thread Index | Old Index