<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - kodi segfault since auxiliary/vl: rework the build of the VL code"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86837">86837</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>kodi segfault since auxiliary/vl: rework the build of the VL code
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>adf.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>radeonsi, I am getting a segfault with kodi (xbmc) since -
commit c642e87d9f423c78bf631410e858f675292ba0c4
Author: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>>
Date: Mon Nov 10 18:59:34 2014 +0000
auxiliary/vl: rework the build of the VL code
Rather than shoving all the VL code for non-VL targets, increasing
their size, just split it out and use it when needed. This gives us
the side effect of building vl_winsys_dri.c once, dropping a few
automake warnings, and reducing the size of the dri modules as below
text data bss dec hex filename
5850573 187549 1977928 8016050 7a50b2 before/nouveau_dri.so
5508486 187100 391240 6086826 5ce0aa after/nouveau_dri.so
The above data is for a nouveau + swrast + kms_swrast 'megadriver'.
v2: Do not include the vl sources in the auxiliary library.
v3: Rebase. Add nine.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbbfff700 (LWP 4123)]
vlVdpVideoMixerRender (mixer=0, background_surface=4294967295,
background_source_rect=0x0,
current_picture_structure=VDP_VIDEO_MIXER_PICTURE_STRUCTURE_BOTTOM_FIELD,
video_surface_past_count=4, video_surface_past=0x7fffbbffec90,
video_surface_current=2, video_surface_future_count=2,
video_surface_future=0x18, video_source_rect=0x7fffbbffeca0,
destination_surface=5, destination_rect=0x7fffbbffecb0,
destination_video_rect=0x7fffbbffecb0, layer_count=0,
layers=0x0) at mixer.c:254
254 if (vmixer->video_width > video_buffer->width ||
(gdb) bt
#0 vlVdpVideoMixerRender (mixer=0, background_surface=4294967295,
background_source_rect=0x0,
current_picture_structure=VDP_VIDEO_MIXER_PICTURE_STRUCTURE_BOTTOM_FIELD,
video_surface_past_count=4, video_surface_past=0x7fffbbffec90,
video_surface_current=2, video_surface_future_count=2,
video_surface_future=0x18, video_source_rect=0x7fffbbffeca0,
destination_surface=5, destination_rect=0x7fffbbffecb0,
destination_video_rect=0x7fffbbffecb0, layer_count=0,
layers=0x0) at mixer.c:254
#1 0x000000000095bca7 in VDPAU::CMixer::ProcessPicture (this=0x0,
this@entry=0x7fffbc03f000) at VDPAU.cpp:2523
#2 0x000000000095e583 in VDPAU::CMixer::StateMachine
(this=this@entry=0x7fffbc03f000, signal=2, port=port@entry=0x0,
msg=0x7fffc00b2110) at VDPAU.cpp:1509
#3 0x000000000095ea9d in VDPAU::CMixer::Process (this=0x7fffbc03f000) at
VDPAU.cpp:1615
#4 0x0000000001babadf in CThread::Action (this=0x7fffbc03f000) at
Thread.cpp:221
#5 0x0000000001babd89 in CThread::staticThread (data=0x7fffbc03f000) at
Thread.cpp:131
#6 0x00007ffff6029d7a in start_thread (arg=0x7fffbbfff700) at
pthread_create.c:308
#7 0x00007fffef3a1a9d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>