Bug#658966: iceweasel: segmentation fault printing a selection

Arthur Marsh arthur.marsh at internode.on.net
Mon Feb 6 23:13:17 UTC 2012


Package: iceweasel
Version: 9.0.1-1
Severity: normal

When attempting to print a selection of a web page (text plus one image), 
iceweasel quit and when running using iceweasel -g the backtrace was as 
follows:

Program received signal SIGSEGV, Segmentation fault.
0x000000303582e5b4 in ppdFindChoice ()
   from /usr/lib/x86_64-linux-gnu/libcups.so.2
(gdb) bt
#0  0x000000303582e5b4 in ppdFindChoice ()
   from /usr/lib/x86_64-linux-gnu/libcups.so.2
#1  0x00007fffbd7f0472 in create_page_setup (ppd_file=0x7ffff7df6760, size=0x0)
    at /tmp/buildd/gtk+2.0-2.24.9/modules/printbackends/cups/gtkprintbackendcups.c:4543
#2  0x00007fffbd7f2c77 in gtk_print_backend_cups_print_stream (
    print_backend=0x7fffd50b7520, job=0x7fffdeaa3d70, data_io=0x7fffdfe1ed80,
    callback=0x7ffff68e2552 <print_callback(GtkPrintJob*, gpointer, GError*)>,
    user_data=0x7fffd2eb8100,
    dnotify=0x7ffff68e22b9 <ns_release_macro(gpointer)>)
    at /tmp/buildd/gtk+2.0-2.24.9/modules/printbackends/cups/gtkprintbackendcups.c:551
#3  0x00007ffff68e2a17 in nsDeviceContextSpecGTK::EndDocument (
    this=0x7fffd4ade000)
    at /tmp/buildd/iceweasel-9.0.1/widget/src/gtk2/nsDeviceContextSpecG.cpp:624
#4  0x00007ffff61ace37 in nsDeviceContext::EndDocument (this=0x7fffd25a35b0)
    at /tmp/buildd/iceweasel-9.0.1/gfx/src/nsDeviceContext.cpp:609
#5  0x00007ffff6604693 in nsPrintData::~nsPrintData (this=0x7fffda39a180,
    __in_chrg=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintData.cpp:117
#6  0x00007ffff65ff39b in nsPrintEngine::Destroy (this=0x7fffd43d43a0)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintEngine.cpp:284
#7  0x00007ffff61dcaee in DocumentViewerImpl::OnDonePrinting (
---Type <return> to continue, or q <return> to quit---
    this=0x7fffd1318980)
    at /tmp/buildd/iceweasel-9.0.1/layout/base/nsDocumentViewer.cpp:4268
#8  0x00007ffff65ff148 in nsPrintCompletionEvent::Run (this=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintEngine.cpp:3361
#9  0x00007ffff69f54b8 in nsThread::ProcessNextEvent (this=0x7ffff4a14110,
    mayWait=0, result=0x7fffffff919c)
    at /tmp/buildd/iceweasel-9.0.1/xpcom/threads/nsThread.cpp:631
#10 0x00007ffff69ca6c2 in NS_ProcessNextEvent_P (thread=<optimized out>,
    mayWait=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/build-xulrunner/xpcom/build/nsThreadUtils.cpp:245
#11 0x00007ffff69702dc in mozilla::ipc::MessagePump::Run (this=0x7ffff7dfa700,
    aDelegate=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/glue/MessagePump.cpp:110
#12 0x00007ffff6a1076b in RunHandler (this=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/chromium/src/base/message_loop.cc:201
#13 MessageLoop::Run (this=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/chromium/src/base/message_loop.cc:175
#14 0x00007ffff68edf04 in nsBaseAppShell::Run (this=0x7ffff2d254a0)
    at /tmp/buildd/iceweasel-9.0.1/widget/src/xpwidgets/nsBaseAppShell.cpp:189
#15 0x00007ffff67c3e0e in nsAppStartup::Run (this=0x7ffff2d5b970)
    at /tmp/buildd/iceweasel-9.0.1/toolkit/components/startup/nsAppStartup.cpp:228
---Type <return> to continue, or q <return> to quit---
#16 0x00007ffff6099248 in XRE_main (argc=<optimized out>,
    argv=<optimized out>, aAppData=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/toolkit/xre/nsAppRunner.cpp:3557
#17 0x00000000004022e8 in ?? ()
#18 0x000000300161eead in __libc_start_main (main=<optimized out>,
    argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe378)
    at libc-start.c:228
#19 0x000000000040239d in _start ()
(gdb) bt full
#0  0x000000303582e5b4 in ppdFindChoice ()
   from /usr/lib/x86_64-linux-gnu/libcups.so.2
No symbol table info available.
#1  0x00007fffbd7f0472 in create_page_setup (ppd_file=0x7ffff7df6760, size=0x0)
    at /tmp/buildd/gtk+2.0-2.24.9/modules/printbackends/cups/gtkprintbackendcups.c:4543
        display_name = 0x0
        page_setup = <optimized out>
        paper_size = <optimized out>
        option = <optimized out>
        choice = <optimized out>
#2  0x00007fffbd7f2c77 in gtk_print_backend_cups_print_stream (
    print_backend=0x7fffd50b7520, job=0x7fffdeaa3d70, data_io=0x7fffdfe1ed80,
    callback=0x7ffff68e2552 <print_callback(GtkPrintJob*, gpointer, GError*)>,
    user_data=0x7fffd2eb8100,
    dnotify=0x7ffff68e22b9 <ns_release_macro(gpointer)>)
    at /tmp/buildd/gtk+2.0-2.24.9/modules/printbackends/cups/gtkprintbackendcups.c:551
        cups_printer = 0x7fffe08c8940
        ps = <optimized out>
        options_data = <optimized out>
        request = <optimized out>
        settings = 0x7fffe0dc0900
---Type <return> to continue, or q <return> to quit---
        options = <optimized out>
        page_setup = <optimized out>
        title = <optimized out>
        printer_absolute_uri = "\320\374,\v0\000\000\000\200v\344\310\377\177\000\000%%\000\000atalog\n   /Pages o \000\260\f`\341\377\177\000\000%EOF\n8\nef\n/Info  `h\341\377\177\000\000\276^@\000\000\000\000\000@\320\354\367\377\177\000\000\220\067Z\322\377\177\000\000\240\214\377\377\377\177\000\000\001\000\000\000\000\000\000\000\234\221\377\377\377\177", '\000' <repeats 18 times>, "Ќ\377\377\377\177\000\000 \217\377\377\377\177\000\000\300\215\377\377\377\177\000\000@\025-\v0\000\000\000\060\216\377\377\377\177\000\000\n", '\000' <repeats 15 times>, " \217\377\377\377\177\000\000\342\263f\001\060\000\000\000\001\200\255\373\377\177\000\000 \217\377\377\377\177\000\000 \217\377\377\377\177\000\000 \217\377\377\377\177\000\000 \217\377\377\377\177\000\000*\217\377\377\377\177\000\000*\217\377\377\377\177\000\000\224\216\000\000\060\000\000\000*\217\377\377\377\177\000\000\240\215\377\377\377\177\000\000\000\000\000\000\000\000\000\000\240\215\377\377\377\177\000\000 at Q\325\367\377\177\000\000"...
#3  0x00007ffff68e2a17 in nsDeviceContextSpecGTK::EndDocument (
    this=0x7fffd4ade000)
    at /tmp/buildd/iceweasel-9.0.1/widget/src/gtk2/nsDeviceContextSpecG.cpp:624
No locals.
#4  0x00007ffff61ace37 in nsDeviceContext::EndDocument (this=0x7fffd25a35b0)
    at /tmp/buildd/iceweasel-9.0.1/gfx/src/nsDeviceContext.cpp:609
        rv = 0
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff6604693 in nsPrintData::~nsPrintData (this=0x7fffda39a180,
    __in_chrg=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintData.cpp:117
        isCancelled = 0
        rv = 0
#6  0x00007ffff65ff39b in nsPrintEngine::Destroy (this=0x7fffd43d43a0)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintEngine.cpp:284
No locals.
#7  0x00007ffff61dcaee in DocumentViewerImpl::OnDonePrinting (
    this=0x7fffd1318980)
    at /tmp/buildd/iceweasel-9.0.1/layout/base/nsDocumentViewer.cpp:4268
No locals.
#8  0x00007ffff65ff148 in nsPrintCompletionEvent::Run (this=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/layout/printing/nsPrintEngine.cpp:3361
No locals.
#9  0x00007ffff69f54b8 in nsThread::ProcessNextEvent (this=0x7ffff4a14110,
    mayWait=0, result=0x7fffffff919c)
    at /tmp/buildd/iceweasel-9.0.1/xpcom/threads/nsThread.cpp:631
        event = {<nsCOMPtr_base> = {
            mRawPtr = 0x7fffcfbb8360}, <No data fields>}
        notifyGlobalObserver = 1
        obs = {<nsCOMPtr_base> = {mRawPtr = 0x7ffff2d254a8}, <No data fields>}
        canary = {static sOutputFD = 0}
---Type <return> to continue, or q <return> to quit---
        rv = 0
#10 0x00007ffff69ca6c2 in NS_ProcessNextEvent_P (thread=<optimized out>,
    mayWait=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/build-xulrunner/xpcom/build/nsThreadUtils.cpp:245
        val = 1
#11 0x00007ffff69702dc in mozilla::ipc::MessagePump::Run (this=0x7ffff7dfa700,
    aDelegate=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/glue/MessagePump.cpp:110
        did_work = <optimized out>
#12 0x00007ffff6a1076b in RunHandler (this=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/chromium/src/base/message_loop.cc:201
No locals.
#13 MessageLoop::Run (this=0x7ffff7dd33d0)
    at /tmp/buildd/iceweasel-9.0.1/ipc/chromium/src/base/message_loop.cc:175
        save_state = {<MessageLoop::RunState> = {run_depth = 1,
            quit_received = false}, loop_ = 0x7ffff7dd33d0,
          previous_state_ = 0x0}
#14 0x00007ffff68edf04 in nsBaseAppShell::Run (this=0x7ffff2d254a0)
    at /tmp/buildd/iceweasel-9.0.1/widget/src/xpwidgets/nsBaseAppShell.cpp:189
        thread = 0x7ffff4a14110
#15 0x00007ffff67c3e0e in nsAppStartup::Run (this=0x7ffff2d5b970)
    at /tmp/buildd/iceweasel-9.0.1/toolkit/components/startup/nsAppStartup.cpp:2---Type <return> to continue, or q <return> to quit---
28
        rv = <optimized out>
#16 0x00007ffff6099248 in XRE_main (argc=<optimized out>,
    argv=<optimized out>, aAppData=<optimized out>)
    at /tmp/buildd/iceweasel-9.0.1/toolkit/xre/nsAppRunner.cpp:3557
        appStartup = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff2d5b970}, <No data fields>}
        shuttingDown = 0
        workingDir = {<nsCOMPtr_base> = {
            mRawPtr = 0x7fffef3cf1c0}, <No data fields>}
        remoteService = {<nsCOMPtr_base> = {
            mRawPtr = 0x7fffec4790b0}, <No data fields>}
        event_tracing_running = false
        cmdLine = {<nsCOMPtr_base> = {
            mRawPtr = 0x7fffee23e680}, <No data fields>}
        xpcom = {mServiceManager = 0x7ffff7dbc8c8, static gNativeAppSupport =
    0x7ffff7d9a710}
        desktopStartupIDEnv = <optimized out>
        desktopStartupID = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x7fffffff9438 "", mLength = 0,
                mFlags = 65553}, <No data fields>}, mFixedCapacity = 63,
            mFixedBuf = 0x7fffffff9438 ""},
          mStorage = "\000\225\000\000\060\000\000\000\260\225\377\377\377\177\0---Type <return> to continue, or q <return> to quit---
00\000\000\000\000\000\000\000\000\000\070\000\000\000\377\177\000\000\000\061\274\002\000\000\000\000\204 `\001\060\000\000\000\000\226\377\377\377\177\000\000`<`\001\060\000\000"}
        display_name = <optimized out>
        profD = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d4f200}, <No data fields>}
        appInitiatedRestart = 0
        desktopStartupIDPtr = <optimized out>
        display = 0x7ffff7db3190
        _g_set_application_name = <optimized out>
        persistent = 1
        osABI = {<nsCString> = {<nsACString_internal> = {
              mData = 0x7ffff6ac0bb1 "Linux_x86_64-gcc3", mLength = 17,
              mFlags = 1}, <No data fields>}, <No data fields>}
        cachesOK = <optimized out>
        _gtk_window_set_auto_startup_notification = <optimized out>
        nativeApp = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d9a710}, <No data fields>}
        startOffline = 0
        profileName = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x7ffff7df15e8 "default", mLength = 7,
                mFlags = 65541}, <No data fields>}, mFixedCapacity = 63,
            mFixedBuf = 0x7fffffff9498 ""},
---Type <return> to continue, or q <return> to quit---
          mStorage = "\000\070\325\367\377\177\000\000\340\024\375\367\377\177\000\000\371\f\260\365\377\177\000\000\000\ba\001\060\000\000\000\060<\256\365\377\177\000\000\000\000\000\000\001\000\000\000\205\001\000\000\001\000\000\000`\225\377\377\377\177\000"}
        fFlagFile = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d4efc0}, <No data fields>}
        xremotearg = <optimized out>
        updRoot = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d4e480}, <No data fields>}
        flagFile = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d4efc0}, <No data fields>}
        disableRemote = false
        canRun = 1
        profileLock = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7df8e20}, <No data fields>}
        profLD = {<nsCOMPtr_base> = {
            mRawPtr = 0x7ffff7d4f2c0}, <No data fields>}
        version = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {
                mData = 0x7fffffff94f8 "9.0.1_20111222080735/20111222080735",
                mLength = 35, mFlags = 65553}, <No data fields>},
            mFixedCapacity = 63,
            mFixedBuf = 0x7fffffff94f8 "9.0.1_20111222080735/20111222080735"},
          mStorage = "9.0.1_20111222080735/20111222080735\000\377\177\000\000\00---Type <return> to continue, or q <return> to quit---
1", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000"}
        versionOK = -158052978
        rv = 0
        override = 0x0
        appData = {<nsXREAppData> = {size = 112, directory = 0x7ffff7d4e480,
            vendor = 0x7ffff7d690c8 "Mozilla",
            name = 0x7ffff7d1f150 "Iceweasel",
            version = 0x7ffff7d690d0 "9.0.1",
            buildID = 0x7ffff7d1f160 "20111222080735",
            ID = 0x7ffff7d47970 "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
            copyright = 0x0, flags = 6, xreDirectory = 0x7ffff7d4e540,
            minVersion = 0x7ffff7d690d8 "9.0.1",
            maxVersion = 0x7ffff7d690e0 "9.0.1",
            crashReporterURL = 0x7ffff7d35580 "https://crash-reports.mozilla.com/submit?id=ec8030f7-c20a-464f-9b0e-13a3a9e97384&version=9.0.1&buildid=20111222080735", profile = 0x7ffff7d1f170 "mozilla/firefox"}, <No data fields>}
        ar = <optimized out>
        home = <optimized out>
        gtkModules = <optimized out>
        dirProvider =
    {<nsIDirectoryServiceProvider2> = {<nsIDirectoryServiceProvider> = {<nsISupports> = {
                _vptr.nsISupports = 0x7ffff72e52c0}, <No data fields>}, <No data fields>---Type <return> to continue, or q <return> to quit---
}, <nsIProfileStartup> = {<nsISupports> = {
              _vptr.nsISupports = 0x7ffff72e5308}, <No data fields>},
          mAppProvider = {<nsCOMPtr_base> = {
              mRawPtr = 0x0}, <No data fields>}, mGREDir = {<nsCOMPtr_base> = {
              mRawPtr = 0x7ffff7d4e540}, <No data fields>},
          mXULAppDir = {<nsCOMPtr_base> = {
              mRawPtr = 0x7ffff7d4e480}, <No data fields>},
          mProfileDir = {<nsCOMPtr_base> = {
              mRawPtr = 0x7ffff7d4f200}, <No data fields>},
          mProfileLocalDir = {<nsCOMPtr_base> = {
              mRawPtr = 0x7ffff7d4f2c0}, <No data fields>},
          mProfileNotified = 1 '\001',
          mAppBundleDirectories = {<nsCOMArray_base> = {mArray = {
                mImpl = 0x0}}, <No data fields>},
          mExtensionDirectories = {<nsCOMArray_base> = {mArray = {
                mImpl = 0x7fffef70d2e0}}, <No data fields>},
          mThemeDirectories = {<nsCOMArray_base> = {mArray = {
                mImpl = 0x7fffef7a92e0}}, <No data fields>}}
