pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51229: nodejs SIGSEGV on NetBSD/evbarm



>Number:         51229
>Category:       pkg
>Synopsis:       nodejs SIGSEGV on NetBSD/evbarm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 09 07:45:00 +0000 2016
>Originator:     Benjamin Lorenz
>Release:        NetBSD 7.0.1
>Organization:
	
>Environment:
	
	
System: NetBSD rpi.pocketservices.de 7.0.1 NetBSD 7.0.1 (RPI) #1: Sat Jun 4 10:37:02 CEST 2016 root%rpi.pocketservices.de@localhost:/usr/obj/sys/arch/evbarm/compile/RPI evbarm
Architecture: earm
Machine: evbarm
>Description:

building lang/nodejs (6.2.0) --without-snapshot and with debugging symbols
(-g -O0). See backtrace of crash below once starting the binary.

(gdb) run
Starting program: /usr/pkg/src/lang/nodejs/work/node-v6.2.0/out/Release/node 

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0xffff0fc0 in ?? ()
(gdb) bt
#0  0xffff0fc0 in ?? ()
#1  0x00b37478 in v8::base::(anonymous namespace)::LinuxKernelCmpxchg (old_value=0, new_value=1, 
    ptr=0x16f05c0 <v8::base::entropy_mutex>) at ../deps/v8/src/base/atomicops_internals_arm_gcc.h:187
#2  0x00b374e0 in v8::base::Acquire_CompareAndSwap (ptr=0x16f05c0 <v8::base::entropy_mutex>, old_value=0, 
    new_value=1) at ../deps/v8/src/base/atomicops_internals_arm_gcc.h:244
#3  0x011f838c in v8::base::CallOnceImpl (once=0x16f05c0 <v8::base::entropy_mutex>, init_func=
    0xb37220 <v8::base::LazyInstanceImpl<v8::base::Mutex, v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>, v8::base::DefaultConstructTrait<v8::base::Mutex>, v8::base::ThreadSafeInitOnceTrait, v8::base::LeakyInstanceTrait<v8::base::Mutex> >::InitInstance(v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>::StorageType*)>, 
    arg=0x16f05c4 <v8::base::entropy_mutex+4>) at ../deps/v8/src/base/once.cc:33
#4  0x00805ea8 in v8::base::CallOnce<void> (once=0x16f05c0 <v8::base::entropy_mutex>, 
    init_func=0xb37220 <v8::base::LazyInstanceImpl<v8::base::Mutex, v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>, v8::base::DefaultConstructTrait<v8::base::Mutex>, v8::base::ThreadSafeInitOnceTrait, v8::base::LeakyInstanceTrait<v8::base::Mutex> >::InitInstance(v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>::StorageType*)>, arg=0x16f05c4 <v8::base::entropy_mutex+4>) at ../deps/v8/src/base/once.h:95
#5  0x00805e20 in v8::base::ThreadSafeInitOnceTrait::Init<void (*)(void*), void*> (
    once=0x16f05c0 <v8::base::entropy_mutex>, 
    function=0xb37220 <v8::base::LazyInstanceImpl<v8::base::Mutex, v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>, v8::base::DefaultConstructTrait<v8::base::Mutex>, v8::base::ThreadSafeInitOnceTrait, v8::base::LeakyInstanceTrait<v8::base::Mutex> >::InitInstance(v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>::StorageType*)>, storage=0x16f05c4 <v8::base::entropy_mutex+4>) at ../deps/v8/src/base/lazy-instance.h:148
#6  0x00b37190 in v8::base::LazyInstanceImpl<v8::base::Mutex, v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>, v8::base::DefaultConstructTrait<v8::base::Mutex>, v8::base::ThreadSafeInitOnceTrait, v8::base::LeakyInstanceTrait<v8::base::Mutex> >::Init (this=0x16f05c0 <v8::base::entropy_mutex>) at ../deps/v8/src/base/lazy-instance.h:178
#7  0x00b37104 in v8::base::LazyInstanceImpl<v8::base::Mutex, v8::base::StaticallyAllocatedInstanceTrait<v8::base::Mutex>, v8::base::DefaultConstructTrait<v8::base::Mutex>, v8::base::ThreadSafeInitOnceTrait, v8::base::LeakyInstanceTrait<v8::base::Mutex> >::Pointer (this=0x16f05c0 <v8::base::entropy_mutex>) at ../deps/v8/src/base/lazy-instance.h:188
#8  0x011f9d1c in v8::base::RandomNumberGenerator::SetEntropySource (source=
    0x6c0928 <node::crypto::EntropySource(unsigned char*, unsigned long)>)
    at ../deps/v8/src/base/utils/random-number-generator.cc:25
#9  0x007cb368 in v8::V8::SetEntropySource (
    entropy_source=0x6c0928 <node::crypto::EntropySource(unsigned char*, unsigned long)>)
    at ../deps/v8/src/api.cc:5398
#10 0x00672bec in node::Start (argc=1, argv=0x7fffccdc) at ../src/node.cc:4458
#11 0x006a0f60 in main (argc=1, argv=0x7fffccdc) at ../src/node_main.cc:53
(gdb) 

	
>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index