http://bugs.winehq.org/show_bug.cgi?id=10184
--- Comment #33 from Julian M. mayer.julian@googlemail.com 2008-02-26 17:10:30 --- ok i sampled it to see where it hangs:
Sampling process 1038 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling wine (pid 1038) every 1 millisecond Call graph: 2545 Thread_2503 2545 start_process 2545 LdrInitializeThunk 2545 process_attach 2545 process_attach 2545 process_attach 2545 process_attach 2545 MODULE_InitDLL 2545 call_dll_entry_point 2545 __wine_spec_dll_entry 2545 DllMain 2545 CLASS_RegisterBuiltinClasses 2545 register_builtin 2545 LoadCursorA 2545 LoadImageA 2545 LoadImageW 2545 CURSORICON_Load 2545 CreateIconFromResourceEx 2545 CreateDCW 2545 DRIVER_load_driver 2545 LoadLibraryA 2545 LoadLibraryExA 2545 LoadLibraryExW 2545 load_library 2545 LdrLoadDll 2545 process_attach 2545 MODULE_InitDLL 2545 call_dll_entry_point 2545 __wine_spec_dll_entry 2545 DllMain 2545 X11DRV_setup_opengl_visual 2545 has_opengl 2545 MakeContextCurrent 2545 SendMakeCurrentRequest 2545 _XLockDisplay 2545 pthread_mutex_lock
2545 semaphore_wait_signal_trap
2545 semaphore_wait_signal_trap 2545 Thread_2603 2545 thread_start 2545 _pthread_start 2545 glvmDoWork 2545 pthread_cond_wait$UNIX2003 2545 __semwait_signal 2545 __semwait_signal
Total number in stack (recursive counted multiple, when >=5): 5 process_attach
Sort by top of stack, same collapsed (when >= 5): __semwait_signal 2545 semaphore_wait_signal_trap 2545 Sample analysis of process 1038 written to file /dev/stdout