9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9vx still crashing
@ 2010-06-06 10:16 EBo
  2010-06-06 14:31 ` ron minnich
  0 siblings, 1 reply; 3+ messages in thread
From: EBo @ 2010-06-06 10:16 UTC (permalink / raw)
  To: 9Fans-list


I'm still having 9vx crash even after removing -O3 from the build flags.
An odd error that pops up randomly in rio (not in the terminal window) is
"double sleep called from...".  Thought this tidbit might be useful to the
discussion of what might be going on...

  EBo --




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9vx still crashing
  2010-06-06 10:16 [9fans] 9vx still crashing EBo
@ 2010-06-06 14:31 ` ron minnich
  2010-06-06 14:45   ` erik quanstrom
  0 siblings, 1 reply; 3+ messages in thread
From: ron minnich @ 2010-06-06 14:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sun, Jun 6, 2010 at 3:16 AM, EBo <ebo@sandien.com> wrote:
>
> I'm still having 9vx crash even after removing -O3 from the build flags.
> An odd error that pops up randomly in rio (not in the terminal window) is
> "double sleep called from...".  Thought this tidbit might be useful to the
> discussion of what might be going on...

I'm pretty sure it's memory corruption.

ron



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9vx still crashing
  2010-06-06 14:31 ` ron minnich
@ 2010-06-06 14:45   ` erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2010-06-06 14:45 UTC (permalink / raw)
  To: 9fans

> On Sun, Jun 6, 2010 at 3:16 AM, EBo <ebo@sandien.com> wrote:
> >
> > I'm still having 9vx crash even after removing -O3 from the build flags.
> > An odd error that pops up randomly in rio (not in the terminal window) is
> > "double sleep called from...".  Thought this tidbit might be useful to the
> > discussion of what might be going on...
>
> I'm pretty sure it's memory corruption.

i assume you mean 9vx is scribbling on memory
it shouldn't, not that there is a hardware bug.

when i've seen this in plan 9, i haven't ever found
it to be a wild pointer.  it's always been.

- stack > 4k,
- a missing waserror()/poperror() around a sleep,
- locking bugs.

while it certainly could be a wild poointer, it doesn't
smell like that to me.

where (file/line) is the double sleep occuring?  that
could be a clue.  remember addresses from acid aren't
much help unless one has the exact same binary.

- erik



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-06 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-06 10:16 [9fans] 9vx still crashing EBo
2010-06-06 14:31 ` ron minnich
2010-06-06 14:45   ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).