Bug#642762: xulrunner-6.0: console flooded with unaligned access messages on ia64 (IA-64/IPF/Itanium) platform

Émeric Maschino emeric.maschino at gmail.com
Sat Sep 24 22:07:28 UTC 2011


Package: xulrunner-6.0
Version: 6.0.2-1
Severity: normal

As Iceweasel 6.0 (more precisely the JS engine as I understand it
correctly) is currently being (actively?) debugged on ia64 (and
probably other platforms too), I think it may be useful to report the
various unaligned access messages reported on the console. It could
help fixing various issues hard to reproduce (e.g. X display fonts
corruption, Iceweasel bitmap buttons corruption) and also improve
overall performances on ia64 as unaligned accesses have a cost.

So, running Iceweasel 6.0.2-1 currently in Debian "Wheezy" Testing,
and letting it run without doing anything, the console is flooded with
unaligned access messages like:
[ 6638.775640] ia64_handle_unaligned: 36911 callbacks suppressed
[ 6638.775648] firefox-bin(4081): unaligned access to
0x00000700038103d4, ip=0x0000070002a3b9d1
[ 6638.775655] firefox-bin(4081): unaligned access to
0x00000700039492f4, ip=0x0000070002a3bb31
[ 6638.775661] firefox-bin(4081): unaligned access to
0x000007000391331c, ip=0x0000070002a3bb61
[ 6638.775667] firefox-bin(4081): unaligned access to
0x000007000390291c, ip=0x0000070002a3bbc1
[ 6638.775673] firefox-bin(4081): unaligned access to
0x0000070003949304, ip=0x0000070002a3bcb1

Running prctl --unaligned=signal iceweasel -g to catch them gives a
first hit in NS_TableDrivenQI (see attached gdb.txt).

Hope this helps,

     Émeric


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: ia64

