Bug 2265559

Summary: [abrt] gnome-text-editor: __strrchr_avx2(): gnome-text-editor killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Luna Jernberg <droidbittin>
Component: gtk4Assignee: Link Dupont <link>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: awilliam, droidbittin, drusek, gnome-sig, klember, link, mail, mclasen, ngompa13, robatino
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/cf73af2bb21494c30cd2d6e16748a07153a238b
Whiteboard: abrt_hash:fad302c45a35a0d835d5d83a1995f981c822239a;VARIANT_ID=workstation; AcceptedFreezeException
Fixed In Version: gtk4-4.13.8-2.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-01 18:13:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2187792, 2187793    
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: backtrace
none
Stack trace none

Description Luna Jernberg 2024-02-22 17:30:56 UTC
Description of problem:
Tried to save a .txt file with Ctrl + S it also crashed instantly when trying to save a .txt file using the menu

Version-Release number of selected component:
gnome-text-editor-46~beta-1.fc40

Additional info:
reporter:       libreport-2.17.14
type:           CCpp
reason:         gnome-text-editor killed by SIGSEGV
journald_cursor: s=1d2fed5b46ea4d8fae7f13afe3d8e61e;i=1a7f;b=c86538ec181b4098b78c51e102d6a8e4;m=12f0ce5a;t=611fbbfea5e6b;x=523f10587021ae28
executable:     /usr/bin/gnome-text-editor
cmdline:        /usr/bin/gnome-text-editor --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.TextEditor
rootdir:        /
uid:            1000
kernel:         6.8.0-0.rc5.41.fc40.x86_64
package:        gnome-text-editor-46~beta-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: __strrchr_avx2
comment:        Tried to save a .txt file with Ctrl + S it also crashed instantly when trying to save a .txt file using the menu

Truncated backtrace:
Thread no. 1 (27 frames)
 #0 __strrchr_avx2 at ../sysdeps/x86_64/multiarch/strrchr-avx2.S:67
 #1 refresh_current_folder_and_file_part at ../gtk/gtkfilechooserentry.c:712
 #2 g_object_notify_queue_thaw at ../gobject/gobject.c:393
 #3 gtk_editable_set_text at ../gtk/gtkeditable.c:612
 #4 gtk_file_chooser_entry_set_text at ../gtk/gtkfilechooserentry.c:1049
 #5 gtk_file_chooser_widget_set_current_name at ../gtk/gtkfilechooserwidget.c:4370
 #7 gtk_file_chooser_native_set_current_name at ../gtk/gtkfilechoosernative.c:678
 #8 _editor_page_save_as at ../src/editor-page.c:1288
 #9 gtk_named_action_activate at ../gtk/gtkshortcutaction.c:1116
 #10 gtk_shortcut_controller_run_controllers at ../gtk/gtkshortcutcontroller.c:428
 #11 gtk_shortcut_controller_handle_event at ../gtk/gtkshortcutcontroller.c:473
 #12 gtk_event_controller_handle_event at ../gtk/gtkeventcontroller.c:362
 #13 gtk_widget_run_controllers at ../gtk/gtkwidget.c:4585
 #14 gtk_widget_event at ../gtk/gtkwidget.c:4777
 #16 gtk_propagate_event_internal at ../gtk/gtkmain.c:1947
 #17 gtk_propagate_event at ../gtk/gtkmain.c:1997
 #18 gtk_main_do_event at ../gtk/gtkmain.c:1687
 #19 _gdk_marshal_BOOLEAN__POINTERv at gdk/gdkmarshalers.c:302
 #20 gdk_surface_event_marshallerv at ../gdk/gdksurface.c:462
 #21 _g_closure_invoke_va at ../gobject/gclosure.c:897
 #22 signal_emit_valist_unlocked at ../gobject/gsignal.c:3415
 #25 gdk_surface_handle_event.isra.0 at ../gdk/gdksurface.c:2932
 #26 _gdk_event_emit.isra.0 at ../gdk/gdkevents.c:491
 #29 g_main_context_dispatch_unlocked at ../glib/gmain.c:4152
 #30 g_main_context_iterate_unlocked.isra.0 at ../glib/gmain.c:4217
 #31 g_main_context_iteration at ../glib/gmain.c:4282
 #32 g_application_run at ../gio/gapplication.c:2613

Comment 1 Luna Jernberg 2024-02-22 17:30:59 UTC
Created attachment 2018199 [details]
File: proc_pid_status

Comment 2 Luna Jernberg 2024-02-22 17:31:01 UTC
Created attachment 2018200 [details]
File: maps

Comment 3 Luna Jernberg 2024-02-22 17:31:02 UTC
Created attachment 2018201 [details]
File: limits

Comment 4 Luna Jernberg 2024-02-22 17:31:04 UTC
Created attachment 2018202 [details]
File: environ

Comment 5 Luna Jernberg 2024-02-22 17:31:05 UTC
Created attachment 2018203 [details]
File: open_fds

Comment 6 Luna Jernberg 2024-02-22 17:31:06 UTC
Created attachment 2018204 [details]
File: mountinfo

Comment 7 Luna Jernberg 2024-02-22 17:31:08 UTC
Created attachment 2018205 [details]
File: os_info

Comment 8 Luna Jernberg 2024-02-22 17:31:09 UTC
Created attachment 2018206 [details]
File: cpuinfo

Comment 9 Luna Jernberg 2024-02-22 17:31:11 UTC
Created attachment 2018207 [details]
File: core_backtrace

Comment 10 Luna Jernberg 2024-02-22 17:31:12 UTC
Created attachment 2018208 [details]
File: exploitable

Comment 11 Luna Jernberg 2024-02-22 17:31:13 UTC
Created attachment 2018209 [details]
File: dso_list

Comment 12 Luna Jernberg 2024-02-22 17:31:15 UTC
Created attachment 2018210 [details]
File: backtrace

Comment 13 Daniel Rusek 2024-02-27 00:00:30 UTC
Fedora 40, gnome-text-editor-46~beta-1.fc40.x86_64.

Same issue here when trying to save a new file. I am including a full stack trace log.

Comment 14 Daniel Rusek 2024-02-27 00:04:08 UTC
Created attachment 2019063 [details]
Stack trace

Full stack trace from gdb

Comment 15 Fedora Blocker Bugs Application 2024-02-27 00:08:32 UTC
Proposed as a Blocker and Freeze Exception for 40-beta by Fedora user asciiwolf using the blocker tracking app because:

 It is not possible to create (save) a new file in Text Editor since it always results in a crash. This is a major issue and should ideally be fixed before the Beta release.

Comment 16 Adam Williamson 2024-02-29 01:16:09 UTC

*** This bug has been marked as a duplicate of bug 2266521 ***

Comment 17 Adam Williamson 2024-02-29 01:16:56 UTC
Gah, sorry, I meant to dupe that the other way around...

Comment 18 Adam Williamson 2024-02-29 01:17:22 UTC
*** Bug 2266521 has been marked as a duplicate of this bug. ***

Comment 19 Fedora Update System 2024-02-29 01:21:00 UTC
FEDORA-2024-efcb99f782 (gtk4-4.13.8-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-efcb99f782

Comment 20 Adam Williamson 2024-02-29 01:21:48 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/1480 , marking accepted FE.

Comment 21 Fedora Update System 2024-03-01 18:13:42 UTC
FEDORA-2024-efcb99f782 (gtk4-4.13.8-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.