From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1C1B7E00813 for ; Tue, 14 Jan 2014 07:42:50 -0800 (PST) Received: by mail-qa0-f41.google.com with SMTP id w8so2672398qac.14 for ; Tue, 14 Jan 2014 07:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=r4giQtQF4nhf3R3KlHPA0+vDQPHBiK6wQbWcQS/N35I=; b=rPfJAaSafaicIVIzo6gBZK3ADjB+twKQVdYS/xxiWIS/0E+a2fvvm1qvVoEYwf2Prk tY1oJlJ1tP9i7VVPCwwj4GdYVQ8/YUaQG4SboyOGtnB5Cl10wISTvL1u5GOWeFqWCRpx LheZ5Ky06Qt87diuAIZ8QC3rKtmNt5L4EVcfcXTRZ0GfiyUrd4KMw6cbx6/mHJdkTVJn Cq0m5jbq31OBA9Yj/ffklvWFSdrKVxuA9qd483apaPSrGDBALEvLHS7Scvv0pxOOMjFI PTMO8YlpiAbkD9buvHuFZnyE8Tq6yjHUUezIMCqQ0OvBLp7WWXoJ+BFb+tbLTgr5892H DUKA== X-Received: by 10.224.60.69 with SMTP id o5mr3930365qah.92.1389714169481; Tue, 14 Jan 2014 07:42:49 -0800 (PST) Received: from parenteses.gmail.com (email.parenteses.org. [198.199.72.94]) by mx.google.com with ESMTPSA id l8sm1124857qaz.14.2014.01.14.07.42.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 14 Jan 2014 07:42:48 -0800 (PST) Sender: Mario Domenech Goulart From: Mario Domenech Goulart To: Otavio Salvador References: <52D40AF1.8070606@mlbassoc.com> Date: Tue, 14 Jan 2014 15:42:45 +0000 In-Reply-To: (Otavio Salvador's message of "Tue, 14 Jan 2014 10:24:18 -0200") Message-ID: <87mwiybmdm.fsf@parenteses.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" , Gary Thomas Subject: Re: [meta-fsl-arm] QT4 on i.MX6? X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 15:42:55 -0000 Content-Type: text/plain Hi, On Tue, 14 Jan 2014 10:24:18 -0200 Otavio Salvador wrote: > On Mon, Jan 13, 2014 at 1:49 PM, Gary Thomas wrote: > > When I try to run QT4 (embedded) on my i.MX6 platforms, they > all crash during initialization. > > root@sabrelite:~# gdb qtdemoE > GNU gdb (GDB) 7.6.1 > Copyright (C) 2013 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "arm-amltd-linux-gnueabi". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/qtdemoE...(no debugging symbols > found)...done. > (gdb) r -qws > Starting program: /usr/bin/qtdemoE -qws > Program received signal SIGSEGV, Segmentation fault. > gcoOS_InitLocalDisplayInfo (Display=0x0, > localDisplay=localDisplay@entry=0x34bc8504) at > gc_hal_user_dri.c:3919 > (gdb) bt > #0 gcoOS_InitLocalDisplayInfo (Display=0x0, > localDisplay=localDisplay@entry=0x34bc8504) at > gc_hal_user_dri.c:3919 > #1 0x2c46905c in veglInitLocalDisplayInfo > (Display=Display@entry=0x34bc84f8) > at gc_egl_platform.c:336 > #2 0x2c463240 in veglReferenceDisplay > (Thread=Thread@entry=0x5ddf0, > Display=Display@entry=0x34bc84f8) at gc_egl_init.c:969 > #3 0x2c4635f8 in eglInitialize (Dpy=0x34bc84f8, major=0x0, > minor=0x0) > at gc_egl_init.c:1185 > #4 0x2b5da3b0 in QEgl::display() () from /usr/lib/libQtGuiE.so.4 > #5 0x2b5dbbe4 in QEgl::chooseConfig(QEglProperties const*, > QEgl::PixelFormatMatch) () from /usr/lib/libQtGuiE.so.4 > #6 0x2b5dc4d8 in QEglContext::chooseConfig(QEglProperties const&, > QEgl::PixelFormatMatch) () from /usr/lib/libQtGuiE.4 > #7 0x2aeb04d4 in QGLContext::chooseContext(QGLContext const*) () > from /usr/lib/libQtOpenGLE.so.4 > #8 0x2ae73ee4 in QGLContext::create(QGLContext const*) () > from /usr/lib/libQtOpenGLE.so.4 > #9 0x2aeb01c4 in QGLWidget::setContext(QGLContext*, QGLContext > const*, bool) > () from /usr/lib/libQtOpenGLE.so.4 > #10 0x2ae74290 in ?? () from /usr/lib/libQtOpenGLE.so.4 > > > Has anyone else tried this on i.MX6 (and got it to work)? > > Mario (added in Cc) has got same error in one of our customers BSP, he > is investigating the issue. > > Mario, it seems the error is because it is using the X11 backend. So > please rebuild using: > > DISTRO_FEATURES_remove = "x11 wayland" > > and retest. Thanks for the hint. That seems to work here. I can get "qtdemoE -qws" running without segfault at startup. Best wishes. Mario -- http://www.ossystems.com.br