From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Tue, 01 Jul 2008 10:53:38 EDT." <20080701145122.8082C1E8C35@holo.morphisms.net> From: Bakul Shah Date: Tue, 1 Jul 2008 10:05:38 -0700 Message-Id: <20080701170538.62AFD5B4B@mail.bitblocks.com> Subject: Re: [9fans] vx32, 9vx 0.12 Topicbox-Message-UUID: d38b579a-ead3-11e9-9d60-3106f5b1d025 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.