This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Application not working in 64-bit cygwin cygwin/X


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]