Bug 35802

Summary: SIGSEGV in _mesa_AreProgramsResidentNV
Product: Mesa Reporter: Rui Tiago Matos <tiagomatos>
Component: OtherAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rui Tiago Matos 2011-03-30 08:56:29 UTC
(gdb) bt
#0  0x0116f552 in _mesa_AreProgramsResidentNV (n=34820, ids=0x0, residences=0xbfffe258 "8\343\377\277\313UW") at main/nvprogram.c:106
#1  0x00638ed1 in glBindProgramNV (target=34820, program=0) at ../../../src/mapi/glapi/glapitemp.h:4964
#2  0x00576c89 in _cogl_pipeline_fragend_arbfp_end (pipeline=0x840f8b0, pipelines_difference=2047) at ./cogl-pipeline-fragend-arbfp.c:899
#3  0x005755cb in _cogl_pipeline_flush_gl_state (pipeline=0x840f8b0, skip_gl_color=0, n_tex_coord_attribs=0) at ./cogl-pipeline-opengl.c:1204
#4  0x00558641 in cogl_create_context () at ./cogl-context.c:285
#5  _cogl_context_get_default () at ./cogl-context.c:401
#6  0x00558cd7 in cogl_get_features () at ./cogl.c:384
#7  0x004fecee in _clutter_feature_init (error=0xbfffe44c) at ./clutter-feature.c:110
#8  0x0050bd1b in clutter_init_real (error=0xbfffe44c) at ./clutter-main.c:1501
#9  0x0050d3d0 in clutter_init (argc=0x0, argv=0x0) at ./clutter-main.c:2008
#10 0x001e7b1a in meta_clutter_init () at core/main.c:312
#11 meta_init () at core/main.c:458
#12 0x0804a154 in main (argc=1, argv=0xbfffe7e4) at main.c:476

$ git bisect bad
713230ff39cd22a2082c12b937889c3ef81973ac is the first bad commit
Comment 1 Rui Tiago Matos 2011-03-30 09:02:42 UTC
> $ git bisect bad
> 713230ff39cd22a2082c12b937889c3ef81973ac is the first bad commit

Wrong! Bisecting further... Sorry for the noise.
Comment 2 Marek Olšák 2011-03-30 09:19:25 UTC
When crossing the "regenerate glapi files" commits, make sure you type 'make clean', otherwise there is a certain probability that every driver will crash because of a build-system bug.

So here's a question: does 'make clean' help?
Comment 3 Rui Tiago Matos 2011-03-30 09:29:56 UTC
(In reply to comment #1)
> > $ git bisect bad
> > 713230ff39cd22a2082c12b937889c3ef81973ac is the first bad commit
> 
> Wrong! Bisecting further... Sorry for the noise.

After a build tree clean up and new ./configure I got it run master without trouble. Sorry again!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.