<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Python binding of gbm's gbm_create_device fail to create_device"
href="https://bugs.freedesktop.org/show_bug.cgi?id=61879">61879</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>nouveau@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Python binding of gbm's gbm_create_device fail to create_device
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>amirouche.boubekki@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/nouveau
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=75991" name="attach_75991" title="example script with cffi">attachment 75991</a> <a href="attachment.cgi?id=75991&action=edit" title="example script with cffi">[details]</a></span>
example script with cffi
I bound gbm_create_device with both cffi and cython of gbm_create_device and
they both fail at the same place
error: Program received signal SIGSEGV, Segmentation fault.
stacktrace:
#0 0x00007fffee18af07 in PUSH_DATA (push=0x13c0410, data=536952832) at
../../../../src/gallium/drivers/nouveau/nouveau_winsys.h:35
#1 0x00007fffee18b0b2 in BEGIN_NVC0 (push=0x13c0410, subc=2, mthd=0, size=1)
at nvc0_winsys.h:112
#2 0x00007fffee18c0c1 in nvc0_screen_create (dev=0x15f8690) at
nvc0_screen.c:496
#3 0x00007fffee0c4c3b in nouveau_drm_screen_create (fd=7) at
nouveau_drm_winsys.c:46
#4 0x00007fffeb0a6943 in create_screen (fd=7) at pipe_nouveau.c:11
#5 0x00007fffec4e5fdb in pipe_loader_drm_create_screen (dev=0x1750130,
library_paths=0x7fffecec0cf2 "/usr/lib64/gallium-pipe") at
pipe_loader_drm.c:270
#6 0x00007fffec4e570e in pipe_loader_create_screen (dev=0x1750130,
library_paths=0x7fffecec0cf2 "/usr/lib64/gallium-pipe") at pipe_loader.c:68
#7 0x00007fffec4e5539 in gallium_screen_create (gdrm=0x174fff0) at gbm.c:60
#8 0x00007fffec4e69a8 in gbm_gallium_drm_device_create (fd=7) at gbm_drm.c:248
#9 0x00007fffef338370 in _gbm_create_device (fd=7) at main/backend.c:124
version: 9.1 & git
linux: 3.8.2 gentoo</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>