This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Application not working in 64-bit cygwin cygwin/X
- From: Girish Joglekar <girish53 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Mar 2016 17:37:58 -0400
- Subject: Application not working in 64-bit cygwin cygwin/X
- Authentication-results: sourceware.org; auth=none
I ran the TEST.x through gdb. The program dies at line 1709 in the
ifdef XTHREADS branch.
1695 XmRenderTableCopy(XmRenderTable table,
1696 XmStringTag *tags,
1697 int tag_count)
1698 {
1699 XmRenderTable rt = NULL;
1700 _XmRenderTable t = NULL;
1701 int i, j, count;
1702 int size;
1703 XmRendition rend = NULL;
1704 XtAppContext app = NULL;
1705
(gdb) l
1706 if (table == NULL) return((XmRenderTable)NULL);
1707
1708 #ifdef XTHREADS
1709 if (_XmRTDisplay(table))
1710 app = XtDisplayToApplicationContext(_XmRTDisplay(table));
1711 if (app) {
1712 _XmAppLock(app);
1713 }
1714 else {
1715 _XmProcessLock();
(gdb) l
1716 }
1717 #endif
I compared it to a snippet I found at
https://www.opengroup.org/infosrv/openmotif/R2.1.30/motif/lib/Xm/XmFontList.c
Should it be
if(_XmRTDisplay((XmRenderTable)table))
app =
XtDisplayToApplicationContext(_XmRTDisplay((XmRenderTable)table))
Just a thought.
Girish
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple