Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] WebKit - Random-crashes ?
@ 2012-03-20  9:50 Vellemans, Noel
  2012-03-20 10:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Vellemans, Noel @ 2012-03-20  9:50 UTC (permalink / raw)
  To: buildroot

Hi,

>>>> Noel Vellemans
>>>>>When I do compile Webkit-1.2.7 (that was working before) with 
>>>>> the same set of libraries/uclibc.... (as I use to build 1.6.3
now), I 
>>>>> do get 'RANDOM'-crashes as well.

>>Arnout Vandecappelle
>> This probably means that Webkit isn't the problem, but one of the
many libraries it 
>>depends upon is.
>>
>> Ideally, you should revert everything to the working situation, and
then upgrade the >>libraries one by one to find the one that is causing
the problem.  Looking at the 
>>backtraces, if must be one of gdk, glib, or uClibc.


Finally got 'something' running, that is not crashing all the time.
What Did I do?
A) Reverted back to older-WebKit 1.2.7. : DID NOT HELP (i.o.w
WebKit/GtkLauncher still crashes 'random') 
A) Reverted back to Uclibc 0.9.32.x     : DID NOT HELP. 
B) Reverted back to glib-2.28.8         : DID NOT HELP.
C) reverted to an older version of GTK (2.24.4): DID NOT HELP.
D) Reverted back to libsoup-2.32.2 (had to remove glib-networking
depends): SEEMS to be STABLE!
{I'll RE-test the complete build overnight}

.. 
Compiling WebKit (and his depends) takes some time, even on
fast-build-machine (some hours in my case).
In order to be sure that everything is recompiled/linked correctly, I
always wipe the complete 'output' directory.
Is there a faster way to do this?
{if I do not wipe the output directory I always have leftovers (in /lib,
/usr/lib ..... ) ... from previous compile cycle(s).}



>>Arnout Vandecappelle
>> A segmentation fault in free() generally indicates either a double
free or freeing 
>>unallocated memory (e.g. a stack variable).  valgrind may help to
pinpoint the problem.

I run Gtklauncher in Val grind as suggested, but I get a Lot of
'console'-output from everywhere. 
For example.... "== Invalid write of size 4" and/or "Address 0x97b6e14
is not stack'd, malloc'd or (recently) free'd" 
Don't know exactly, how valuable this output is ( i.o.w. did not look
into the details yet...)



Regards,
Noel



==1311== Invalid write of size 4
==1311==    at 0x73B269C: _pixman_lookup_composite_function
(pixman-utils.c:135)
==1311==    by 0x737054B: pixman_image_composite32 (pixman.c:682)
==1311==    by 0x595C6BB: _composite_glyphs (cairo-image-surface.c:4002)
==1311==    by 0x595E88B: _clip_and_composite
(cairo-image-surface.c:2316)
==1311==    by 0x595EBCF: _cairo_image_surface_glyphs
(cairo-image-surface.c:4062)
==1311==    by 0x597C587: _cairo_surface_show_text_glyphs
(cairo-surface.c:2640)
==1311==    by 0x595928F: _cairo_gstate_show_text_glyphs
(cairo-gstate.c:1981)
==1311==    by 0x59509C3: cairo_show_glyphs (cairo.c:3509)
==1311==    by 0x4EAAF5B:
WebCore::Font::drawGlyphs(WebCore::GraphicsContext*,
WebCore::SimpleFontData const*, WebCore::GlyphBuffer const&, int, int,
WebCore::FloatPoint const&) const (FontCairo.cpp:108)
==1311==    by 0x4C74ED3:
WebCore::Font::drawGlyphBuffer(WebCore::GraphicsContext*,
WebCore::GlyphBuffer const&, WebCore::TextRun const&,
WebCore::FloatPoint const&) const (FontFastPath.cpp:314)
==1311==    by 0x4C7504F:
WebCore::Font::drawSimpleText(WebCore::GraphicsContext*,
WebCore::TextRun const&, WebCore::FloatPoint const&, int, int) const
(FontFastPath.cpp:287)
==1311==    by 0x4C7A1BB:
WebCore::GraphicsContext::drawText(WebCore::Font const&,
WebCore::TextRun const&, WebCore::IntPoint const&, int, int)
(GraphicsContext.cpp:337)
==1311==  Address 0x97b6e14 is not stack'd, malloc'd or (recently)
free'd
==1311==
==1311== Invalid write of size 4
==1311==    at 0x73B26AC: _pixman_lookup_composite_function
(pixman-utils.c:136)
==1311==    by 0x737054B: pixman_image_composite32 (pixman.c:682)
==1311==    by 0x595C6BB: _composite_glyphs (cairo-image-surface.c:4002)
==1311==    by 0x595E88B: _clip_and_composite
(cairo-image-surface.c:2316)
==1311==    by 0x595EBCF: _cairo_image_surface_glyphs
(cairo-image-surface.c:4062)
==1311==    by 0x597C587: _cairo_surface_show_text_glyphs
(cairo-surface.c:2640)
==1311==    by 0x595928F: _cairo_gstate_show_text_glyphs
(cairo-gstate.c:1981)
==1311==    by 0x59509C3: cairo_show_glyphs (cairo.c:3509)
==1311==    by 0x4EAAF5B:
WebCore::Font::drawGlyphs(WebCore::GraphicsContext*,
WebCore::SimpleFontData const*, WebCore::GlyphBuffer const&, int, int,
WebCore::FloatPoint const&) const (FontCairo.cpp:108)
==1311==    by 0x4C74ED3:
WebCore::Font::drawGlyphBuffer(WebCore::GraphicsContext*,
WebCore::GlyphBuffer const&, WebCore::TextRun const&,
WebCore::FloatPoint const&) const (FontFastPath.cpp:314)
==1311==    by 0x4C7504F:
WebCore::Font::drawSimpleText(WebCore::GraphicsContext*,
WebCore::TextRun const&, WebCore::FloatPoint const&, int, int) const
(FontFastPath.cpp:287)
==1311==    by 0x4C7A1BB:
WebCore::GraphicsContext::drawText(WebCore::Font const&,
WebCore::TextRun const&, WebCore::IntPoint const&, int, int)
(GraphicsContext.cpp:337)
==1311==  Address 0x97b6e18 is not stack'd, malloc'd or (recently)
free'd
==1311==
==1311== Invalid write of size 4
==1311==    at 0x73B26BC: _pixman_lookup_composite_function
(pixman-utils.c:137)
==1311==    by 0x737054B: pixman_image_composite32 (pixman.c:682)
==1311==    by 0x595C6BB: _composite_glyphs (cairo-image-surface.c:4002)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Buildroot] WebKit - Random-crashes ?
@ 2012-03-16 10:46 Vellemans, Noel
  0 siblings, 0 replies; 7+ messages in thread
From: Vellemans, Noel @ 2012-03-16 10:46 UTC (permalink / raw)
  To: buildroot


<< Sorry re-post... Forgot the subject >>

 
Hi all, 
 
I'm struggling some day's now to get Webkit 1.6.3 (and even some later
versions 1.7.xx.xx ) running on Arm Cortex-A8 (build with GCC 4.5.x, and
uclibc0.9.33 )

Compiling is not a problem, this works (with some patches, depending on
the version of weskit I build I build.)


BUT: I'm having random crashes (when run the GtkLauncher on the target),
that I can not explain, or find where it goes wrong.

It must be in one of the libraries, but because I do not have any
'repetitive' core-dumps, it is hard to figure out what is going on, when
looking at these core dumps. 

I guess some basic-stuff (like fore example, locking.. or whatever...
malloc/free... troubles) that is not working, it is to strange what
happens, in  these core-dumps i never see somthing that is pointing to
the same crash-reason.
 

NOTE: When I do compile Weskit-1.2.7 (that was working before) with the
same set of libraries/uclibc.... (as I use to build 1.6.3 now), I do get
'RANDOM'-crashes as well.

I've included some core-dumps trace-back's (hope this is not to big for
the mailing-list) maybe someone gets a idea where I can take a look at.

Regards, and thanks.
Noel



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crash1.txt
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120316/05d46b09/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crash2.txt
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120316/05d46b09/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crash3.txt
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120316/05d46b09/attachment-0005.txt>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-21 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20  9:50 [Buildroot] WebKit - Random-crashes ? Vellemans, Noel
2012-03-20 10:18 ` Thomas Petazzoni
2012-03-20 12:48   ` Sagaert Johan
2012-03-20 12:55     ` Will Wagner
2012-03-20 13:02       ` Sagaert Johan
2012-03-21 22:12         ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2012-03-16 10:46 Vellemans, Noel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox