Re: [OE-core] [PATCH 1/6] glibc: Add recipes for 2.24 release

2016-07-05 Thread Trevor Woerner
Hi Khem,

Sorry for the delay, I wanted to make absolutely sure of the statements in
this email so I started fresh and rebuilt everything from scratch a number of
times, stripped it down to the minimum, just to make sure I wasn't doing
something wrong with the things I'm doing in my normal builds. As you can
guess, building images (especially debug images) involving chromium can take a
while, not to mention I then need to download them from my build machine at
work to my home machine over a slow connection in order to run them... :-)


On Sun 2016-07-03 @ 08:02:04 AM, Khem Raj wrote:
> On Sun, Jul 3, 2016 at 6:45 AM, Trevor Woerner  wrote:
> > I just finished a bisection task which implies this patch is the reason why
> > chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
> > that chromium compiles fine both before and after this patch, the problem is
> > when chromium is run.
> >
> > I'm not 100% how to move forward, at this point. Maybe the problem is caused
> > by the remove of the SSE patch?
> >
> > Any suggestions greatly appreciated! :-)
> >
> >
> > Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 
> > 557b2cb6cc90557b2cb6cc90
> 
> couple of ideas.
> 
> compile the image with debug info so we can see the full stack trace
> with symbols.

Taking your advice, I installed the chromium -dbg package to my minnow board,
then I installed all the -dbg packages opkg said the chromium -dbg package
recommended (28 in total) and re-ran the browser. I saw a slight improvement
in the dump to:

root@intel-corei7-64:~/opkg# export DISPLAY=:0
root@intel-corei7-64:~/opkg# google-chrome 
[808:808:0703/160711:ERROR:gl_implementation.cc(223)] Failed to load 
libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or 
directory
[808:808:0703/160712:ERROR:gpu_child_thread.cc(376)] Exiting GPU 
process due to errors during initialization
[780:800:0703/160712:ERROR:browser_gpu_channel_host_factory.cc(119)] 
Failed to launch GPU process.
[780:800:0703/160712:ERROR:browser_gpu_channel_host_factory.cc(119)] 
Failed to launch GPU process.
Received signal 4 ILL_ILLOPN 55f79db06c90
#0 0x55f7995a460e 
#1 0x55f7995a49d9 
#2 0x7fa49806fe40 
#3 0x55f79db06c90 
#4 0x55f79a2b5580 
#5 0x55f79a2b5d93 
#6 0x55f79a2b3956 
#7 0x55f79a2b41dc 
#8 0x55f79aa08c5d 
#9 0x55f79a9fd01e 
#10 0x55f79a9fdcf0 
#11 0x55f79cb295fe 
#12 0x55f79cb2a321 
#13 0x55f79cb1ea1b 
#14 0x55f79e03b172 
#15 0x55f79a0cfd86 
#16 0x55f79960e7fd 
#17 0x55f79e0a48ce 
#18 0x55f79e0a4ec4 
#19 0x55f79960e7fd 
#20 0x55f7995c265b 
#21 0x55f7995c31dd 
#22 0x55f7995c34ab 
#23 0x55f7995c4da9 
#24 0x55f7995db3fa 
#25 0x55f7995c1495 
#26 0x55f79cb40cd0 
#27 0x55f7995739a1 
#28 0x55f799573f3d 
#29 0x55f7995731d1 
#30 0x55f79913cf9a ChromeMain
#31 0x7fa493637040 
#32 0x55f79913cdfa _start
  r8:   r9:  r10:  r11: 
0202
 r12: 1884ff4181e0 r13: 0004 r14: 1884ff4181f8 r15: 
55f7a0ba0352
  di: 134bf2101000  si: 0001e000  bp: 1884ff464000  bx: 
1884ff418200
  dx: 0008  ax:   cx: ff58  sp: 
7ffe64badc10
  ip: 55f79db06c90 efl: 00010286 cgf: 0033 erf: 

 trp: 0006 msk:  cr2: 
[end of stack trace]


As you can see, I went from a dump where no symbols were known to one where
only one was known :-)

I then decided to build an image that included every -dbg package (by adding
"dbg-pkgs" to "EXTRA_IMAGE_FEATURES") and ran the resulting image only to end
up with the exact same trace as above; everything unknown except for one line
with ChromeMain, grrr. I wonder why that didn't work and how I could get it to
work better?



> secondly, see if it fails same way on qemux86-64 as well.


Good idea!

I created minimal, core-image-x11, builds for qemux86-64 and the problem is
demonstrated there as well.

I've attached my local.conf and my chromium recipe if anyone is interested in
seeing this same behaviour too.

At the last ELC I mentioned in the BoF that I was working on splitting the
chromium recipe into -x11 and -wayland parts so that the -x11 part could move
forward independently of the ozone patches. This is what I was working on when
I stumbled across this issue, so I wanted to clear this up before submitting
my chromium updates for review (and, hopefully, inclusion).

To make things easier, start with a simple poky build:

$ git clone git://git.yoctoproject.org/poky meta-poky

You'll need to add meta-openembedded/meta-oe 

Re: [OE-core] [PATCH 1/6] glibc: Add recipes for 2.24 release

2016-07-03 Thread Khem Raj
On Sun, Jul 3, 2016 at 6:45 AM, Trevor Woerner  wrote:
> I just finished a bisection task which implies this patch is the reason why
> chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
> that chromium compiles fine both before and after this patch, the problem is
> when chromium is run.
>
> I'm not 100% how to move forward, at this point. Maybe the problem is caused
> by the remove of the SSE patch?
>
> Any suggestions greatly appreciated! :-)
>
>
> Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 
> 557b2cb6cc90557b2cb6cc90

couple of ideas.

compile the image with debug info so we can see the full stack trace
with symbols.
secondly, see if it fails same way on qemux86-64 as well.

sse patch was upstreamed so technically its not removed.


>
> Received signal 4 ILL_ILLOPN 557b2cb6cc90
> Received signal 4 ILL_ILLOPN 557b2cb6cc90
> ##0 00x 557b2860a60e0x 557b2860a60e 
> #
> 1# 1 0x0x557b2860a9d9557b2860a9d9  
> #2 0x7f0923227e40 
>
> ##32  0x0x7f0923227e40557b2cb6cc90  
> #3 0x557b2cb6cc90 
> #4 0x557b2931b580 
> #5 0x557b2931bd93 Received signal 6
> 
> #6 0x557b29319956 #0 0x557b2860a60e 
> #7 0x557b2931a1dc 
> #1 0x557b2860a9d9 
> #2 0x7f0923227e40 
> #8
>  #0x3557b29a6ec5d  0x7f091e801d38 
> #9 0x557b29a6301e 
> #10 0x
> 557b29a63cf0# 4 0x7f091e80318a 
> #11 0x557b2bb8f5fe 
> #5 0x557b28694b5a 
> #
> 6# 120x 0x557b2869533b557b2bb90321  
> #7 0x557b2860a885 
> #8 0x557b2860a9f7 
> #9 0x7f0923227e40 
> #13 0x557b2bb84a1b 
> #10 0x557b2cb6cc90 
> #11 0x557b2931b580 
> #12 0x557b2931bd93 
> #13
>  #0x14 557b293199560x 557b2d0a1172 
> #14 0x557b2931a1dc 
> #15 0x557b29a6ec5d 
> #16 0x557b29a6301e 
> #17 0x557b29a63cf0 
> #
> 18#15  0x0x557b29135d86557b2bb8f5fe #0 0x557b2860a60e 
> #19 0x557b2bb90321 
> #20 0x557b2bb84a1b 
> #21 0x557b2d0a1172 
> #22 0x557b29135d86 
> #1 0x557b2860a9d9 
> #23 0x557b286747fd 
> #24 0x557b2d10a8ce 
> #25 0x557b2d10aec4 
> #26 
> 0x#2557b286747fd 0x7f0923227e40  
> #3 0x557b2cb6cc90 Received signal 11  
> 
> #4 0x557b2931b580 #0 0x557b2860a60e 
> #1 0x557b2860a9d9 
> #2 0x7f0923227e40
> # 5 0x557b2931bd93 
> #3 0x7f091e803286 
> #6 0x557b29319956 
> #7 0x557b2931a1dc 
> #4 0x557b28694b5a 
> #5 0x557b2869533b 
>
> ##8 60x 557b29a6ec5d0x 557b2860a885 
> #7 0x557b2860a9f7 
> #8 0x7f0923227e40 
> #
> 9 #0x9557b29a6301e  0x7f091e801d38  #0 0x557b2860a60e 
> #1 0x557b2860a9d9 
> #2 0x7f0923227e40 
> #10 0x557b29a63cf0 
> #3 0x557b2cb6cc90 
> #16 0x557b286747fd Received signal 6
> 
> #17 0x557b2d10a8ce #0 0x557b2860a60e 
> #1 0x557b2860a9d9 
> #18 0x557b2d10aec4 
> #3 0x7f091e801d38 
> #19 0x557b286747fd 
> #20 0x557b2862865b 
> #4 0x7f091e80318a 
> #21 0x557b286291dd 
> #22 0x557b286294ab 
> #5 0x557b28694b5a 
> #6 0x557b2869533b 
> #7 0x557b2860a885 
> #8 0x557b2860a9f7 
> #9 0x7f0923227e40 
> #23
> 0x#557b2862ada910  0x557b2cb6cc90 
> #11 0x557b2931b580 
> #12 0x557b2931bd93 
> #13 0x557b29319956 
> #14 0x557b2931a1dc 
> #15 0x557b29a6ec5d 
> #16 0x557b29a6301e 
> #17 0x557b29a63cf0 
> #18 0x557b2bb8f5fe 
> #19 0x557b2bb90321 
> #20 0x557b2bb84a1b 
>
> ##2124  0x0x557b2d0a1172557b286413fa  
> #25 0x557b28627495 
> #26 0x557b2bba6cd0 
> #27 0x557b285d99a1 
> #28 0x557b285d9f3d 
> #29 0x557b285d91d1 
> #30 0x557b281a2f9a 
> #31 0x7f091e7ef040 
> #22 0x557b29135d86 
> #32 0x557b281a2dfa 
>   r8:   r9:  r10:  r11: 
> 0202
>  r12: 27522aa181e0 r13: 0004 r14: 27522aa181f8 r15: 
> 557b2fc06352
>   di: 357c8b781000  si: 0001e000  bp: 27522aa64000  bx: 
> 27522aa18200
>   dx: 0008  ax:   cx: ff58  sp: 
> 7ffe2cd33b70
>   ip: 557b2cb6cc90 efl: 00010286 cgf: 0033 erf: 
> 
>  trp: 0006 msk:  cr2: 
> [end of stack trace]
> 
> #23 0x557b286747fd 
> #24 0x557b2d10a8ce 
> #11 0x557b2bb8f5fe 
> #12 0x557b2bb90321 
> #13 0x557b2bb84a1b 
> #14 0x557b2d0a1172 
> #15 0x557b29135d86 
> #16 0x557b286747fd 
> #17 0x557b2d10a8ce 
> #18 0x557b2d10aec4 
> #19 0x557b286747fd 
> #20 0x557b2862865b 
> #21 0x557b286291dd 
> #25 0x557b2d10aec4 
> #26 0x557b286747fd 
> #27 0x557b2862865b 
> #28 0x557b286291dd 
> #22 0x557b286294ab 
> #23 0x557b2862ada9 
> #24 0x557b286413fa Received signal 11  
> #0
>  #0x25557b2860a60e  0x557b28627495 
> #26 0x557b2bba6cd0 
> #27 0x557b285d99a1 
> #28 0x557b285d9f3d 
> #29 0x557b285d91d1 
> #30 0x557b281a2f9a 
> #31 0x7f091e7ef040 
> #1 0x557b2860a9d9 
> #32 0x557b281a2dfa 
>   r8:   r9:  r10:  r11: 
> 0202
>  r12: 1991086181e0 r13: 0004 r14: 1991086181f8 r15: 
> 557b2fc06352
>   di: 2a0341a41000  si: 0001e000  bp: 199108664000  bx: 
> 199108618200
>   dx: 0008  ax:   cx: ff58  sp: 
> 7ffe2cd33b70
>   ip: 557b2cb6cc90 efl: 

Re: [OE-core] [PATCH 1/6] glibc: Add recipes for 2.24 release

2016-07-03 Thread Trevor Woerner
I just finished a bisection task which implies this patch is the reason why
chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
that chromium compiles fine both before and after this patch, the problem is
when chromium is run.

I'm not 100% how to move forward, at this point. Maybe the problem is caused
by the remove of the SSE patch?

Any suggestions greatly appreciated! :-)


Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 
557b2cb6cc90557b2cb6cc90

Received signal 4 ILL_ILLOPN 557b2cb6cc90
Received signal 4 ILL_ILLOPN 557b2cb6cc90
##0 00x 557b2860a60e0x 557b2860a60e 
#
1# 1 0x0x557b2860a9d9557b2860a9d9  
#2 0x7f0923227e40 

##32  0x0x7f0923227e40557b2cb6cc90  
#3 0x557b2cb6cc90 
#4 0x557b2931b580 
#5 0x557b2931bd93 Received signal 6

#6 0x557b29319956 #0 0x557b2860a60e 
#7 0x557b2931a1dc 
#1 0x557b2860a9d9 
#2 0x7f0923227e40 
#8
 #0x3557b29a6ec5d  0x7f091e801d38 
#9 0x557b29a6301e 
#10 0x
557b29a63cf0# 4 0x7f091e80318a 
#11 0x557b2bb8f5fe 
#5 0x557b28694b5a 
#
6# 120x 0x557b2869533b557b2bb90321  
#7 0x557b2860a885 
#8 0x557b2860a9f7 
#9 0x7f0923227e40 
#13 0x557b2bb84a1b 
#10 0x557b2cb6cc90 
#11 0x557b2931b580 
#12 0x557b2931bd93 
#13
 #0x14 557b293199560x 557b2d0a1172 
#14 0x557b2931a1dc 
#15 0x557b29a6ec5d 
#16 0x557b29a6301e 
#17 0x557b29a63cf0 
#
18#15  0x0x557b29135d86557b2bb8f5fe #0 0x557b2860a60e 
#19 0x557b2bb90321 
#20 0x557b2bb84a1b 
#21 0x557b2d0a1172 
#22 0x557b29135d86 
#1 0x557b2860a9d9 
#23 0x557b286747fd 
#24 0x557b2d10a8ce 
#25 0x557b2d10aec4 
#26 
0x#2557b286747fd 0x7f0923227e40  
#3 0x557b2cb6cc90 Received signal 11  

#4 0x557b2931b580 #0 0x557b2860a60e 
#1 0x557b2860a9d9 
#2 0x7f0923227e40
# 5 0x557b2931bd93 
#3 0x7f091e803286 
#6 0x557b29319956 
#7 0x557b2931a1dc 
#4 0x557b28694b5a 
#5 0x557b2869533b 

##8 60x 557b29a6ec5d0x 557b2860a885 
#7 0x557b2860a9f7 
#8 0x7f0923227e40 
#
9 #0x9557b29a6301e  0x7f091e801d38  #0 0x557b2860a60e 
#1 0x557b2860a9d9 
#2 0x7f0923227e40 
#10 0x557b29a63cf0 
#3 0x557b2cb6cc90 
#16 0x557b286747fd Received signal 6

#17 0x557b2d10a8ce #0 0x557b2860a60e 
#1 0x557b2860a9d9 
#18 0x557b2d10aec4 
#3 0x7f091e801d38 
#19 0x557b286747fd 
#20 0x557b2862865b 
#4 0x7f091e80318a 
#21 0x557b286291dd 
#22 0x557b286294ab 
#5 0x557b28694b5a 
#6 0x557b2869533b 
#7 0x557b2860a885 
#8 0x557b2860a9f7 
#9 0x7f0923227e40 
#23 
0x#557b2862ada910  0x557b2cb6cc90 
#11 0x557b2931b580 
#12 0x557b2931bd93 
#13 0x557b29319956 
#14 0x557b2931a1dc 
#15 0x557b29a6ec5d 
#16 0x557b29a6301e 
#17 0x557b29a63cf0 
#18 0x557b2bb8f5fe 
#19 0x557b2bb90321 
#20 0x557b2bb84a1b 

##2124  0x0x557b2d0a1172557b286413fa  
#25 0x557b28627495 
#26 0x557b2bba6cd0 
#27 0x557b285d99a1 
#28 0x557b285d9f3d 
#29 0x557b285d91d1 
#30 0x557b281a2f9a 
#31 0x7f091e7ef040 
#22 0x557b29135d86 
#32 0x557b281a2dfa 
  r8:   r9:  r10:  r11: 
0202
 r12: 27522aa181e0 r13: 0004 r14: 27522aa181f8 r15: 
557b2fc06352
  di: 357c8b781000  si: 0001e000  bp: 27522aa64000  bx: 
27522aa18200
  dx: 0008  ax:   cx: ff58  sp: 
7ffe2cd33b70
  ip: 557b2cb6cc90 efl: 00010286 cgf: 0033 erf: 

 trp: 0006 msk:  cr2: 
[end of stack trace]

#23 0x557b286747fd 
#24 0x557b2d10a8ce 
#11 0x557b2bb8f5fe 
#12 0x557b2bb90321 
#13 0x557b2bb84a1b 
#14 0x557b2d0a1172 
#15 0x557b29135d86 
#16 0x557b286747fd 
#17 0x557b2d10a8ce 
#18 0x557b2d10aec4 
#19 0x557b286747fd 
#20 0x557b2862865b 
#21 0x557b286291dd 
#25 0x557b2d10aec4 
#26 0x557b286747fd 
#27 0x557b2862865b 
#28 0x557b286291dd 
#22 0x557b286294ab 
#23 0x557b2862ada9 
#24 0x557b286413fa Received signal 11  
#0
 #0x25557b2860a60e  0x557b28627495 
#26 0x557b2bba6cd0 
#27 0x557b285d99a1 
#28 0x557b285d9f3d 
#29 0x557b285d91d1 
#30 0x557b281a2f9a 
#31 0x7f091e7ef040 
#1 0x557b2860a9d9 
#32 0x557b281a2dfa 
  r8:   r9:  r10:  r11: 
0202
 r12: 1991086181e0 r13: 0004 r14: 1991086181f8 r15: 
557b2fc06352
  di: 2a0341a41000  si: 0001e000  bp: 199108664000  bx: 
199108618200
  dx: 0008  ax:   cx: ff58  sp: 
7ffe2cd33b70
  ip: 557b2cb6cc90 efl: 00010286 cgf: 0033 erf: 

 trp: 0006 msk:  cr2: 
[end of stack trace]

#10 0x7f091e80318a 
#11 0x557b28694b5a 
#12 0x557b2869533b 
#13 0x557b2860a885 
#14 0x557b2860a9f7 
#15 0x7f0923227e40 
#16 0x557b2cb6cc90 
#17 0x557b2931b580 
#2 0x7f0923227e40 
#3 0x7f091e803286 
#4 0x557b28694b5a 
#5 0x557b2869533b 
#6 0x557b2860a885 
#18 0x557b2931bd93 
#19 0x557b29319956 
#20 0x557b2931a1dc 
#21 0x557b29a6ec5d
 #7 0x557b2860a9f7 
#8 0x7f0923227e40 
#9 0x7f091e801d38 
#22 
0x#557b29a6301e10  0x7f091e80318a 
#11 0x557b28694b5a 
#12 0x557b2869533b 
#13 0x557b2860a885