dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 95026] Alien Isolation segfault after initial loading screen/video
Date: Tue, 19 Apr 2016 23:00:41 +0000	[thread overview]
Message-ID: <bug-95026-502-mPD3BvQoZP@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-95026-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1136 bytes --]

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

--- Comment #9 from Ilia Mirkin <imirkin@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.

[-- Attachment #1.2: Type: text/html, Size: 2173 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-04-19 23:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 20:15 [Bug 95026] Alien Isolation segfault after initial loading screen/video bugzilla-daemon
2016-04-19 20:52 ` bugzilla-daemon
2016-04-19 21:00 ` bugzilla-daemon
2016-04-19 21:27 ` bugzilla-daemon
2016-04-19 21:37 ` bugzilla-daemon
2016-04-19 22:02 ` bugzilla-daemon
2016-04-19 22:31 ` bugzilla-daemon
2016-04-19 22:34 ` bugzilla-daemon
2016-04-19 22:52 ` bugzilla-daemon
2016-04-19 23:00 ` bugzilla-daemon [this message]
2016-04-19 23:01 ` bugzilla-daemon
2016-04-20  3:29 ` bugzilla-daemon
2016-04-20  7:27 ` bugzilla-daemon
2016-04-25 23:40 ` bugzilla-daemon
2016-04-26 10:07 ` bugzilla-daemon
2016-04-29 16:54 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-95026-502-mPD3BvQoZP@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox