Package: xulrunner-1.9
Version: 1.9.0.5-1
Severity: important

Gecko 1.9-based browsers frequently segfault on me upon calling
cairo_pattern_create_linear; this may be a cairo bug, in which case
please feel free to reassign, but so far I've only experienced
problems in Gecko-based browsers (Iceweasel and Epiphany).

Segfaults happen in a seemingly random manner, sometimes within
seconds of opening the first page in a new Iceweasel session,
sometimes about an hour into using it (or even more). I haven't
figured out a sure-fire method of reproducing it. Iceape 1.1.x (not
based on Gecko 1.9) seems to be unaffected.

I run KDE 3.5 from lenny, on an Athlon XP with an nVidia GeForce 6200,
and I get segfaults with every X.org driver ("nvidia" 173.14.09, "nv"
1:2.1.10-1 and "vesa" 1:1.3.0-4, current versions in lenny). So far
I've been unable to reproduce the problem on a computer with a
different video card (a Radeon 9200 Pro). Thus it may be
hardware-specific or due to some different configuration on the two
computers: please let me know what kind of information could be
useful, if any.

Meanwhile, I'm testing the official Mozilla build of Firefox 3.0.5 and
recompiling cairo, xulrunner and iceweasel with gcc from unstable
(4.3.2-2), to figure out whether the builds on debian archive are
miscompiled for some reason. I will report if I find out anything.

I include two samples of backtraces obtained with
$ iceweasel -g firefox-bin -d gdb
I've had segfaults on epiphany (-gecko) too, but haven't made a backtrace yet.
I have these debug packages installed: iceweasel-dbg, libcairo2-dbg,
libmozjs1d-dbg, xulrunner-1.9-dbg; please tell me in case I should
install any more.

Note the values for x0, y0, x1, y1, with abysmal exponents like -314:
I don't know enough about cairo to judge, are they even normal?

That's all for now, again, I will provide more information if I find
out anything, and if I've left out anything meaningful please feel
free to ask.

Best regards,
Pier Luigi Pau


*** SAMPLE 1 ***

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c466c0 (LWP 4564)]
0xb6d9a0c4 in cairo_pattern_create_linear (x0=2.2166152909316211e-314,
    y0=-1.7640632441439585e-44, x1=1.3640412778118853e-252,
    y1=-1.6960806221575634e-44)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:534
534     /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:
No such file or directory.
        in 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c
(gdb) backtrace
#0  0xb6d9a0c4 in cairo_pattern_create_linear (x0=2.2166152909316211e-314,
    y0=-1.7640632441439585e-44, x1=1.3640412778118853e-252,
    y1=-1.6960806221575634e-44)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:534
#1  0xb6d94494 in _cairo_surface_paint (surface=0xb6a3c38,
    op=CAIRO_OPERATOR_SOURCE, source=0xbf803884)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-surface.c:1435
#2  0xb6d83fde in _cairo_gstate_paint (gstate=0xbb825e0)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-gstate.c:873
#3  0xb6d7be23 in *INT_cairo_paint (cr=0xbb825c0)
    at /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo.c:1958
#4  0xb6d7bf1a in cairo_paint_with_alpha (cr=0xbb825c0, alpha=1)
    at /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo.c:1986
#5  0xb79feda5 in gfxContext::Paint (this=0xbf803b18, alpha=1)
    at gfxContext.cpp:710
#6  0xb7a088ac in gfxPlatform::OptimizeImage (this=0x99d1918,
    aSurface=0xa6791a0, format=gfxASurface::ImageFormatRGB24)
    at gfxPlatform.cpp:248
#7  0xb7934bd6 in nsThebesImage::Optimize (this=0xa679140, aContext=0x0)
    at nsThebesImage.cpp:335
#8  0xb79f4f79 in gfxImageFrame::SetMutable (this=0xa679100, aMutable=0)
    at gfxImageFrame.cpp:191
#9  0xb73a0195 in imgContainer::DecodingComplete (this=0xa6790a8)
    at imgContainer.cpp:306
#10 0xb73a84a3 in nsGIFDecoder2::EndGIF (this=0xbbc0d18)
    at nsGIFDecoder2.cpp:312
#11 0xb73a9b42 in nsGIFDecoder2::Close (this=0xbbc0d18)
    at nsGIFDecoder2.cpp:166
#12 0xb73a4913 in imgRequest::OnStopRequest (this=0xba9f000,
    aRequest=0xa1a0034, ctxt=0x0, status=0) at imgRequest.cpp:755
#13 0xb73a260a in ProxyListener::OnStopRequest (this=0xb5ed1b8,
    aRequest=0xa1a0034, ctxt=0x0, status=0) at imgLoader.cpp:866
#14 0xb72db517 in nsStreamListenerTee::OnStopRequest (this=0xa679570,
    request=0xa1a0034, context=0x0, status=0) at nsStreamListenerTee.cpp:65
#15 0xb732b1e6 in nsHttpChannel::OnStopRequest (this=0xa1a0008,
    request=0xbc55f88, ctxt=0x0, status=0) at nsHttpChannel.cpp:4449
#16 0xb72c5f31 in nsInputStreamPump::OnStateStop (this=0xbc55f88)
    at nsInputStreamPump.cpp:576
