From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123881 invoked by alias); 2 Mar 2015 23:34:28 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 123857 invoked by uid 89); 2 Mar 2015 23:34:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Mar 2015 23:34:25 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t22NYNVc028906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 2 Mar 2015 18:34:24 -0500 Received: from YAAKOV04.redhat.com ([10.10.116.27]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t22NYMYC026830 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 2 Mar 2015 18:34:23 -0500 Message-ID: <1425339264.7292.8.camel@cygwin.com> Subject: Re: Cannot run Qt5 applications. From: Yaakov Selkowitz To: cygwin-xfree@cygwin.com Date: Mon, 02 Mar 2015 23:34:00 -0000 In-Reply-To: <54DE4334.9060101@dronecode.org.uk> References: <54D2A922.3060507@tiscali.co.uk> <54D2CA12.5080701@dronecode.org.uk> <54DE4334.9060101@dronecode.org.uk> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00003.txt.bz2 On Fri, 2015-02-13 at 18:32 +0000, Jon TURNEY wrote: > On 05/02/2015 01:40, Jon TURNEY wrote: > > On 04/02/2015 23:20, David Stacey wrote: > >> I'm having difficulty running any Qt5 application. These are the > >> commands I'm issuing: > >> [snip] > >> and I see the clock, so X is up and running. Then: > >> [snip] > > > > Possibly you need to install and start cygserver (See [1]) > > > > If so, this is because Qt5 is assuming shared memory is available, which > > could possibly be handled in a better way... > > This looks like a portability problem in Qt5, where it only handles > shmget() failing with a return value of -1, not with SIGSYS, to fallback > to using an image in unshared memory. > > Patch attached. Or is it a problem with our shmget()? http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmget.html http://man7.org/linux/man-pages/man2/shmget.2.html Perhaps we should be just returning -1 with an errno (ENOSYS?) instead of raise(SIGSYS)? -- Yaakov -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/