[Bug 95026] Alien Isolation segfault after initial loading screen/video

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 19 23:00:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95026

--- Comment #9 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160419/8861f5e2/attachment-0001.html>


More information about the dri-devel mailing list