After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741193 - cat /dev/urandom often segfaults vte
cat /dev/urandom often segfaults vte
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.39.x
Other Linux
: Normal major
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 741201 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-12-06 12:10 UTC by Egmont Koblinger
Modified: 2014-12-07 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (7.31 KB, patch)
2014-12-06 15:54 UTC, Egmont Koblinger
committed Details | Review

Description Egmont Koblinger 2014-12-06 12:10:03 UTC
cat /dev/urandom

Interestingly, in about half of the cases vte segfaults almost immediately, in the other half it goes on happily forever and doesn't want to crash at all.
Comment 1 Egmont Koblinger 2014-12-06 15:33:14 UTC
Broken by the patch of bug 731205 (luckily 0.39 only): a \e8 (restore-cursor) without a preceding \e7 (save-cursor) causes the crash.
Comment 2 Egmont Koblinger 2014-12-06 15:54:21 UTC
Created attachment 292239 [details] [review]
Fix
Comment 3 Egmont Koblinger 2014-12-07 00:34:34 UTC
*** Bug 741201 has been marked as a duplicate of this bug. ***
Comment 4 Egmont Koblinger 2014-12-07 12:44:33 UTC
Fix committed.