From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 95026] Alien Isolation segfault after initial loading screen/video Date: Tue, 19 Apr 2016 23:00:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1102593676==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 231026E226 for ; Tue, 19 Apr 2016 23:00:41 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1102593676== Content-Type: multipart/alternative; boundary="14611068410.0Fbca.28876"; charset="UTF-8" --14611068410.0Fbca.28876 Date: Tue, 19 Apr 2016 23:00:41 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=95026 --- Comment #9 from Ilia Mirkin --- (In reply to Christoph Haag from comment #8) > Looks like it's the only one: Indeed it is. > I'm not exactly an expert at debugging C, but it's kinda weird that it's > segfaulting on the opening brace of > > void > glsl_to_tgsi_visitor::visit(ir_expression *ir) > { > unsigned int operand; > Very weird. But weird things happen with -O2 > Googling a bit sounds like it's a stack overflow: > http://stackoverflow.com/a/10501490 > With "disas" gdb actually allows me to see the assembler instructions before > the crash. Yay. > > 0x00007fffe979cb70 <+32>: sub $0x1000,%rsp > => 0x00007fffe979cb77 <+39>: orq $0x0,(%rsp) > > but not sure why: Right, so this allocates 4K of stack, which isn't some incredibly large amount. Normally stack just gets auto-paged in, perhaps memory is running out... somehow. I don't really know enough about this :( What is the value of %rsp? (i registers) What compiler are you building with? -- You are receiving this mail because: You are the assignee for the bug. --14611068410.0Fbca.28876 Date: Tue, 19 Apr 2016 23:00:41 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 9 on bug 95026 from
(In reply to Christoph Haag from comment #8)
> Looks like it's the only one:

Indeed it is.

> I'm not exactly an expert at debugging C, but it's kinda weird that it's
> segfaulting on the opening brace of
> 
> void
> glsl_to_tgsi_visitor::visit(ir_expression *ir)
> {
>    unsigned int operand;
> 

Very weird. But weird things happen with -O2

> Googling a bit sounds like it's a stack overflow:
> http://stackoverflow.com/a/10501490
> With "disas" gdb actually allows me to see the assembler instructions before
> the crash. Yay.
> 
>    0x00007fffe979cb70 <+32>:    sub    $0x1000,%rsp
> => 0x00007fffe979cb77 <+39>:    orq    $0x0,(%rsp)
> 
> but not sure why:

Right, so this allocates 4K of stack, which isn't some incredibly large amount.
Normally stack just gets auto-paged in, perhaps memory is running out...
somehow. I don't really know enough about this :(

What is the value of %rsp? (i registers)

What compiler are you building with?


You are receiving this mail because:
  • You are the assignee for the bug.
--14611068410.0Fbca.28876-- --===============1102593676== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1102593676==--