It looks like I have submitted another bug report for the same issue.
In my testing, the issue is the usage of newer gcc to compile
libmozjs; probably wrong flags are used for armhf. Compiling the
source with gcc 4.9 seems to fix this.

-Marian

On Thu, 15 Dec 2016 01:07:14 +0100 Alban Browaeys <pra...@yahoo.com> wrote:
> Package: libmozjs-24-0
> Version: 24.2.0-5
> Severity: important
>
> Dear Maintainer,
>
> gnome-shell ion armhf segfaults with
> Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
> js::jit::AutoFlushCache::update (this=0x0, 
> newStart=newStart@entry=2776581088, len=320) at 
> ./js/src/jit/arm/Assembler-arm.cpp:2745
> 2745    ./js/src/jit/arm/Assembler-arm.cpp: No such file or directory.
> (gdb) bt
> #0  js::jit::AutoFlushCache::update (this=0x0, 
> newStart=newStart@entry=2776581088, len=320) at 
> ./js/src/jit/arm/Assembler-arm.cpp:2745
> #1  0xb57486c8 in js::jit::AutoFlushCache::updateTop (p=p@entry=2776581088, 
> len=<optimized out>) at ./js/src/jit/Ion.cpp:2342
> #2  0xb57b21e6 in js::jit::Assembler::executableCopy 
> (this=this@entry=0xbeffa3c0, buffer=0xa57f43e0 "") at 
> ./js/src/jit/arm/Assembler-arm.cpp:600
> #3  0xb5745f2c in js::jit::IonCode::copyFrom (this=this@entry=0xa5944b78, 
> masm=...) at ./js/src/jit/Ion.cpp:437
> #4  0xb570717a in js::jit::Linker::newCode (this=this@entry=0xbeffa3b8, 
> cx=cx@entry=0x7f6abe50, comp=<optimized out>, 
> kind=kind@entry=JSC::OTHER_CODE) at ./js/src/jit/IonLinker.h:59
> #5  0xb574236c in js::jit::Linker::newCode (kind=JSC::OTHER_CODE, 
> cx=0x7f6abe50, this=0xbeffa3b8) at ./js/src/jit/IonLinker.h:76
> #6  js::jit::IonCompartment::generateStringConcatStub 
> (this=this@entry=0x7f8db098, cx=cx@entry=0x7f6abe50) at 
> ./js/src/jit/CodeGenerator.cpp:4060
> #7  0xb5748e64 in js::jit::IonCompartment::ensureIonStubsExist 
> (cx=0x7f6abe50, this=<optimized out>) at ./js/src/jit/Ion.cpp:324
> #8  js::jit::IonCompile (cx=cx@entry=0x7f6abe50, script=0xa5942f80, 
> baselineFrame=0xbeffbbe8, osrPc=0x0, constructing=constructing@entry=false, 
> executionMode=js::jit::SequentialExecution)
>     at ./js/src/jit/Ion.cpp:1385
> #9  0xb574a12a in js::jit::Compile 
> (executionMode=js::jit::SequentialExecution, constructing=false, osrPc=0x0, 
> osrFrame=0xb6ffece8 <__stack_chk_guard>, script=..., cx=0x7f6abe50) at 
> ./js/src/jit/Ion.cpp:1593
> #10 js::jit::CompileFunctionForBaseline (cx=cx@entry=0x7f6abe50, 
> script=script@entry=..., frame=frame@entry=0xbeffbbe8, 
> isConstructing=<optimized out>) at ./js/src/jit/Ion.cpp:1745
> #11 0xb570e8c2 in js::jit::EnsureCanEnterIon (stub=<optimized out>, 
> jitcodePtr=<synthetic pointer>, pc=<optimized out>, script=..., 
> frame=0xbeffbbe8, cx=0x7f6abe50) at ./js/src/jit/BaselineIC.cpp:712
> #12 js::jit::DoUseCountFallback (cx=0x7f6abe50, stub=<optimized out>, 
> frame=0xbeffbbe8, infoPtr=0xbeffbbac) at ./js/src/jit/BaselineIC.cpp:895
> #13 0xb129c3cc in ?? ()
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
>
>
>
> but buildd for amrhf and armel shows that make check failed on libmozjs-24 
> build -5
> https://buildd.debian.org/status/fetch.php?pkg=mozjs24&arch=armhf&ver=24.2.0-5&stamp=1481364213
> https://buildd.debian.org/status/fetch.php?pkg=mozjs24&arch=armel&ver=24.2.0-5&stamp=1481364086
> while all tests passed with -3.1
> https://buildd.debian.org/status/fetch.php?pkg=mozjs24&arch=armhf&ver=24.2.0-3.1&stamp=1468021753
> so there is an  issue that is already reproducible on buildd.
> but -5 on i386, arm64, mips64, mipsel, ppc64el passed all tests, amd64 is a 
> bin upload (no build logs).
> mips and s390x as a few failures both in -3.1 and -5.
>
> Alban
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
> (1, 'experimental-debug'), (1, 'experimental')
> Architecture: armhf (armv7l)
>
> Kernel: Linux 4.9.0-rc3-debug+ (SMP w/4 CPU cores; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages libmozjs-24-0 depends on:
> ii  libc6       2.24-8
> ii  libffi6     3.2.1-6
> ii  libgcc1     1:6.2.1-6
> ii  libnspr4    2:4.12-6
> ii  libstdc++6  6.2.1-6
>

Reply via email to