pkgsrc-Bugs archive

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

Re: pkg/51229: nodejs SIGSEGV on NetBSD/evbarm



On Thu, Jun 09, 2016 at 07:25:37AM -0400, Christos Zoulas wrote: 
> On Jun 9,  7:45am, netbsd@benjaminlorenz.email (netbsd@benjaminlorenz.email) wrote:
> -- Subject: pkg/51229: nodejs SIGSEGV on NetBSD/evbarm
>
> DO we get the right cpp define for the processor?
>
> https://github.com/nodejs/node/blob/master/deps/v8/src/base/atomicops_internals_arm_gcc.h

lang/nodejs is missing the fix from lang/nodejs4.

Joerg


nodejs4 currently also crashes at startup:

(gdb) start

Temporary breakpoint 1 at 0x5a34dc: file ../src/node_main.cc, line 44.

Starting program: /usr/pkg/src/lang/nodejs4/work/node-v4.4.5/out/Release/node 

[Switching to LWP 1]


Temporary breakpoint 1, main (argc=1, argv=0x7fffcccc) at ../src/node_main.cc:44

44        setvbuf(stderr, NULL, _IOLBF, 1024);

(gdb) l

39        return node::Start(argc, argv);

40      }

41      #else

42      // UNIX

43      int main(int argc, char *argv[]) {

44        setvbuf(stderr, NULL, _IOLBF, 1024);

45        return node::Start(argc, argv);

46      }

47      #endif

(gdb) n


Program received signal SIGSEGV, Segmentation fault.

0xffff0fc0 in ?? ()

(gdb) bt

#0  0xffff0fc0 in ?? ()

#1  0x0087ddd8 in v8::base::(anonymous namespace)::LinuxKernelCmpxchg (

    old_value=0, new_value=1, ptr=0x12cb500 <v8::base::entropy_mutex>)

    at ../deps/v8/src/base/atomicops_internals_arm_gcc.h:186

#2  0x0087dec4 in v8::base::Acquire_CompareAndSwap (

    ptr=0x12cb500 <v8::base::entropy_mutex>, old_value=0, new_value=1)

    at ../deps/v8/src/base/atomicops_internals_arm_gcc.h:243

#3  0x00e6da3c in v8::base::CallOnceImpl (

    _once_=0x12cb500 <v8::base::entropy_mutex>, init_func=

    0x862da4 <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=0x12cb504 <v8::base::entropy_mutex+4>)

    at ../deps/v8/src/base/once.cc:33




Home | Main Index | Thread Index | Old Index