[Wayland-bugs] [Bug 91457] [PATCH] rdp-backend: double free error when using unhandled option
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jul 24 20:36:01 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91457
Bug ID: 91457
Summary: [PATCH] rdp-backend: double free error when using
unhandled option
Product: Wayland
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: weston
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: gajownik at gmail.com
Created attachment 117363
--> https://bugs.freedesktop.org/attachment.cgi?id=117363&action=edit
weston output
Weston with rdp-backend crashes with double free error message when unknown
messages is used.
Reproduction steps:
weston --backend=rdp-backend.so --rdp4-key=test --makemecrash
[snip]
[23:58:23.132] fatal: unhandled option: --makemecrash
*** Error in `weston': double free or corruption (!prev): 0x0000000000f0a8c0
***
======= Backtrace: =========
/lib64/libc.so.6(+0x77a8d)[0x7f44f4e60a8d]
/lib64/libc.so.6(cfree+0x5cd)[0x7f44f4e6cd2d]
weston[0x40858a]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f44f4e09700]
weston(_start+0x29)[0x4089f9]
Explanation:
src/main.c:826
weston_compositor_destroy(ec)
src/compositor.c:weston_compositor_destroy()
compositor->backend->destroy(compositor);
free(compositor);
src/compositor-rdp.c:rdp_destroy(struct weston_compositor *ec)
{
weston_compositor_shutdown(ec);
free(ec);
}
weston_compositor_destroy() is the same function rdp_destroy(). ec and
compositor are the same pointers. free(compositor) is the second free() that
crashes weston.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150725/b4a57fcb/attachment.html>
More information about the wayland-bugs
mailing list