9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul+plan9@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] vx32, 9vx 0.12
Date: Tue,  1 Jul 2008 10:05:38 -0700	[thread overview]
Message-ID: <20080701170538.62AFD5B4B@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Tue, 01 Jul 2008 10:53:38 EDT." <20080701145122.8082C1E8C35@holo.morphisms.net>

On OSX 9vx consistently sigsegv panics if you quickly resize
its window a few times, particluarly before it finishes
repainting.  This doesn't happen (or is hard to trigger) when
rio is not up.

Running it under gdb reveals:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
[Switching to process 832 thread 0x5c43]
0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0x9631d78c in DispatchEventToHandlers ()
#2  0x9631cb9d in SendEventToEventTargetInternal ()
#3  0x9631ca02 in SendEventToEventTargetWithOptions ()
#4  0x9633944b in SendBoundsChangeEvent ()
#5  0x963391f0 in MoveResizeWindowInternal ()
#6  0x963388c6 in WindowData::SetBounds ()
#7  0x96434a9b in UpdateWindowBounds ()
#8  0x96433fb7 in TWindowTracker::TrackWindow ()
#9  0x96433053 in ResizeWindow ()
#10 0x963445be in HandleWindowEvent ()
#11 0x963a2096 in StandardWindowEventHandler ()
#12 0x9631d763 in DispatchEventToHandlers ()
#13 0x9631cb9d in SendEventToEventTargetInternal ()
#14 0x963394ee in SendEventToEventTarget ()
#15 0x9653b52f in SendEventFromMouseDown ()
#16 0x963e661f in HandleWindowClick ()
#17 0x963e63f7 in HandleMouseEvent ()
#18 0x963a208a in StandardWindowEventHandler ()
#19 0x9631d763 in DispatchEventToHandlers ()
#20 0x9631cb9d in SendEventToEventTargetInternal ()
#21 0x963394ee in SendEventToEventTarget ()
#22 0x9634c0eb in ToolboxEventDispatcherHandler ()
#23 0x9631db1c in DispatchEventToHandlers ()
#24 0x9631cb9d in SendEventToEventTargetInternal ()
#25 0x963394ee in SendEventToEventTarget ()
#26 0x963a6504 in ToolboxEventDispatcher ()
#27 0x963a2d5e in RunApplicationEventLoop ()
#28 0x000590d3 in screenproc (v=0x0) at 9vx/osx/screen.c:199
#29 0x0000f2f8 in linkproc () at 9vx/trap.c:484
(gdb)

Crash on window resize seems to be not so rare but I didn't
see a solution in 5 minutes of googling.



      parent reply	other threads:[~2008-07-01 17:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 14:53 Russ Cox
2008-07-01 16:06 ` [9fans] " David Leimbach
2008-07-01 16:20   ` David Leimbach
2008-07-01 17:36     ` Russ Cox
2008-07-01 17:44       ` David Leimbach
2008-07-01 17:05 ` Bakul Shah [this message]

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=20080701170538.62AFD5B4B@mail.bitblocks.com \
    --to=bakul+plan9@bitblocks.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).