dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
433 stars 81 forks source link

Segfault in link_to_scrollback() => free() #34

Closed dvdhrm closed 11 years ago

dvdhrm commented 11 years ago

There is some nasty bug in the TSM-screen layer. It causes a SIGSEGV in free() so there might be some random memory corruption (or double free that isn't properly detected). I cannot narrow it down but it happens when setting the "perfect" combination of a bottom-margin + reszizing often + cat /dev/urandom.

Just as reminder that we need to check that again. If someone finds a way to reliably reproduce it, I will try narrowing it down further.

dvdhrm commented 11 years ago

Fixed as commit 5347c626886eb6acb14d6bb350434083afc63417