#17 0xb72c6255 in nsInputStreamPump::OnInputStreamReady (this=0xbc55f88,
    stream=0xb9f0fb0) at nsInputStreamPump.cpp:401
#18 0xb79bcebf in nsInputStreamReadyEvent::Run (this=0xbc55fe0)
    at nsStreamUtils.cpp:111
#19 0xb79cfd6c in nsThread::ProcessNextEvent (this=0x954b280, mayWait=1,
    result=0xbf803d84) at nsThread.cpp:510
#20 0xb79a1d84 in NS_ProcessNextEvent_P (thread=0x0, mayWait=1)
    at nsThreadUtils.cpp:230
#21 0xb7925b08 in nsBaseAppShell::Run (this=0x95e9538)
    at nsBaseAppShell.cpp:170
#22 0xb780483c in nsAppStartup::Run (this=0x964d290) at nsAppStartup.cpp:181
#23 0xb727fa6c in XRE_main (argc=6, argv=0xbf805164, aAppData=0x9507898)
    at nsAppRunner.cpp:3205
#24 0x08048fcc in ?? ()
#25 0x00000006 in ?? ()
#26 0xbf805164 in ?? ()
#27 0x09507898 in ?? ()
#28 0xbf8042cc in ?? ()
#29 0xbf804acc in ?? ()
#30 0x00000000 in ?? ()
(gdb)


=====
*** SAMPLE 2 ***

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c9d6c0 (LWP 4939)]
0xb6df10c4 in cairo_pattern_create_linear (x0=2.2120104449638992e-314,
    y0=-2.1450412618122504e-44, x1=6.5400381425405264e-258,
    y1=-2.0770586427585603e-44)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:534
534     /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:
No such file or directory.
        in 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c
(gdb) bt
#0  0xb6df10c4 in cairo_pattern_create_linear (x0=2.2120104449638992e-314,
    y0=-2.1450412618122504e-44, x1=6.5400381425405264e-258,
    y1=-2.0770586427585603e-44)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-pattern.c:534
#1  0xb6deb494 in _cairo_surface_paint (surface=0xadc04c0,
    op=CAIRO_OPERATOR_SOURCE, source=0xbfa5c744)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-surface.c:1435
#2  0xb6ddafde in _cairo_gstate_paint (gstate=0xa892030)
    at 
/build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo-gstate.c:873
#3  0xb6dd2e23 in *INT_cairo_paint (cr=0xa892010)
    at /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo.c:1958
#4  0xb6dd2f1a in cairo_paint_with_alpha (cr=0xa892010, alpha=1)
    at /build/buildd-cairo_1.6.4-7-i386-MtHzYf/cairo-1.6.4/src/cairo.c:1986
#5  0xb7a55da5 in gfxContext::Paint (this=0xbfa5c9d8, alpha=1)
    at gfxContext.cpp:710
#6  0xb7a5f8ac in gfxPlatform::OptimizeImage (this=0x89db608,
    aSurface=0x95dc7f0, format=gfxASurface::ImageFormatARGB32)
    at gfxPlatform.cpp:248
#7  0xb798bbd6 in nsThebesImage::Optimize (this=0xadc0460, aContext=0x0)
    at nsThebesImage.cpp:335
#8  0xb7a4bf79 in gfxImageFrame::SetMutable (this=0xadc0420, aMutable=0)
    at gfxImageFrame.cpp:191
#9  0xb73f7195 in imgContainer::DecodingComplete (this=0xa5f2590)
    at imgContainer.cpp:306
#10 0xb73fe847 in end_callback (png_ptr=0xab600f0, info_ptr=0xa5f2418)
    at nsPNGDecoder.cpp:878
#11 0xb70b583f in ?? () from /usr/lib/libpng12.so.0
#12 0x0ab600f0 in ?? ()
#13 0x0a5f2418 in ?? ()
#14 0xbfa5cb28 in ?? ()
#15 0xb70b71f3 in ?? () from /usr/lib/libpng12.so.0
#16 0x0ab600f0 in ?? ()
#17 0x0a5f2418 in ?? ()
#18 0x00000000 in ?? ()
(gdb)


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xulrunner-1.9 depends on:
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-7           The Cairo 2D vector graphics libra
ii  libfontconfig1         2.6.0-3           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.2-2         GCC support library
ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
ii  libgtk2.0-0            2.12.11-4         The GTK+ graphical user interface
ii  libhunspell-1.2-0      1.2.6-1           spell checker and morphological an
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG
ii  liblcms1               1.17.dfsg-1       Color management library
ii  libmozjs1d             1.9.0.5-1         The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d            4.7.1-4           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.0-5          Network Security Service libraries
ii  libpango1.0-0          1.20.5-3          Layout and rendering of internatio
ii  libpng12-0             1.2.27-2          PNG library - runtime
ii  libreadline5           5.2-3             GNU readline and history libraries
ii  libsqlite3-0           3.5.9-5           SQLite 3 shared library
ii  libstartup-notificatio 0.9-1             library for program launch feedbac
ii  libstdc++6             4.3.2-2           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

xulrunner-1.9 recommends no packages.

Versions of packages xulrunner-1.9 suggests:
ii  xulrunner-1.9-gnome-support   1.9.0.5-1  Support for GNOME in xulrunner app

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to