X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=DsEXnG8D+cvkN6ErFdO7pbpZWeSBJ ybaCKcall8dDbg3aVapNiTJRiAAk6odUP0/7GiWI0eqROhZmdv/wzXbL+2VxiS12 936XRQ3dt4Cqdpw4FUxzq1WVhnJtF3ykLOdgtPI4jbJ6P2v3LgNpCtQY8mXLftgW OohIjtQVQ4MgIs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=JXJPYEBxLvOKcN95iYaGJTsLPCU=; b=GR3 ggeZZGwshWDjkwpudwmveZLEJEe66X28vxWgXvJnTAn51I8RK7kBiW7+rLAXHvVT +Ll0z8MFuu6oLvzL7ARJkLm4a+EeiwhQV8MOIWanpdKqynsetA6wu7t3VT7EzuUl 9PytLbcUTNcD/VWBP+5Lu/XMP6d/UMTiYe/pw54c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=1717, 1715, rend, 1705 X-HELO: mail-pf0-f181.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=iJLnS6wB2CfhSTFuNIg2as1a9xC2++hwgCB6E0/tTSE=; b=fM3Z5HgTuZIX4tSOaPjf83lw7wkdNxBYFmM38lk6w/It1Mj+aaJq2PzjYkYFuBp+Vj 8A+x0elw6HQE5tn1Y9wfD/0gewFYVx5tZ23bswr0uA9SNO3szqnFdMZUNURIo4qc+ItC E7D05y0QXZVLSTe8QT2kt0Ljzn7clWnjye1AVTh9gOAfsatgaEVbO2uV0zZntlugg9Rh r3yoNqJL8kj/n4Oj7iylkOPZrHmfybfeqhIen6FLKZCHWpL4tK5adgtIBUQG09ISs1+1 XboorFNEz2aqqkViz7KgDeR68WHEx7/7jIGhFEXzbo2L4VqbHa2ff+kVa3UTU7Pfg866 r4SA== X-Gm-Message-State: AD7BkJJhnwI4aocdw1jvVnEKhMRKpaWXjzU3WTfPXarYuC98m0WVCB0ootkH9WojEkNmrNgiN11TMsk98A6gog== MIME-Version: 1.0 X-Received: by 10.98.42.207 with SMTP id q198mr9449820pfq.103.1458164278048; Wed, 16 Mar 2016 14:37:58 -0700 (PDT) Date: Wed, 16 Mar 2016 17:37:58 -0400 Message-ID: Subject: Application not working in 64-bit cygwin cygwin/X From: Girish Joglekar To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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