#17 0x00000000004022e8 in ?? ()
No symbol table info available.
#18 0x000000300161eead in __libc_start_main (main=<optimized out>,
    argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe378)
---Type <return> to continue, or q <return> to quit---
    at libc-start.c:228
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 3953748349165009216,
                4203380, 140737488348032, 0, 0, -3953748348201830080,
                3944744182900619584}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x300000ddc7, 0x0}, data = {prev = 0x0, cleanup = 0x0,
              canceltype = 56775}}}
        not_first_call = <optimized out>
#19 0x000000000040239d in _start ()
No symbol table info available.


-- Package-specific info:


-- Addons package information

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-rc2+ (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils         4.2.1
ii  fontconfig          2.8.0-3.1
ii  libc6               2.13-26
ii  libgdk-pixbuf2.0-0  2.24.1-1
ii  libglib2.0-0        2.30.2-6
ii  libgtk2.0-0         2.24.9-1
ii  libnspr4-0d         4.8.9-1
ii  libstdc++6          4.6.2-12
ii  procps              1:3.3.2-3
ii  xulrunner-9.0       9.0.1-1

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-2    1.10+dfsg~beta1-2
ii  mozplugger          <none>
ii  ttf-lyx             2.0.2-1
ii  ttf-mathematica4.1  <none>
ii  xfonts-mathml       4

Versions of packages xulrunner-9.0 depends on:
ii  libasound2                1.0.24.1-4
ii  libatk1.0-0               2.2.0-2
ii  libbz2-1.0                1.0.6-1
ii  libc6                     2.13-26
ii  libcairo2                 1.10.2-6.2
ii  libdbus-1-3               1.4.16-1
ii  libevent-2.0-5            2.0.16-stable-1
ii  libfontconfig1            2.8.0-3.1
ii  libfreetype6              2.4.8-1
ii  libgcc1                   1:4.7-20111217-2
ii  libgdk-pixbuf2.0-0        2.24.1-1
ii  libglib2.0-0              2.30.2-6
ii  libgtk2.0-0               2.24.9-1
ii  libhunspell-1.3-0         1.3.2-4
ii  libjpeg8                  8d-1
ii  libmozjs9d                9.0.1-1
ii  libnotify4                0.7.4-1
ii  libnspr4-0d               4.8.9-1
ii  libnss3-1d                3.13.1.with.ckbi.1.88-1
ii  libpango1.0-0             1.29.4-2
ii  libpixman-1-0             0.24.2-1
ii  libreadline6              6.2-8
ii  libsqlite3-0              3.7.9-3
ii  libstartup-notification0  0.12-1
ii  libstdc++6                4.6.2-12
ii  libvpx0                   0.9.7.p1-2
ii  libx11-6                  2:1.4.4-4
ii  libxext6                  2:1.3.0-3
ii  libxrender1               1:0.9.6-2
ii  libxt6                    1:1.1.1-2
ii  zlib1g                    1:1.2.3.4.dfsg-3

Versions of packages xulrunner-9.0 suggests:
ii  libcanberra0      0.28-3
ii  libdbus-glib-1-2  0.98-1
ii  libgnomeui-0      2.24.5-2

-- no debconf information





More information about the pkg-mozilla-maintainers mailing list