Kernel: Linux 2.6.38-2-mckinley (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xulrunner-6.0 depends on:
ii  libasound2                1.0.24.1-4
ii  libatk1.0-0               2.0.1-2
ii  libbz2-1.0                1.0.5-7
ii  libc6.1                   2.13-21
ii  libcairo2                 1.10.2-6.1
ii  libdbus-1-3               1.4.14-1
ii  libevent-1.4-2            1.4.14b-stable-1
ii  libfontconfig1            2.8.0-3
ii  libfreetype6              2.4.6-2
ii  libgcc1                   1:4.6.1-4
ii  libgdk-pixbuf2.0-0        2.24.0-1
ii  libglib2.0-0              2.28.6-1
ii  libgtk2.0-0               2.24.4-3
ii  libhunspell-1.2-0         1.2.14-4
ii  libjpeg8                  8c-2
ii  libmozjs6d                6.0.2-1
ii  libnspr4-0d               4.8.9-1
ii  libnss3-1d                3.12.11-3
ii  libpango1.0-0             1.28.4-3
ii  libpixman-1-0             0.22.2-1
ii  libreadline6              6.2-4
ii  libsqlite3-0              3.7.7-2
ii  libstartup-notification0  0.12-1
ii  libstdc++6                4.6.1-4
ii  libunwind7                0.99-0.3
ii  libvpx0                   0.9.7.p1-1
ii  libx11-6                  2:1.4.4-1
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

xulrunner-6.0 recommends no packages.

Versions of packages xulrunner-6.0 suggests:
ii  libcanberra0      0.28-1
ii  libdbus-glib-1-2  0.94-4
ii  libgconf2-4       2.32.4-1
ii  libgnomeui-0      2.24.5-2
ii  libgnomevfs2-0    1:2.24.4-1
ii  libnotify4        0.7.4-1

-- no debconf information
-------------- next part --------------
Starting program: /usr/lib/iceweasel/firefox-bin 
[Thread debugging using libthread_db enabled]
[New Thread 0x700088c71e0 (LWP 4065)]
[New Thread 0x700091331e0 (LWP 4066)]

Program received signal SIGBUS, Bus error.
0x00000700033b3130 in NS_TableDrivenQI (aThis=0x70007174f40, entries=0x70004008fb8, aIID=..., aInstancePtr=0x70007168c58) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/build-xulrunner/xpcom/build/nsISupportsImpl.cpp:44
44	/build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/build-xulrunner/xpcom/build/nsISupportsImpl.cpp: Aucun fichier ou dossier de ce type.
	in /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/build-xulrunner/xpcom/build/nsISupportsImpl.cpp
#0  0x00000700033b3130 in NS_TableDrivenQI (aThis=0x70007174f40, entries=0x70004008fb8, aIID=..., aInstancePtr=0x70007168c58) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/build-xulrunner/xpcom/build/nsISupportsImpl.cpp:44
No locals.
#1  0x00000700033f5a70 in nsSupportsArray::QueryInterface (this=0x70007174f40, aIID=..., aInstancePtr=0x70007168c58) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/xpcom/ds/nsSupportsArray.cpp:219
        rv = 2147500037
        table = {{iid = 0x7000390ab74, offset = 0}, {iid = 0x7000399b7d0, offset = 0}, {iid = 0x700038112ac, offset = 0}, {iid = 0x7000380c3b4, offset = 0}, {iid = 0x0, offset = 0}}
#2  0x00000700033f7900 in nsSupportsArray::Create (aOuter=0x0, aIID=..., aResult=0x70007168c58) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/xpcom/ds/nsSupportsArray.cpp:216
        it = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
#3  0x0000070003411510 in nsDirectoryService::RealInit () at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/xpcom/io/nsDirectoryService.cpp:301
        rv = <optimized out>
        self = {mRawPtr = 0x70007168bf0}
        defaultProvider = <optimized out>
#4  0x00000700033c4fb0 in NS_InitXPCOM2_P (result=0x60000fffffff62f8, binDirectory=0x70000138340, appFileLocationProvider=0x60000fffffff64b8) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/xpcom/build/nsXPComInit.cpp:426
        rv = 0
        value = <optimized out>
        xpcomLib = {<nsCOMPtr_base> = {mRawPtr = 0x7000380d334}, <No data fields>}
#5  0x00000700011cdbf0 in ScopedXPCOMStartup::Initialize (this=0x60000fffffff62f8) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/toolkit/xre/nsAppRunner.cpp:1138
        rv = <optimized out>
#6  0x00000700011d2b50 in XRE_main (argc=1, argv=<optimized out>, aAppData=0x700001641e0) at /build/buildd-iceweasel_6.0.2-1-ia64-HBKkq9/iceweasel-6.0.2/toolkit/xre/nsAppRunner.cpp:3439
        xpcom = {mServiceManager = 0x0, static gNativeAppSupport = 0x0}
        desktopStartupIDEnv = <optimized out>
        flagFile = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        updRoot = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        persistent = 34
        profLD = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        cachesOK = 1
        desktopStartupIDPtr = <optimized out>
        nativeApp = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        startOffline = 0
        profileName = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x0, mLength = 0, mFlags = 0}, <No data fields>}, mFixedCapacity = 0, mFixedBuf = 0x0}, mStorage = '\000' <repeats 63 times>}
        versionOK = 1
        appInitiatedRestart = 0
        desktopStartupID = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x0, mLength = 0, mFlags = 0}, <No data fields>}, mFixedCapacity = 0, mFixedBuf = 0x0}, mStorage = '\000' <repeats 63 times>}
        display_name = <optimized out>
        xremotearg = <optimized out>
        _g_set_application_name = <optimized out>
        canRun = 1
        profileLock = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        profD = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        version = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x0, mLength = 0, mFlags = 0}, <No data fields>}, mFixedCapacity = 0, mFixedBuf = 0x0}, mStorage = '\000' <repeats 63 times>}
        display = 0x700001d0200
        _gtk_window_set_auto_startup_notification = <optimized out>
        osABI = {<nsCString> = {<nsACString_internal> = {mData = 0x0, mLength = 0, mFlags = 0}, <No data fields>}, <No data fields>}
        fFlagFile = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        rv = 0
        override = 0x100000001 <Address 0x100000001 out of bounds>
        appData = {<nsXREAppData> = {size = 0, directory = 0x0, vendor = 0x0, name = 0x0, version = 0x0, buildID = 0x0, ID = 0x0, copyright = 0x0, flags = 0, xreDirectory = 0x0, minVersion = 0x0, maxVersion = 0x0, crashReporterURL = 0x0, profile = 0x0}, <No data fields>}
        i = <optimized out>
        ar = <optimized out>
        home = <optimized out>
        gtkModules = <optimized out>
        dirProvider = {<nsIDirectoryServiceProvider2> = {<nsIDirectoryServiceProvider> = {<nsISupports> = {_vptr.nsISupports = 0x0}, <No data fields>}, <No data fields>}, <nsIProfileStartup> = {<nsISupports> = {_vptr.nsISupports = 0x0}, <No data fields>}, mAppProvider = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}, mGREDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}, mXULAppDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}, mProfileDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}, mProfileLocalDir = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}, mProfileNotified = 0 '\000', mAppBundleDirectories = {<nsCOMArray_base> = {mArray = {mImpl = 0x0}}, <No data fields>}, mExtensionDirectories = {<nsCOMArray_base> = {mArray = {mImpl = 0x0}}, <No data fields>}, mThemeDirectories = {<nsCOMArray_base> = {mArray = {mImpl = 0x0}}, <No data fields>}}
#7  0x4000000000002ca0 in ?? ()
No symbol table info available.
#8  0x20000000002ec730 in __libc_start_main () from /lib/ia64-linux-gnu/libc.so.6.1
No symbol table info available.
#9  0x4000000000003480 in ?? ()
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
A debugging session is active.

	Inferior 1 [process 4061] will be killed.

Quit anyway? (y or n) 


More information about the pkg-mozilla-maintainers mailing list