Bug 2207699 - lxterminal often Segmentation fault.
Summary: lxterminal often Segmentation fault.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lxterminal
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-16 15:07 UTC by gsm
Modified: 2023-06-18 01:29 UTC (History)
1 user (show)

Fixed In Version: lxterminal-0.4.0-8.D20211203git0febe16.fc37 lxterminal-0.4.0-8.D20211203git0febe16.fc38
Clone Of:
Environment:
Last Closed: 2023-06-18 01:14:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
lxterminal dumpcore (3.00 MB, application/octet-stream)
2023-05-16 15:13 UTC, gsm
no flags Details

Description gsm 2023-05-16 15:07:42 UTC
i dont known which action make it crash. but i find many dumpcore file refer to it. all dumpcore have same output with gdb, will show those info:

Core was generated by `lxterminal --geometry=200x50'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005633ccfd657b in terminal_close_window_activate_event ()
[Current thread is 1 (Thread 0x7f1291af5c80 (LWP 6162))]
Missing separate debuginfos, use: dnf debuginfo-install lxterminal-0.4.0-7.D20211203git0febe16.fc38.x86_64
(gdb) bt
#0  0x00005633ccfd657b in terminal_close_window_activate_event ()
#1  0x00007f1295c214ea in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#2  0x00007f1295c4fd36 in signal_emit_unlocked_R.isra.0 () at /lib64/libgobject-2.0.so.0
#3  0x00007f1295c40bdd in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#4  0x00007f1295c40e53 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#5  0x00007f129619dadf in _gtk_action_emit_activate () at /lib64/libgtk-3.so.0
#6  0x00007f1295c40cda in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#7  0x00007f1295c40e53 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#8  0x00007f1296158bfc in gtk_widget_activate () at /lib64/libgtk-3.so.0
#9  0x00007f129601f056 in gtk_menu_shell_activate_item () at /lib64/libgtk-3.so.0
#10 0x00007f129601f331 in gtk_menu_shell_button_release () at /lib64/libgtk-3.so.0
#11 0x00007f1295e9cc27 in _gtk_marshal_BOOLEAN__BOXEDv () at /lib64/libgtk-3.so.0
#12 0x00007f1295c40cda in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#13 0x00007f1295c40e53 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#14 0x00007f129616f9f4 in gtk_widget_event_internal.part.0.lto_priv () at /lib64/libgtk-3.so.0
#15 0x00007f1296007e10 in propagate_event.lto_priv () at /lib64/libgtk-3.so.0
#16 0x00007f12960089ba in gtk_main_do_event () at /lib64/libgtk-3.so.0
#17 0x00007f1295d48677 in _gdk_event_emit () at /lib64/libgdk-3.so.0
#18 0x00007f1295d9a4ee in gdk_event_source_dispatch.lto_priv () at /lib64/libgdk-3.so.0
#19 0x00007f129663d39c in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#20 0x00007f129669b438 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#21 0x00007f129663c99f in g_main_loop_run () at /lib64/libglib-2.0.so.0
#22 0x00007f1296006305 in gtk_main () at /lib64/libgtk-3.so.0
#23 0x00005633ccfd38f7 in main ()
(gdb) 

Reproducible: Sometimes




i use xinit start X11, and i run lxterminal under wm.

Comment 1 gsm 2023-05-16 15:13:50 UTC
Created attachment 1964910 [details]
lxterminal dumpcore

Comment 2 Mamoru TASAKA 2023-06-09 05:15:47 UTC
(gdb) bt
#0  0x00005633ccfd657b in terminal_close_window_activate_event (action=<optimized out>, terminal=<optimized out>)
    at /usr/src/debug/lxterminal-0.4.0-7.D20211203git0febe16.fc38.x86_64/lxterminal/src/lxterminal.c:488
#1  terminal_close_window_activate_event (action=<optimized out>, terminal=0x5633ce717f80)
    at /usr/src/debug/lxterminal-0.4.0-7.D20211203git0febe16.fc38.x86_64/lxterminal/src/lxterminal.c:478
#2  0x00007f1295c214ea in g_closure_invoke (closure=0x5633ce741cf0, return_value=0x0, n_param_values=1, param_values=0x7ffc2c9fe5b0, invocation_hint=0x7ffc2c9fe530)
    at ../gobject/gclosure.c:832
#3  0x00007f1295c4fd36 in handler_unref_R (handler=0x5633ce36f750, instance=<optimized out>, signal_id=<optimized out>) at ../gobject/gsignal.c:728
#4  signal_emit_unlocked_R.isra.0 (node=<optimized out>, detail=0, instance=0x5633ce36f800, emission_return=0x0, instance_and_params=0x7ffc2c9fe5b0) at ../gobject/gsignal.c:3830
#5  0x00007f1295c40bdd in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>) at ../gobject/gsignal.c:3555
#6  0x00007f1295c40e53 in _g_closure_supports_invoke_va (closure=0x5633ce7483b0) at ../gobject/gclosure.c:849
#7  g_signal_emit_valist (instance=0x7ffc2c9fe810, signal_id=<optimized out>, detail=0, var_args=0x5633ce36f800) at ../gobject/gsignal.c:3369
#8  0x00007f129619dadf in gtk_drag_is_managed (source_widget=0x7ffc2c9fe820) at ../gtk/gtkdnd.c:1691
#9  0x00007f1295c40cda in g_bsearch_array_lookup_fuzzy (bconfig=0x7f1295c6c060 <g_signal_hlbsa_bconfig.lto_priv>, sibling_or_after=0, key_node=0x5633ce1eee30, barray=0x5633ce36f800)
    at ../gobject/gsignal.c:3565
#10 handler_list_lookup (instance=0x5633ce733100, signal_id=<optimized out>) at ../gobject/gsignal.c:514
#11 g_signal_emit_valist (instance=0x5633ce733100, signal_id=<optimized out>, detail=0, var_args=0x7ffc00000100) at ../gobject/gsignal.c:3383
#12 0x00007f1295c40e53 in _g_closure_supports_invoke_va (closure=0x5633ce1e1e20) at ../gobject/gclosure.c:849
#13 g_signal_emit_valist (instance=0x0, signal_id=<optimized out>, detail=22067, var_args=0x5633ce733100) at ../gobject/gsignal.c:3369
#14 0x00007f1296158bfc in gtk_widget_class_init (klass=0x5633ce1e1e20) at ../gtk/gtkwidget.c:1476
#15 0x00007f129601f056 in _gtk_widget_peek_accessible (widget=0x7f1295c48236) at ../gtk/gtkwidget.c:13500
#16 gtk_model_button_update_state (button=0x7f1295c48236) at ../gtk/gtkmodelbutton.c:254
#17 0x00007f129601f331 in gtk_menu_tool_button_construct_contents (button=0x5633ce7bfe30) at ../gtk/gtkmenutoolbutton.c:171
#18 gtk_menu_tool_button_toolbar_reconfigured (toolitem=0x5633ce7bfe30) at ../gtk/gtkmenutoolbutton.c:182
#19 0x00007f1295e9cc27 in _gtk_marshal_VOID__OBJECT_BOOLEAN
    (invocation_hint=<optimized out>, n_param_values=<optimized out>, return_value=<optimized out>, closure=0x5633ce0b6240, return_value=0x0, n_param_values=3463208640, param_values=0xa, invocation_hint=0x5633ce737e50, marshal_data=0x5c) at gtk/gtkmarshalers.c:5090

Comment 3 Mamoru TASAKA 2023-06-09 05:41:59 UTC
I hope -8 will fix this issue.

Comment 4 Fedora Update System 2023-06-09 06:09:19 UTC
FEDORA-2023-b75235f672 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b75235f672

Comment 5 Fedora Update System 2023-06-09 06:09:43 UTC
FEDORA-2023-4e1f4a8abb has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4e1f4a8abb

Comment 6 Fedora Update System 2023-06-10 02:13:20 UTC
FEDORA-2023-b75235f672 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b75235f672`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b75235f672

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-06-10 03:31:41 UTC
FEDORA-2023-4e1f4a8abb has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4e1f4a8abb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4e1f4a8abb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-06-18 01:14:07 UTC
FEDORA-2023-4e1f4a8abb has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-06-18 01:29:30 UTC
FEDORA-2023-b75235f672 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.