Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Segfault at startup on SLES11SP1 with PhantomJS 2.0 #13355

Closed
andreadecorte opened this issue Jun 23, 2015 · 1 comment
Closed

Segfault at startup on SLES11SP1 with PhantomJS 2.0 #13355

andreadecorte opened this issue Jun 23, 2015 · 1 comment
Labels

Comments

@andreadecorte
Copy link

Hello, I compiled PhantomJS 2.0 on a SLES11SP1 machine, after adding the missing deps. The build is successful, but at startup I got a segfault. I got the backtrace (compiled with debug symbols) and it seems to crash at initial memory allocation. I attach the trace and the ldd output, if it may help.
Actually there seems to be enough free memory on the machine, and there were some webkit issues about similar issues on x86-64 machines (see https://bugs.webkit.org/show_bug.cgi?id=42756), but fix should be already in the Qt bundled version. Any hints/suggestion on what may help?

% cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1

% ldd phantomjs
linux-vdso.so.1 => (0x00007fff67bff000)
libicudata.so.48 => /remote/users/adecorte/phantomJS/icu/lib/libicudata.so.48 (0x00007ff6cadcf000)
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ff6cab7b000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007ff6ca800000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007ff6ca5ce000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007ff6ca349000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007ff6ca125000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007ff6c9efd000)
libz.so.1 => /opt/python-2.6-64/lib/libz.so.1 (0x00007ff6cc206000)
libicui18n.so.48 => /remote/users/adecorte/phantomJS/icu/lib/libicui18n.so.48 (0x00007ff6c9b0d000)
libicuuc.so.48 => /remote/users/adecorte/phantomJS/icu/lib/libicuuc.so.48 (0x00007ff6c9793000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ff6c958f000)
librt.so.1 => /lib64/librt.so.1 (0x00007ff6c9386000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff6c9169000)
libstdc++.so.6 => /opt/gcc-4.3.2/lib64/libstdc++.so.6 (0x00007ff6c8e5d000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff6c8c07000)
libgcc_s.so.1 => /opt/gcc-4.3.2/lib64/libgcc_s.so.1 (0x00007ff6c89f0000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff6c8692000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff6cc13e000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff6c8468000)

Program received signal SIGSEGV, Segmentation fault.
0x0000000001779219 in llint_program_prologue ()
(gdb) bt
#0 0x0000000001779219 in llint_program_prologue ()
#1 0xfffffffff014fe70 in ?? ()
#2 0x0000000001958e4d in WTF::OSAllocator::commit (address=0x0, bytes=0, writable=, executable=false) at wtf/OSAllocatorPosix.cpp:163
#3 0x000000000170a8c3 in ~Locker (this=0x7ffff380c710, newEnd=0x7ffff0321038) at ../WTF/wtf/Locker.h:39
#4 JSC::JSStack::addToCommittedByteCount (this=0x7ffff380c710, newEnd=0x7ffff0321038) at interpreter/JSStack.cpp:127
#5 JSC::JSStack::growSlowCase (this=0x7ffff380c710, newEnd=0x7ffff0321038) at interpreter/JSStack.cpp:88
#6 0x00007ffff0321038 in ?? ()
#7 0x0000000000000000 in ?? ()

@stale stale bot added the stale label Dec 27, 2019
@stale
Copy link

stale bot commented Dec 30, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant