On Thu 2013-05-23 04:00:02 -0400, Carsten Schoenert wrote:

> To catch this failures Guido is want to setup up Sparc machine locally
> at home. But this will take some time.
>
> So if you are willing and be able to testing something inside a Debian
> build machine ... that would be of course helpful.
>
> So the last built on armel is also failing at the exact some point I
> think error is produced by jemalloc. 
>
> mozilla/memory/mozjemalloc/jemalloc.c
>
> First we/you can try to build Icedove without usage of jemalloc. To do
> so the configure option has changed to "--disable-jemalloc".
> That will Icedove use more RAM if the build is succesfull. Then we can
> try to investigate why jemalloc is broken (if I'm right). Anyway, the
> next step would need a debugger.

I have not changed the configure option yet; using the 17.0.5-2
packaging on ia64, i was able to replicate the segfault, and i also got
a backtrace from the run:

(sid_ia64-dchroot)dkg@merulo:~/src/icedove/icedove-17.0.5$ 
$(pwd)/mozilla/dist/bin/run-mozilla.sh $(pwd)/mozilla/dist/bin/xpcshell -h  
Segmentation fault
(sid_ia64-dchroot)dkg@merulo:~/src/icedove/icedove-17.0.5$ 
$(pwd)/mozilla/dist/bin/run-mozilla.sh -g $(pwd)/mozilla/dist/bin/xpcshell
MOZILLA_FIVE_HOME=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin
  
LD_LIBRARY_PATH=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin:/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin/plugins:/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin
DYLD_LIBRARY_PATH=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin:/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin
     LIBRARY_PATH=
       
SHLIB_PATH=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin:/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin
          
LIBPATH=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin:/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin
       ADDON_PATH=
      MOZ_PROGRAM=/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin/xpcshell
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
moz_debugger_args=
/usr/bin/gdb  --args 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin/xpcshell
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ia64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin/xpcshell...done.
(gdb) run -h
Starting program: 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/dist/bin/xpcshell -h
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/ia64-linux-gnu/libthread_db.so.1".
[New Thread 0x70000a0ef20 (LWP 11629)]
[New Thread 0x7000120ef20 (LWP 11630)]
[New Thread 0x70001e22f20 (LWP 11631)]
[New Thread 0x7000267af20 (LWP 11632)]

Program received signal SIGSEGV, Segmentation fault.
0x20000000062bf340 in js::gc::InitMemorySubsystem () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/src/gc/Memory.cpp:306
306             MOZ_CRASH();
(gdb) bt
#0  0x20000000062bf340 in js::gc::InitMemorySubsystem () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/src/gc/Memory.cpp:306
#1  0x2000000005ea53d0 in JS_Init (maxbytes=33554432) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/src/jsapi.cpp:1057
#2  0x2000000002e50d30 in XPCJSRuntime::XPCJSRuntime (this=0x70001521000, 
aXPConnect=0x7000014f870) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/XPCJSRuntime.cpp:2159
#3  0x2000000002e54140 in XPCJSRuntime::newXPCJSRuntime 
(aXPConnect=0x7000014f870) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/XPCJSRuntime.cpp:2240
#4  0x2000000002df3dc0 in nsXPConnect::nsXPConnect (this=0x7000014f870) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/nsXPConnect.cpp:84
#5  0x2000000002df3fa0 in nsXPConnect::GetXPConnect () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/nsXPConnect.cpp:144
#6  0x2000000001bcc3e0 in nsContentUtils::Init () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/content/base/src/nsContentUtils.cpp:344
#7  0x200000000159e190 in nsLayoutStatics::Initialize () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/layout/build/nsLayoutStatics.cpp:144
#8  0x200000000159ad30 in Initialize () at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/layout/build/nsLayoutModule.cpp:354
#9  0x2000000004548dd0 in nsComponentManagerImpl::KnownModule::Load 
(this=0x700001c4400) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:699
#10 0x2000000004549a80 in nsFactoryEntry::GetFactory (this=0x70000147fe0) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1701
#11 0x2000000004549d70 in CreateInstanceByContractID 
(aResult=0x60000fffffa1efe0, aIID=..., aDelegate=0x0, 
aContractID=0x40000000000471d0 "@mozilla.org/js/xpc/RuntimeService;1", 
this=0x70000164310)
    at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1027
#12 nsComponentManagerImpl::CreateInstanceByContractID (this=<optimized out>, 
aContractID=0x40000000000471d0 "@mozilla.org/js/xpc/RuntimeService;1", 
aDelegate=<optimized out>, aIID=..., aResult=0x60000fffffa1efe0)
    at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:980
#13 0x2000000004550d50 in GetServiceByContractID (result=0x60000fffffa1f010, 
aIID=..., aContractID=0x40000000000471d0 
"@mozilla.org/js/xpc/RuntimeService;1", this=0x70000164310)
    at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1433
#14 nsComponentManagerImpl::GetServiceByContractID (this=0x70000164310, 
aContractID=0x40000000000471d0 "@mozilla.org/js/xpc/RuntimeService;1", 
aIID=..., result=0x60000fffffa1f010)
    at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1345
#15 0x4000000000011cc0 in CallGetService (aContractID=0x40000000000471d0 
"@mozilla.org/js/xpc/RuntimeService;1", aIID=..., aResult=0x60000fffffa1f010)
    at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:37
#16 0x40000000000127f0 in nsGetServiceByContractID::operator() 
(this=0x60000fffffa1f020, aIID=..., aInstancePtr=0x60000fffffa1f010) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:246
#17 0x4000000000010480 in nsCOMPtr_base::assign_from_gs_contractid 
(this=0x60000fffffa1f078, gs=..., iid=...) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsCOMPtr.cpp:92
#18 0x4000000000006be0 in nsCOMPtr (gs=..., this=0x60000fffffa1f078) at 
../../../dist/include/nsCOMPtr.h:586
#19 main (argc=2, argv=0x60000fffffa1f3b8, envp=0x60000fffffa1f3d0) at 
/home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/shell/xpcshell.cpp:1782
(gdb) 


I've now added the following clause to debian/rules and kicked off a
rebuild:

ifeq ($(DEB_BUILD_ARCH),ia64)
        DEB_CONFIGURE_USER_FLAGS += --disable-jemalloc
endif


i will repeat the above test once that rebuild terminates (either with
success or failure) and report back.

hth,

        --dkg

Attachment: pgpkzC_jSXI4u.pgp
Description: PGP signature

Reply via email to