Hello Daniel,
hello Mike,

Am 23.05.2013 22:52, schrieb Daniel Kahn Gillmor:
> On Thu 2013-05-23 11:27:20 -0400, Daniel Kahn Gillmor wrote:
> 
>> i will repeat the above test once that rebuild terminates (either with
>> success or failure) and report back.
> 
> it looks like i'm running into the same problem, even with --disable-jemalloc:
> 
> (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 0x2000000009deef20 (LWP 16074)]
> [New Thread 0x200000000a5eef20 (LWP 16075)]
> [New Thread 0x200000000af4ef20 (LWP 16076)]
> [New Thread 0x200000000b7a6f20 (LWP 16077)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x20000000062bb340 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  0x20000000062bb340 in js::gc::InitMemorySubsystem () at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/src/gc/Memory.cpp:306
> #1  0x2000000005ea13d0 in JS_Init (maxbytes=33554432) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/src/jsapi.cpp:1057
> #2  0x2000000002e4f8f0 in XPCJSRuntime::XPCJSRuntime 
> (this=0x60000000002e8750, aXPConnect=0x60000000002e8670) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/XPCJSRuntime.cpp:2159
> #3  0x2000000002e52d00 in XPCJSRuntime::newXPCJSRuntime 
> (aXPConnect=0x60000000002e8670) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/XPCJSRuntime.cpp:2240
> #4  0x2000000002df2980 in nsXPConnect::nsXPConnect (this=0x60000000002e8670) 
> at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/nsXPConnect.cpp:84
> #5  0x2000000002df2b60 in nsXPConnect::GetXPConnect () at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/src/nsXPConnect.cpp:144
> #6  0x2000000001bcafa0 in nsContentUtils::Init () at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/content/base/src/nsContentUtils.cpp:344
> #7  0x200000000159cd50 in nsLayoutStatics::Initialize () at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/layout/build/nsLayoutStatics.cpp:144
> #8  0x20000000015998f0 in Initialize () at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/layout/build/nsLayoutModule.cpp:354
> #9  0x20000000045476d0 in nsComponentManagerImpl::KnownModule::Load 
> (this=0x60000000000747e0) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:699
> #10 0x2000000004548380 in nsFactoryEntry::GetFactory 
> (this=0x6000000000074850) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1701
> #11 0x2000000004548670 in CreateInstanceByContractID 
> (aResult=0x60000fffff8dafe0, aIID=..., aDelegate=0x0, 
> aContractID=0x400000000002feb0 "@mozilla.org/js/xpc/RuntimeService;1", 
> this=0x6000000000038370)
>     at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1027
> #12 nsComponentManagerImpl::CreateInstanceByContractID (this=<optimized out>, 
> aContractID=0x400000000002feb0 "@mozilla.org/js/xpc/RuntimeService;1", 
> aDelegate=<optimized out>, aIID=..., aResult=0x60000fffff8dafe0)
>     at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:980
> #13 0x200000000454f650 in GetServiceByContractID (result=0x60000fffff8db010, 
> aIID=..., aContractID=0x400000000002feb0 
> "@mozilla.org/js/xpc/RuntimeService;1", this=0x6000000000038370)
>     at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1433
> #14 nsComponentManagerImpl::GetServiceByContractID (this=0x6000000000038370, 
> aContractID=0x400000000002feb0 "@mozilla.org/js/xpc/RuntimeService;1", 
> aIID=..., result=0x60000fffff8db010)
>     at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/components/nsComponentManager.cpp:1345
> #15 0x4000000000010fc0 in CallGetService (aContractID=0x400000000002feb0 
> "@mozilla.org/js/xpc/RuntimeService;1", aIID=..., aResult=0x60000fffff8db010)
>     at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:37
> #16 0x4000000000011af0 in nsGetServiceByContractID::operator() 
> (this=0x60000fffff8db020, aIID=..., aInstancePtr=0x60000fffff8db010) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsComponentManagerUtils.cpp:246
> #17 0x400000000000f780 in nsCOMPtr_base::assign_from_gs_contractid 
> (this=0x60000fffff8db078, gs=..., iid=...) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/xpcom/glue/nsCOMPtr.cpp:92
> #18 0x4000000000005ee0 in nsCOMPtr (gs=..., this=0x60000fffff8db078) at 
> ../../../dist/include/nsCOMPtr.h:586
> #19 main (argc=2, argv=0x60000fffff8db3b8, envp=0x60000fffff8db3d0) at 
> /home/dkg/src/icedove/icedove-17.0.5/mozilla/js/xpconnect/shell/xpcshell.cpp:1782
> (gdb) 

that's said. But the segfault happen exactly at the same point like
Icedove was configured to use jemalloc, so the jemalloc part is probably
unblameable- :)

Right now I don't have a clue there to look. Maybe Mike has some
experience with this problem since Iceweasel trigger the same issues for
sparc and armhf on 17.0.6esr-1.

@Mike,
the current build error on Iceweasel 17.0.6esr-1 for armel, ia64 and
mips should be fixed by adding support for Phyton-virtualenv
http://anonscm.debian.org/gitweb/?p=pkg-mozilla/icedove.git;a=blob_plain;f=debian/patches/debian-hacks/virtualenv-changing-the-path-to-virtualenv.py.patch;hb=10647cf132d59d70eb005c057629e017cb6cc12b

After that mips should be work and ia64 will stop also at the segfault
as Daniel reported for Icedove.
A fix for mipsel I appended in message #15
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708331#15

After that the build of Icedove and Iceweasel will stopping for armel,
ia64, mipsel and sparc with the segfault while zipping the files.

It looks likes there is a problem in xpshell. If you have something in
mind how to fix this problems, that would be nice. :) Thanks!

-- 
Regards
Carsten


-- 
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