TooTallNate / node-time

"time.h" bindings for Node.js
MIT License
382 stars 84 forks source link

Segmentation fault libc.so.6 #62

Open morus12 opened 10 years ago

morus12 commented 10 years ago

Hi, one, max twice a day I have a segfault on production. We have two server configurations, both are affected. npm time version 0.11.0. Can't reproduce it.

CentOS release 6.4 (Final) ldd (GNU libc) 2.12 node v0.10.24 Debian GNU/Linux 6.0 ldd (Debian EGLIBC 2.11.3-4) 2.11.3 node v0.10.23

Program terminated with signal 11, Segmentation fault.
0  0x00007fa42b797d5f in __strlen_sse42 () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.x86_64 libgcc-4.4.7-3.el6.x86_64 libstdc++-4.4.7-3.el6.x86_64 libxml2-2.7.6-12.el6_4.1.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) backtrace
0  0x00007fa42b797d5f in __strlen_sse42 () from /lib64/libc.so.6
1  0x00000000005b6b8a in v8::String::NewSymbol(char const*, int) ()
2  0x00007fa42b26190e in Time::Mktime(v8::Arguments const&) () from /opt/livechat/rest-api/node_modules/time/build/Release/time.node
3  0x000014e366bec141 in ?? ()
TooTallNate commented 10 years ago

Consistent repro steps would be appreciated!