Bug 1759638 - [abrt] gedit: g_malloc(): gedit killed by SIGTRAP
Summary: [abrt] gedit: g_malloc(): gedit killed by SIGTRAP
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gedit
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8e7c50d7eab7963cc5234c3e2fd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-08 17:33 UTC by Jonathan Briggs
Modified: 2020-11-24 18:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 18:38:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (44.33 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: core_backtrace (19.20 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: cpuinfo (2.32 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: dso_list (11.06 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: environ (1.72 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: limits (1.29 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: maps (64.66 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: mountinfo (2.88 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: open_fds (1.80 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: proc_pid_status (1.32 KB, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details
File: var_log_messages (129 bytes, text/plain)
2019-10-08 17:34 UTC, Jonathan Briggs
no flags Details

Description Jonathan Briggs 2019-10-08 17:33:57 UTC
Description of problem:
I downloaded a text backtrace from RedHat Bugzilla and chose Open in Text Edit. 
As I was scrolling around with the touchpad it crashed.

This is a Wayland session on intel integrated graphics, 4K display if it matters.

Version-Release number of selected component:
2:gedit-3.34.0-1.fc31

Additional info:
reporter:       libreport-2.10.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/dbus\x2d:1.2\x2dorg.gnome.gedit.slice/dbus-:1.2-org.gnome.gedit
cmdline:        /usr/bin/gedit --gapplication-service
crash_function: g_malloc
executable:     /usr/bin/gedit
journald_cursor: s=a36fe78affdd4931ac25079f6527b2ae;i=4fbb6;b=5ac4d6ef5505439f967593b41612943d;m=152077fee0;t=59469581dd00f;x=1c50d29b486f720b
kernel:         5.3.2-300.fc31.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 g_malloc at ../glib/gmem.c:104
 #5 g_strndup at ../glib/gstrfuncs.c:425
 #6 notify_surrounding_text at imwayland.c:335
 #7 gtk_im_context_wayland_set_surrounding at imwayland.c:823
 #8 gtk_text_view_retrieve_surrounding_handler at gtktextview.c:9191
 #9 _gtk_marshal_BOOLEAN__VOIDv at gtkmarshalers.c:2146
 #10 _g_closure_invoke_va at ../gobject/gclosure.c:873
 #13 gtk_im_multicontext_retrieve_surrounding_cb at gtkimmulticontext.c:532
 #14 _gtk_marshal_BOOLEAN__VOIDv at gtkmarshalers.c:2146
 #15 _g_closure_invoke_va at ../gobject/gclosure.c:873

Potential duplicate: bug 1714203

Comment 1 Jonathan Briggs 2019-10-08 17:34:00 UTC
Created attachment 1623550 [details]
File: backtrace

Comment 2 Jonathan Briggs 2019-10-08 17:34:02 UTC
Created attachment 1623551 [details]
File: core_backtrace

Comment 3 Jonathan Briggs 2019-10-08 17:34:02 UTC
Created attachment 1623552 [details]
File: cpuinfo

Comment 4 Jonathan Briggs 2019-10-08 17:34:04 UTC
Created attachment 1623553 [details]
File: dso_list

Comment 5 Jonathan Briggs 2019-10-08 17:34:05 UTC
Created attachment 1623554 [details]
File: environ

Comment 6 Jonathan Briggs 2019-10-08 17:34:06 UTC
Created attachment 1623555 [details]
File: limits

Comment 7 Jonathan Briggs 2019-10-08 17:34:09 UTC
Created attachment 1623556 [details]
File: maps

Comment 8 Jonathan Briggs 2019-10-08 17:34:10 UTC
Created attachment 1623557 [details]
File: mountinfo

Comment 9 Jonathan Briggs 2019-10-08 17:34:11 UTC
Created attachment 1623558 [details]
File: open_fds

Comment 10 Jonathan Briggs 2019-10-08 17:34:12 UTC
Created attachment 1623559 [details]
File: proc_pid_status

Comment 11 Jonathan Briggs 2019-10-08 17:34:13 UTC
Created attachment 1623560 [details]
File: var_log_messages

Comment 12 Dima Ryazanov 2019-11-07 02:46:55 UTC
Similar problem has been detected:

Tried opening a large JSON file (14.2 KB)

reporter:       libreport-2.10.1
backtrace_rating: 4
cmdline:        /usr/bin/gedit --gapplication-service
crash_function: g_malloc
executable:     /usr/bin/gedit
journald_cursor: s=fe56a6aa6f624fe69db00da906bbfcfa;i=109c2;b=50451e6b39b94696ba475aca4d81fabb;m=14acb540e5;t=596b8890e6635;x=80354a066eee47a3
kernel:         5.3.7-301.fc31.x86_64
package:        2:gedit-3.34.0-1.fc31
reason:         gedit killed by SIGTRAP
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 13 qazdefuque 2019-11-29 23:46:01 UTC
Similar problem has been detected:

I opened text file temporary.txt
created:
python -c "print((3756801695685 * 2 ** 666689 - 1, 3756801695685 * 2 ** 666689 + 1))" > temporary.txt
ls -la temporary.txt 
information:
-rw-rw-r--. 1 talibpierson talibpierson 401417 Nov 29 15:41 temporary.txt

reporter:       libreport-2.11.3
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/dbus\x2d:1.2\x2dorg.gnome.gedit.slice/dbus-:1.2-org.gnome.gedit
cmdline:        /usr/bin/gedit --gapplication-service
crash_function: g_malloc
executable:     /usr/bin/gedit
journald_cursor: s=3019881f5b8943b9ba6ee4c2a16c2a29;i=14e8b;b=7de884d8a5cd49b0a4839c30f4818a6a;m=d3ee838c;t=598847ddd47ca;x=e5532be9e288beaa
kernel:         5.3.11-300.fc31.x86_64
package:        2:gedit-3.34.0-1.fc31
reason:         gedit killed by SIGTRAP
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Fedor Butikov 2020-02-29 19:08:26 UTC
Similar problem has been detected:

Crash on editing very long texts

reporter:       libreport-2.12.0
backtrace_rating: 4
cmdline:        /usr/bin/gedit --gapplication-service
crash_function: g_malloc
executable:     /usr/bin/gedit
journald_cursor: s=c67e51f65f7444b9b036f274bdd8ed98;i=14aea1;b=c94e3509617b48bb97a70499ae7886da;m=1b88eb1782;t=59fa63bd10f96;x=315821f4c5b66152
kernel:         5.5.5-200.fc31.x86_64
package:        2:gedit-3.34.1-1.fc31
reason:         gedit killed by SIGTRAP
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 15 Ben Cotton 2020-11-03 15:38:15 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Ben Cotton 2020-11-24 18:38:31 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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