William Xu <[EMAIL PROTECTED]> writes:
> I have configured Gnus to check news automatically every some minutes.
> It works fine when I'm staying in one place, like company. While, when
> after work, I go home by putting my notebook to sleep. Back home, when
> I wake up the system, Gnus usually gets stuck, for like ten or more
> minutes ? I can't do anything with emacs during that period. I often
> have to kill and restart emacs at this time. What is the problem here ?
> Any way to fix it ?
I captured some samples when that happens with ActivityMonitor. Looks
like it is blocked due to the __semwait_signal. The following is last
part in the sample. (The full sample is attached.)
Anybody has more ideas of what is happening here?
---------------------------------8<-------------------------------------
1925 Thread_2603
1925 thread_start
1925 _pthread_start
1925 select$DARWIN_EXTSN
1925 select$DARWIN_EXTSN
1925 Thread_2703
1925 thread_start
1925 _pthread_start
1925 CMMConvTask(void*)
1925 pthreadSemaphoreWait(t_pthreadSemaphore*)
1925 pthread_cond_wait$UNIX2003
1925 __semwait_signal
1925 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 1925
select$DARWIN_EXTSN 1925
mach_msg_trap 1919
Sample analysis of process 70764 written to file /dev/stdout
---------------------------------8<-------------------------------------
--
William
http://williamxu.net9.org
Sampling process 70764 for 3 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling Emacs (pid 70764) every 1 millisecond
Call graph:
1925 Thread_2503
1925 start
1925 main
1925 Frecursive_edit
1925 recursive_edit_1
1925 command_loop
1925 internal_catch
1925 command_loop_2
1925 internal_condition_case
1925 command_loop_1
1925 read_key_sequence
1925 read_char
1925 sit_for
1925 wait_reading_process_output
1916 sys_select$UNIX2003
1914 ReceiveNextEvent
1914 ReceiveNextEventCommon
1914 RunCurrentEventLoopInMode
1914 CFRunLoopRunInMode
1914 CFRunLoopRunSpecific
1914 mach_msg
1914 mach_msg_trap
1914 mach_msg_trap
1 CFRunLoopAddSource
1 __CFSocketSchedule
1 __CFSocketEnableCallBacks
1 sendto$UNIX2003
1 sendto$UNIX2003
1 select_and_poll_event
1 select$DARWIN_EXTSN$NOCANCEL
1 select$DARWIN_EXTSN$NOCANCEL
8 detect_input_pending_run_timers
6 redisplay_preserve_echo_area
6 redisplay_internal
4 XTframe_up_to_date
4 note_mouse_highlight
4 define_frame_cursor1
4 SetClassicCursorOnly(unsigned
long, unsigned char)
4 CGSSetSystemDefinedCursor
4 CGSSetRegisteredCursor
4 _CGSSetRegisteredCursor
4 mach_msg
4 mach_msg_trap
4 mach_msg_trap
2 update_frame
1 update_end
1 x_update_end
1 EnableScreenUpdates
1 HLTBGetEnvironmentVariable
1 CFDictionaryGetValueIfPresent
1 __CFDictionaryFindBuckets1b
1 __CFStringHash
1 __CFStringHash
1 update_window_tree
1 update_window
1 x_update_window_end
1 display_and_set_cursor
1 erase_phys_cursor
1 draw_phys_cursor_glyph
1 draw_glyphs
1 x_draw_glyph_string
1
mac_draw_image_string_16
1
mac_draw_string_common
1 CGContextFillRect
1
CGContextFillRects
1 ripc_DrawRects
1 ripc_Render
1
ripc_GetColor
1
CGColorTransformConvertColorFloatComponents
1
initializeConvertParams
1
resolveSource
1
resolveSource
2 x_flush
1 GetThreadPort
1 GetThreadPort
1 QDFlushPortBuffer
1 QDPlatformFlushWindow
1 CGSFlushWindowContentRegion
1 _CGSFlushWindowRegion
1 _CGSFlushRegionInline
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
1 detect_input_pending
1 get_input_pending
1 sigprocmask
1 sigprocmask
1925 Thread_2603
1925 thread_start
1925 _pthread_start
1925 select$DARWIN_EXTSN
1925 select$DARWIN_EXTSN
1925 Thread_2703
1925 thread_start
1925 _pthread_start
1925 CMMConvTask(void*)
1925 pthreadSemaphoreWait(t_pthreadSemaphore*)
1925 pthread_cond_wait$UNIX2003
1925 __semwait_signal
1925 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__semwait_signal 1925
select$DARWIN_EXTSN 1925
mach_msg_trap 1919
Sample analysis of process 70764 written to file /dev/stdout
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english