Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2013-01-16 Thread Pigeon

Hi,

I have an Intel HD 4000 from the i7-3770 processor.

I'm still having this segfault for any GL programs (e.g.
glxgears).

I'm on Debian testing, libgl1-mesa-dri 8.0.5-3

I think the stack trace is pretty much the same.

Program received signal SIGSEGV, Segmentation fault.
gen7_update_renderbuffer_surface (brw=0x77fd8040, rb=0x61a0c0, unit=0)
at gen7_wm_surface_state.c:200
200 gen7_wm_surface_state.c: No such file or directory.
(gdb) bt
#0  gen7_update_renderbuffer_surface (brw=0x77fd8040, rb=0x61a0c0, unit=0)
at gen7_wm_surface_state.c:200
#1  0x7fffee26b750 in brw_update_renderbuffer_surfaces (brw=0x77fd8040)
at brw_wm_surface_state.c:1047
#2  0x7fffee255a90 in brw_upload_state (brw=brw@entry=0x77fd8040)
at brw_state_upload.c:503
#3  0x7fffee243527 in brw_try_draw_prims (max_index=optimized out, 
min_index=optimized out, ib=0x0, nr_prims=2, prim=0x80e680, 
arrays=0x699a70, ctx=0x77fd8040) at brw_draw.c:482
#4  brw_draw_prims (ctx=0x77fd8040, arrays=0x699a70, prim=0x80e680, 
nr_prims=2, ib=0x0, index_bounds_valid=optimized out, min_index=0, 
max_index=161, tfb_vertcount=0x0) at brw_draw.c:566
#5  0x7fffee370c2c in vbo_save_playback_vertex_list (ctx=0x77fd8040, 
data=0x80dee8) at vbo/vbo_save_draw.c:298
#6  0x7fffee2c2542 in ext_opcode_execute (node=0x80dee0, 
ctx=0x77fd8040) at main/dlist.c:602
#7  execute_list (ctx=0x77fd8040, list=optimized out)
at main/dlist.c:7505
#8  0x7fffee2c5f82 in _mesa_CallList (list=1) at main/dlist.c:8922
#9  0x004028a2 in ?? ()
#10 0x00401fd1 in ?? ()
#11 0x76b61ead in __libc_start_main (main=optimized out, 
argc=optimized out, ubp_av=optimized out, init=optimized out, 
fini=optimized out, rtld_fini=optimized out, stack_end=0x7fffe478)
at libc-start.c:228
#12 0x004025fd in ?? ()
#13 0x7fffe478 in ?? ()
#14 0x001c in ?? ()
#15 0x0001 in ?? ()
#16 0x7fffe76a in ?? ()
#17 0x in ?? ()


The line is:

struct intel_region *region = irb-mt-region;

But irb-mt is NULL.


I have tried a few different versions of kernels (3.2, 3.4,
3.7) but the crash is exactly the same.


Thanks.


Pigeon.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130116211252.5b430...@gokuu.pigeond.net



Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2013-01-16 Thread Julien Cristau
On Wed, Jan 16, 2013 at 21:12:52 +1100, Pigeon wrote:

 
 Hi,
 
   I have an Intel HD 4000 from the i7-3770 processor.
 
   I'm still having this segfault for any GL programs (e.g.
 glxgears).
 
   I'm on Debian testing, libgl1-mesa-dri 8.0.5-3
 
   I think the stack trace is pretty much the same.
 
Please file your own separate bug, including dmesg and X log.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Cristau
On Wed, Aug  1, 2012 at 12:02:24 +0200, Julien Danjou wrote:

 Package: libgl1-mesa-dri
 Version: 8.0.4-1
 Severity: normal
 
 gnome-shell crashed with the following backtrace. I think it's a bug in DRI,
 but I've no clue, so feel free to reassign. I'm using i915 DRI on a Ivy
 Bridge GT2.
 
Is this a regression in 8.0.4?  Is it reproducible?  Please forward to
https://bugs.freedesktop.org/enter_bug.cgi?product=Mesacomponent=Drivers/DRI/i965
according to http://intellinuxgraphics.org/how_to_report_bug.html

Thanks,
Julien


signature.asc
Description: Digital signature


Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Cristau
On Wed, Aug  1, 2012 at 12:02:24 +0200, Julien Danjou wrote:

 [26777.930037] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 4043152, at 4043164], missed IRQ?
 [26779.703745] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 4043376, at 4043388], missed IRQ?
 
Actually, this is the problem, looks like the gpu is getting stuck.
Please attach the error state to the report per
http://intellinuxgraphics.org/i915_error_state.html

Thanks,
Julien


signature.asc
Description: Digital signature


Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Danjou
forwarded 683499 https://bugs.freedesktop.org/show_bug.cgi?id=53055
thanks

On Wed, Aug 01 2012, Julien Cristau wrote:

 Is this a regression in 8.0.4?

I don't know.

 Is it reproducible? 

I didn't manage to.

 Please forward to
 https://bugs.freedesktop.org/enter_bug.cgi?product=Mesacomponent=Drivers/DRI/i965
 according to http://intellinuxgraphics.org/how_to_report_bug.html

I did at https://bugs.freedesktop.org/show_bug.cgi?id=53055

-- 
Julien Danjou
-- Free Software hacker  freelance
-- http://julien.danjou.info


pgpKczCXAFlOY.pgp
Description: PGP signature


Processed: Re: Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 683499 https://bugs.freedesktop.org/show_bug.cgi?id=53055
Bug #683499 [libgl1-mesa-dri] Segmentation fault in 
gen7_update_renderbuffer_surface()
Set Bug forwarded-to-address to 
'https://bugs.freedesktop.org/show_bug.cgi?id=53055'.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
683499: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683499
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.134384359110284.transcr...@bugs.debian.org



Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Danjou
On Wed, Aug 01 2012, Julien Cristau wrote:

 Actually, this is the problem, looks like the gpu is getting stuck.
 Please attach the error state to the report per
 http://intellinuxgraphics.org/i915_error_state.html

I've rebooted since then, so it's unlikely it will match. Will it
matter?

However, I've doubt it works:

# dmesg | grep i915_hangcheck
[26777.930037] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... render ring idle [waiting on 4043152, at 4043164], missed IRQ?
[26779.703745] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... render ring idle [waiting on 4043376, at 4043388], missed IRQ?
[87899.133450] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... render ring idle [waiting on 7816051, at 7816062], missed IRQ?
[87905.201593] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... render ring idle [waiting on 7819423, at 7819434], missed IRQ?

dex ~ % cat /sys/kernel/debug/dri/0/i915_error_state
no error state collected

Or is it because debugfs was not mounted at the time the hang happened?
Seems unlikely, but who knows.

-- 
Julien Danjou
// Free Software hacker  freelance
// http://julien.danjou.info


pgpDo4wGmQX4b.pgp
Description: PGP signature


Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Cristau
On Wed, Aug  1, 2012 at 20:22:30 +0200, Julien Danjou wrote:

 On Wed, Aug 01 2012, Julien Cristau wrote:
 
  Actually, this is the problem, looks like the gpu is getting stuck.
  Please attach the error state to the report per
  http://intellinuxgraphics.org/i915_error_state.html
 
 I've rebooted since then, so it's unlikely it will match. Will it
 matter?
 
 However, I've doubt it works:
 
 # dmesg | grep i915_hangcheck
 [26777.930037] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 4043152, at 4043164], missed IRQ?
 [26779.703745] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 4043376, at 4043388], missed IRQ?
 [87899.133450] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 7816051, at 7816062], missed IRQ?
 [87905.201593] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
 elapsed... render ring idle [waiting on 7819423, at 7819434], missed IRQ?
 
 dex ~ % cat /sys/kernel/debug/dri/0/i915_error_state
 no error state collected
 
OK.  Sad :(
Probably worth mentioning in the upstream report though, and trying a
newer kernel (3.4 or 3.5).

 Or is it because debugfs was not mounted at the time the hang happened?
 Seems unlikely, but who knows.
 
That doesn't matter.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2012-08-01 Thread Julien Danjou
On Wed, Aug 01 2012, Julien Cristau wrote:

 OK.  Sad :(
 Probably worth mentioning in the upstream report though, and trying a
 newer kernel (3.4 or 3.5).

Did so. I'm waiting for 3.5 but will test as soon as it's out. :)

 Or is it because debugfs was not mounted at the time the hang happened?
 Seems unlikely, but who knows.
 
 That doesn't matter.

I thought and hoped so. :-)

-- 
Julien Danjou
/* Free Software hacker  freelance
   http://julien.danjou.info */


pgpZSAOZJAzWw.pgp
Description: PGP signature