Return-Path: Received: from 1824-1.1st-housing.de (1824-1.1st-housing.de [62.112.154.189]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 948D0E0044A for ; Wed, 15 Feb 2012 01:03:48 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by 1824-1.1st-housing.de (Postfix) with ESMTP id 6DF3B20C300; Wed, 15 Feb 2012 10:03:47 +0100 (CET) X-Virus-Scanned: amavisd-new at 1st-housing.de Received: from 1824-1.1st-housing.de ([127.0.0.1]) by localhost (1015-123.1st-housing.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2+FTnYfo3xB; Wed, 15 Feb 2012 10:03:45 +0100 (CET) Received: from rzn99 (pd9569fe3.dip0.t-ipconnect.de [217.86.159.227]) by 1824-1.1st-housing.de (Postfix) with ESMTP id E07E520C223; Wed, 15 Feb 2012 10:03:41 +0100 (CET) From: "Siegfried" To: "'Cui, Dexuan'" , Date: Wed, 15 Feb 2012 10:03:41 +0100 Message-ID: <003701ccebc0$b6df2fb0$6305010a@rzn99> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AczrNFR5Z690VRPQSaO5xKDGt4bR5wAVdDlgAA2g0bA= In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: Segmentation fault with "hob"-command (now no html) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 09:03:49 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Dexuan, thank you fort hat hint. The problem was that I was working as "root" and did a "su - ". Doing that the environment seems to be different to a normal login. I've played around with the "DISPLAY" environment variable and "xhost". Now it works. Trying to start "hob" as normal user works without any intervention. Thanks again, Siegfried > -----Urspr=FCngliche Nachricht----- > Von: Cui, Dexuan [mailto:dexuan.cui@intel.com] > Gesendet: Mittwoch, 15. Februar 2012 03:42 > An: poldi871.lists@progserv.de; yocto@yoctoproject.org > Cc: Joshua Lock > Betreff: RE: [yocto] Segmentation fault with "hob"-command (now no = html) >=20 > poldi871.lists@progserv.de wrote on 2012-02-15: > > Sorry for the last post in HTML-Format. > > I didn't recognize that my provider has changed the format and = doesn't > > send text-messages any more. > > Perhaps the admin may delete my wrong post. > > > > > > Hello, I am evaluating Yocto, therefore sorry, if it is a beginner > > fault; I have a problem starting "hob". After the command "hob" the > > system tells that some tools have to be built. The build ends with = the > > following lines: > > > > ------------- snip --------------------------------------- ... NOTE: > > package pseudo-native-1.1.1-r2: task do_populate_sysroot: Started = NOTE: > > package pseudo-native-1.1.1-r2: task do_populate_sysroot: Succeeded > > NOTE: Tasks Summary: Attempted 126 tasks of which 0 didn't need to = be > > rerun and 0 failed. /Yocto/poky-edison-6.0/scripts/bitbake: Zeile = 86: > > 14880 Speicherzugriffsfehler PSEUDO_BINDIR=3D$PSEUDOBINDIR > > PSEUDO_LIBDIR=3D$PSEUDOBINDIR/../lib/pseudo/lib > > PSEUDO_PREFIX=3D$PSEUDOBINDIR/../../ PSEUDO_DISABLED=3D1 > > $PSEUDOBINDIR/pseudo $BITBAKE $@ > > > > ------------- snap --------------------------------------- > > German output: "Speicherzugriffsfehler" =3D "segmentation fault" > > > > System-infos: Build-System: OpenSuSE 11.3, 32bit Yocto version: > > "poky-edison-6.0-tar-bz2" from the Yokto download server > > > > The absolute same problem also appears with the following = constellation: > > Build system: OpenSuSE 11.3 64bit > > Yocto version: "poky-edison-6.0-tar-bz2 'from yocto download server > > > > On the 64-bit system, I have the "nightly build" > > = ("http://autobuilder.yoctoproject.org/nightly/20120213-1/yocto.tar.bz2 > > ") reinstalled. Here I get the following output: ------------- snip > > --------------------------------------- ... NOTE: package > > tar-replacement-native-1.26-r0: task do_populate_sysroot: Started = NOTE: > > package tar-replacement-native-1.26-r0: task do_populate_sysroot: > > Succeeded NOTE: Tasks Summary: Attempted 126 tasks of which 0 didn't > > need to be rerun and 0 failed. /Yocto/yocto/scripts/bitbake: Zeile = 95: > > 29888 Speicherzugriffsfehler PSEUDO_BINDIR=3D$PSEUDOBINDIR > > PSEUDO_LIBDIR=3D$PSEUDOBINDIR/../lib/pseudo/lib > > PSEUDO_PREFIX=3D$PSEUDOBINDIR/../../ PSEUDO_DISABLED=3D1 > > $PSEUDOBINDIR/pseudo $BITBAKE $@ > > > > ------------- snap --------------------------------------- > > > > From a gdb session (evaluation of the core dump) of the nightly = build > > I get the following output: > > ------------- snip --------------------------------------- > > ... > > Core was generated by `python /Yocto/yocto/bitbake/bin/bitbake -r > > conf/hob-pre.conf -R conf/hob-post.c'. > > Program terminated with signal 11, Segmentation fault. > > #0 0x00007f0254626c9e in gdk_window_enable_synchronized_configure > > () > > from /usr/lib64/libgdk-x11-2.0.so.0 > > (gdb) > > ------------- snap --------------------------------------- > > > > The error occurred in each case at the first attempt after a new > > installation. Commands: ------------- snip > > --------------------------------------- source oe-init-build-env hob > > ------------- snap --------------------------------------- > > > > Changes in "local.conf": > > > > ------------- snip --------------------------------------- > > MACHINE ?=3D "atom-pc" > > ------------- snap --------------------------------------- > > > > Is it a bug, or a beginner's mistake? > This seems a pygtk bug of bitbake that only appears on some Linux > distribution? > In my Ubuntu 11.04, I don't get the SegFault. >=20 > Thanks, > -- Dexuan