problems with xmgrace and X11 2.1.4/2.2.0.1
problems with xmgrace and X11 2.1.4/2.2.0.1
- Subject: problems with xmgrace and X11 2.1.4/2.2.0.1
- From: Brian Barnes <email@hidden>
- Date: Wed, 16 Apr 2008 23:44:16 -0500
Hello,
I am using 10.5.2 with all the latest updates on an Intel SR MBP. I
use xmgrace through macports (grace 5.1.21), and I had a crash while
trying to do some set manipulation with X11 2.1.4, so I just upgraded
to 2.2.0.1 (closed all programs before install, logged out afterwards,
etc). I had another crash while doing roughly the same thing. I have
aquamacs and iTunes running, and may have used expose, but nothing
else special is running on the system. All the sample logs below are
for X11 2.2.0.1.
I sampled the "not responding" quartz-wm process via activity monitor:
Sampling process 750 for 3 seconds with 1 millisecond of run time
between samples
Sampling completed, processing symbols...
Analysis of sampling quartz-wm (pid 750) every 1 millisecond
Call graph:
2074 Thread_2503
2074 start
2074 main
2074 CFRunLoopRun
2074 CFRunLoopRunSpecific
2074 mshMIGPerform
2074 _XSelectWindow
2074 _DCXSelectWindow
2074 main
2074 x_input_run
2074 get_time
2074 x_get_property
2074 XGetWindowProperty
2074 _XReply
2074 _XRead
2074 poll$UNIX2003
2074 poll$UNIX2003
2074 Thread_2603
2074 thread_start
2074 _pthread_start
2074 select$DARWIN_EXTSN
2074 select$DARWIN_EXTSN
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
poll$UNIX2003 2074
select$DARWIN_EXTSN 2074
Sample analysis of process 750 written to file /dev/stdout
I also sampled X11, which was still responding, just for good measure:
Sampling process 746 for 3 seconds with 1 millisecond of run time
between samples
Sampling completed, processing symbols...
Analysis of sampling X (pid 746) every 1 millisecond
Call graph:
1888 Thread_2503
1888 start
1888 main
1888 DarwinHandleGUI
1888 X11ApplicationMain
1888 -[NSApplication run]
1887 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
1887 _DPSNextEvent
1886 BlockUntilNextEventMatchingListInMode
1886 ReceiveNextEventCommon
1886 RunCurrentEventLoopInMode
1886 CFRunLoopRunInMode
1886 CFRunLoopRunSpecific
1855 mach_msg
1855 mach_msg_trap
1855 mach_msg_trap
28 0xffffffff
28 _sigtramp
28 _sigtramp
2 __CFMachPortPerform
2
PullEventsFromWindowServerOnConnection(unsigned int, unsigned char)
2 CGEventCreateNextEvent
2 CGSGetNextEventRecordInternal
2 snarfEvents
2 _CGSGetPortStreamInline
1 __memcpy
1 __memcpy
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 __CFRunLoopDoObservers
1 __CFRunLoopDoObservers
1 SendEventToEventTarget
1
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)
1 DispatchEventToHandlers(EventTargetRec*,
OpaqueEventRef*, HandlerCallRec*)
1
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)
1
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)
1 -[NSEvent dealloc]
1 -[NSEvent dealloc]
1888 Thread_2603
1888 thread_start
1888 _pthread_start
1888 server_thread
1888 main
1888 Dispatch
1888 ProcClearToBackground
1888 miClearToBackground
1888 RootlessPaintWindowBackground
1888 RootlessStartDrawing
1888 xprStartDrawing
1888 xp_lock_window
1888 _xp_synchronize
1888 _xp_async_dequeue
1888 pthread_cond_wait$UNIX2003
1888 __semwait_signal
1888 __semwait_signal
1888 Thread_2703
1888 thread_start
1888 _pthread_start
1888 _xp_async_thread
1888 _xp_async_dequeue
1888 pthread_cond_wait$UNIX2003
1888 __semwait_signal
1888 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 3776
mach_msg_trap 1856
_sigtramp 28
Sample analysis of process 746 written to file /dev/stdout
Just now, when attempting to quit X11 with cmd-Q, it warned about
running programs and I told it to close anyway. This led to a
spinning beach ball of doom. Now X11 was "not responding", so I took
a sample of it (again):
Sampling process 746 for 3 seconds with 1 millisecond of run time
between samples
Sampling completed, processing symbols...
Analysis of sampling X (pid 746) every 1 millisecond
Call graph:
1760 Thread_2503
1760 start
1760 main
1760 DarwinHandleGUI
1760 X11ApplicationMain
1760 -[NSApplication run]
1760 -[X11Application sendEvent:]
1760 -[NSMenu performKeyEquivalent:]
1760 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:]
1760 -[NSMenu performActionForItemAtIndex:]
1760 -[NSApplication sendAction:to:from:]
1760 -[NSApplication terminate:]
1760 -[NSNotificationCenter
postNotificationName:object:]
1760 -[NSNotificationCenter
postNotificationName:object:userInfo:]
1760 _CFXNotificationPostNotification
1760 __CFXNotificationPost
1760 _nsnote_callback
1760 -[X11Controller
applicationWillTerminate:]
1759 sleep$UNIX2003
1729 __semwait_signal
1729 __semwait_signal
27 0xffffffff
27 _sigtramp
27 _sigtramp
3 nanosleep$UNIX2003
3 clock_get_time
3 mach_msg
3 mach_msg_trap
3 mach_msg_trap
1 -[X11Controller
applicationWillTerminate:]
1760 Thread_2603
1760 thread_start
1760 _pthread_start
1760 server_thread
1760 main
1760 Dispatch
1760 ProcClearToBackground
1760 miClearToBackground
1760 RootlessPaintWindowBackground
1760 RootlessStartDrawing
1760 xprStartDrawing
1760 xp_lock_window
1760 _xp_synchronize
1760 _xp_async_dequeue
1760 pthread_cond_wait$UNIX2003
1760 __semwait_signal
1760 __semwait_signal
1760 Thread_2703
1760 thread_start
1760 _pthread_start
1760 _xp_async_thread
1760 _xp_async_dequeue
1760 pthread_cond_wait$UNIX2003
1760 __semwait_signal
1760 __semwait_signal
1760 Thread_2803
1760 thread_start
1760 _pthread_start
1760 __NSThread__main__
1760 -[NSThread main]
1760 -[NSUIHeartBeat _heartBeatThread:]
1760 -[NSConditionLock lockWhenCondition:]
1760 -[NSConditionLock lockWhenCondition:beforeDate:]
1760 -[NSCondition waitUntilDate:]
1760 pthread_cond_timedwait_relative_np
1760 _pthread_cond_wait
1760 semaphore_timedwait_signal_trap
1760 semaphore_timedwait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 5249
semaphore_timedwait_signal_trap 1760
_sigtramp 27
Sample analysis of process 746 written to file /dev/stdout
After this sample, I did a "force quit" and sent the details to Apple
using the built-in reporter (look for xmgrace in the note).
All the details of my macports install and anything else on the system
may be found here:
http://yocto.wordpress.com/2008/02/27/personal-installation-of-os-x-1052/
Anyway, I'm posting here because I did not have similar problems with
this version of grace under Tiger. It's also fine in Linux, of
course. Physically, the application just becomes completely
unresponsive (windows will not draw, execute commands, or come back to
front when clicked). This is a slight change from 2.1.4 where the
whole X11 just crashed back to the prompt.
Now, I don't always have problems with grace. Often it seems to run
just fine. Tonight, though... major problems. Help? Anyway, I think
Xquartz is great and read this list regularly and appreciate all the
updates.
thanks,
Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden