public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Girish Joglekar <girish53@gmail.com>
To: cygwin@cygwin.com
Subject: Application not working in 64-bit cygwin cygwin/X
Date: Wed, 16 Mar 2016 21:38:00 -0000	[thread overview]
Message-ID: <CAGX=k3Gnvs23NoPbO0OEKE=pUDcBJXZ8vxaLoDdFhSiuidt5Vw@mail.gmail.com> (raw)

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

             reply	other threads:[~2016-03-16 21:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16 21:38 Girish Joglekar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-27 22:30 Girish Joglekar
2016-11-28  7:07 ` Ken Brown
2016-03-11 14:23 Girish Joglekar
2016-03-11 23:10 ` David Stacey
2016-03-12  6:28   ` Marco Atzeri
2016-03-12 17:39     ` Kaz Kylheku
2016-03-12 18:50       ` Corinna Vinschen
2016-03-15 13:14       ` cyg Simple
2016-03-10 15:58 Girish Joglekar
2016-03-10 16:06 ` Marco Atzeri
2016-03-10 17:05   ` Jon Turney
2016-02-23 16:35 Girish Joglekar
2016-02-23 15:12 Girish Joglekar
2016-02-23 15:51 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGX=k3Gnvs23NoPbO0OEKE=pUDcBJXZ8vxaLoDdFhSiuidt5Vw@mail.gmail.com' \
    --to=girish53@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).