On ബുധന് 25 ഒക്ടോബര് 2017 07:08 വൈകു, Pirate Praveen wrote:
> I can reach the segfaulting point faster by setting break point at
> thread creation
>
> b pthread_create.c:333
>
> after 8 c, I reach the segfault point.
>
>
>
hopefully more useful bt
(gdb) bt
#0 node::fs_req_wrap::~fs_req_wrap (this=,
__in_chrg=) at ../src/node_file.cc:334
#1 node::Open (args=...) at ../src/node_file.cc:1063
#2 0x3b905decccb8 in ?? ()
#3 0x7fff8fc7a418 in ?? ()
#4 0x7fff8fc7a468 in ?? ()
#5 0x0003 in ?? ()
#6 0x in ?? ()
(gdb) s
node::Open (args=...) at ../src/node_file.cc:1064
1064in ../src/node_file.cc
(gdb) bt
#0 node::Open (args=...) at ../src/node_file.cc:1064
#1 0x3b905decccb8 in ?? ()
#2 0x7fff8fc7a418 in ?? ()
#3 0x7fff8fc7a468 in ?? ()
#4 0x0003 in ?? ()
#5 0x in ?? ()
(gdb) s
v8::ReturnValue::Set (i=, this=)
at ../src/node_file.cc:1064
1064in ../src/node_file.cc
(gdb) s
v8::internal::Internals::IntToSmi (value=)
at ../src/node_file.cc:1064
1064in ../src/node_file.cc
(gdb) s
v8::internal::SmiTagging<8ul>::IntToSmi (value=)
at ../src/node_file.cc:1064
1064in ../src/node_file.cc
(gdb) s
v8::internal::IntToSmi<31> (value=)
at ../deps/v8/include/v8.h:7274
7274../deps/v8/include/v8.h: No such file or directory.
(gdb) s
node::Open (args=...) at ../src/node_file.cc:1063
1063../src/node_file.cc: No such file or directory.
(gdb) s
node::fs_req_wrap::~fs_req_wrap (this=0x7fff8fc79db0,
__in_chrg=) at ../src/node_file.cc:334
334 in ../src/node_file.cc
(gdb) s
uv_fs_req_cleanup (req=req@entry=0x7fff8fc79db0) at src/unix/fs.c:1351
1351src/unix/fs.c: No such file or directory.
(gdb) s
1357in src/unix/fs.c
(gdb) s
1363in src/unix/fs.c
(gdb) s
1360in src/unix/fs.c
(gdb) s
1361in src/unix/fs.c
(gdb) s
1363in src/unix/fs.c
(gdb) s
1366in src/unix/fs.c
(gdb) s
1367in src/unix/fs.c
(gdb)
uv__free (ptr=0x0) at src/uv-common.c:78
78 src/uv-common.c: No such file or directory.
(gdb)
84 in src/uv-common.c
(gdb)
__errno_location () at ../csu/errno-loc.c:26
26 ../csu/errno-loc.c: No such file or directory.
(gdb)
27 in ../csu/errno-loc.c
(gdb)
uv__free (ptr=0x0) at src/uv-common.c:85
85 src/uv-common.c: No such file or directory.
(gdb)
__GI___libc_free (mem=0x0) at malloc.c:2954
2954malloc.c: No such file or directory.
(gdb)
2955in malloc.c
(gdb)
2961in malloc.c
(gdb)
uv__free (ptr=0x0) at src/uv-common.c:86
86 src/uv-common.c: No such file or directory.
(gdb)
87 in src/uv-common.c
(gdb)
uv_fs_req_cleanup (req=req@entry=0x7fff8fc79db0) at src/unix/fs.c:1368
1368src/unix/fs.c: No such file or directory.
(gdb)
1369in src/unix/fs.c
(gdb)
node::Open (args=...) at ../src/node_file.cc:1055
1055../src/node_file.cc: No such file or directory.
(gdb)
node::BufferValue::~BufferValue (this=0x7fff8fc79f70,
__in_chrg=) at ../src/node_file.cc:1055
1055in ../src/node_file.cc
(gdb)
node::MaybeStackBuffer::~MaybeStackBuffer
(this=0x7fff8fc79f70,
__in_chrg=) at ../src/util.h:342
342 ../src/util.h: No such file or directory.
(gdb)
node::Open (args=...) at ../src/node_file.cc:1066
1066../src/node_file.cc: No such file or directory.
(gdb)
Thread 1 "node" received signal SIGSEGV, Segmentation fault.
0x3b905df9db8d in ?? ()
signature.asc
Description: OpenPGP digital signature