Version-Release number of selected component: gedit-3.10.1-1.fc20 Additional info: reporter: libreport-2.1.8 backtrace_rating: 4 cmdline: gedit crash_function: _g_log_abort executable: /usr/bin/gedit kernel: 3.11.6-301.fc20.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #2 _g_log_abort at gmessages.c:255 #5 _pygi_argument_to_object at pygi-argument.c:1581 #6 pygi_signal_closure_marshal at pygi-signal-closure.c:130 #11 gtk_text_buffer_emit_insert at gtktextbuffer.c:922 #12 gtk_text_buffer_insert at gtktextbuffer.c:953 #13 validate_and_insert at gedit-document-output-stream.c:633 #14 gedit_document_output_stream_write at gedit-document-output-stream.c:974 #15 g_output_stream_write at goutputstream.c:211 #16 write_file_chunk at gedit-document-loader.c:503 #17 async_read_cb at gedit-document-loader.c:610
Created attachment 816453 [details] File: backtrace
Created attachment 816454 [details] File: cgroup
Created attachment 816455 [details] File: core_backtrace
Created attachment 816456 [details] File: dso_list
Created attachment 816457 [details] File: environ
Created attachment 816458 [details] File: limits
Created attachment 816459 [details] File: maps
Created attachment 816460 [details] File: open_fds
Created attachment 816461 [details] File: proc_pid_status
Created attachment 816462 [details] File: var_log_messages
This bug is only present if "multiedit" plugin is enabled. I tried to hunt down the bug, it seems like gedit crashes when having "multiedit" plugin enabled and opening a file with byte ((k*0x2000)-1) having a value > 0x7F. This is the case for 0x1FFF, 0x3FFF, 0x15FFF, … Setting this byte to a value smaller than 0x80 makes gedit load the file without problems. Seems to me like some buffer problem: 0x80 can't be displayed as one character, gets displayed a 2 characters overlapping the buffer boundaries. I attached 2 test cases.
Created attachment 816557 [details] This file makes gedit crash with plugin multiedit enabled, Byte 0x1FFF is >0x7F
Created attachment 816561 [details] This file doesn't crash gedit with plugin multiedit enabled, byte 0x1FFF has value < 0x80
This bug is no more present on gedit 3.16.