11723 Syscall param ioctl generic points to uninitialised byte 11723 a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
==11723== Syscall param ioctl(generic) points to uninitialised byte(s)
==11723== at 0x4182184: ioctl (in /lib/libc-2.9.so)
==11723== by 0x433AF4A: drmCommandWriteRead (xf86drm.c:2400)
==11723== by 0x4A2C702: nouveau_device_get_param (nouveau_device.c:173)
==11723== by 0x4A2C8B0: nouveau_device_open_existing (nouveau_device.c:71)
==11723== by 0x47B5A02: nouveau_drm_create_screen (nouveau_drm_api.c:79)
==11723== by 0x47B2F21: dri_init_screen (dri_screen.c:190)
==11723== by 0x47B00DE: driCreateNewScreen (dri_util.c:738)
==11723== by 0x406DF09: driCreateScreen (dri_glx.c:401)
==11723== by 0x404CDA2: __glXInitialize (glxext.c:619)
==11723== by 0x40484B9: GetGLXPrivScreenConfig (glxcmds.c:183)
==11723== by 0x4049255: glXChooseVisual (glxcmds.c:1304)
==11723== by 0x804A1AC: (within /usr/bin/glxgears)
==11723== Address 0xbed0d428 is on thread 1's stack
And second is crash:
==11723== Process terminating with default action of signal 8 (SIGFPE)
==11723== Integer divide by zero at address 0x62EE4B9B
==11723== at 0x4924042: vbuf_alloc_vertices (draw_pipe_vbuf.c:378)
==11723== by 0x49245ED: vbuf_start_prim (draw_pipe_vbuf.c:292)
==11723== by 0x4924632: vbuf_first_tri (draw_pipe_vbuf.c:303)
==11723== by 0x4921CDC: cull_tri (draw_pipe_cull.c:82)
==11723== by 0x4921B62: clip_tri (draw_pipe_clip.c:410)
==11723== by 0x49207E0: do_triangle (draw_pipe.c:156)
==11723== by 0x4920964: draw_pipeline_run (draw_pipe.c:202)
==11723== by 0x4926C11: fetch_pipeline_run (draw_pt_fetch_shade_pipeline.c:170)
==11723== by 0x4927CCE: vcache_run_extras (draw_pt_vcache.c:78)
==11723== by 0x4925664: draw_arrays (draw_pt.c:113)
==11723== by 0x47C374C: nv10_draw_elements (nv10_vbo.c:51)
==11723== by 0x47C3831: nv10_draw_arrays (nv10_vbo.c:73)