Is it somehow possible to start Windows applications from xterm so that they "remain" in X-Server area?

David Fraser davidf@sjsoft.com
Tue Jun 1 15:38:00 GMT 2004


Alexander Gottwald wrote:

>On Tue, 1 Jun 2004, David Fraser wrote:
>  
>
>>Alexander Gottwald wrote:
>>    
>>
>>>But I'm still getting segfaults. The msgbox example segfaults
>>>in cygwin1!aclcheck. Are you using the latest packages or some older
>>>ones?
>>>      
>>>
>>Probably a bit older but not too old ... attached my packages list
>>cygwin 1.3.22
>>    
>>
>I guess that's the main difference. 
>  
>
I've updated to cygwin 1.5.9 now, and reproduced your bug

>>I haven't tried it on a clean install.
>>It is worthwhile checking out previous error messages or using gdb for a 
>>backtrace ... in my case the segfault was a font encoding issue, might 
>>be different for you
>>    
>>
>
>The backtrace ended in cygwin1.dll. I'll try a debug build later.
>  
>
I found that commenting out the add_uithread calls as in the following 
patch got the msgbox example to work.
But the withdll still doesn't work. Will be interested to hear the debug 
build result.
BTW what mailing list should we discuss this on?

David

diff -ur peace.orig/dll/ui.so/winuser.cc peace/dll/ui.so/winuser.cc
--- peace.orig/dll/ui.so/winuser.cc 2003-03-12 14:38:37.000000000 +0200
+++ peace/dll/ui.so/winuser.cc 2004-06-01 17:32:28.912746295 +0200
@@ -215,13 +215,13 @@

case DLL_THREAD_ATTACH:
#ifdef __CYGWIN__
- add_uithread(GetCurrentThreadId());
+ // add_uithread(GetCurrentThreadId());
#endif
break;

case DLL_THREAD_DETACH:
#ifdef __CYGWIN__
- del_uithread(GetCurrentThreadId());
+ // del_uithread(GetCurrentThreadId());
#endif
break;
}




More information about the Cygwin-xfree mailing list