From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90187 invoked by alias); 16 Mar 2016 21:38:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 90176 invoked by uid 89); 16 Mar 2016 21:38:01 -0000 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 Received: from mail-pf0-f181.google.com (HELO mail-pf0-f181.google.com) (209.85.192.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 16 Mar 2016 21:37:59 +0000 Received: by mail-pf0-f181.google.com with SMTP id u190so90340647pfb.3 for ; Wed, 16 Mar 2016 14:37:59 -0700 (PDT) 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) Received: by 10.66.241.102 with HTTP; Wed, 16 Mar 2016 14:37:58 -0700 (PDT) Date: Wed, 16 Mar 2016 21:38:00 -0000 Message-ID: Subject: Application not working in 64-bit cygwin cygwin/X From: Girish Joglekar To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-03/txt/msg00336.txt.bz2 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