| Summary: | gedit with plugin 'multiedit' crashes when loading file with non-printable character on specific position | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> | ||||||||||||||||||||||||||
| Component: | gedit | Assignee: | Ray Strode [halfline] <rstrode> | ||||||||||||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 20 | CC: | lobocode, mailings, oasookee, rstrode, theo148, ulf.seltmann | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:14323a7871a67e6f02ce7ea5890ef79e176dc23b | ||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2015-05-04 19:44:22 UTC | Type: | --- | ||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||
|
Description
Christian Stadelmann
2013-10-26 21:57:09 UTC
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. |