Severity: important
thanks

2017-11-07 18:49 GMT+01:00 Jérémy Lal <kapo...@melix.org>:

>
>
> 2017-10-25 16:04 GMT+02:00 Pirate Praveen <prav...@debian.org>:
>
>> 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=<optimized out>,
>>     __in_chrg=<optimized out>) at ../src/node_file.cc:334
>> #1  node::Open (args=...) at ../src/node_file.cc:1063
>> #2  0x00003b905decccb8 in ?? ()
>> #3  0x00007fff8fc7a418 in ?? ()
>> #4  0x00007fff8fc7a468 in ?? ()
>> #5  0x0000000000000003 in ?? ()
>> #6  0x0000000000000000 in ?? ()
>> (gdb) s
>> node::Open (args=...) at ../src/node_file.cc:1064
>> 1064    in ../src/node_file.cc
>> (gdb) bt
>> #0  node::Open (args=...) at ../src/node_file.cc:1064
>> #1  0x00003b905decccb8 in ?? ()
>> #2  0x00007fff8fc7a418 in ?? ()
>> #3  0x00007fff8fc7a468 in ?? ()
>> #4  0x0000000000000003 in ?? ()
>> #5  0x0000000000000000 in ?? ()
>> (gdb) s
>> v8::ReturnValue<v8::Value>::Set (i=<optimized out>, this=<optimized out>)
>>     at ../src/node_file.cc:1064
>> 1064    in ../src/node_file.cc
>> (gdb) s
>> v8::internal::Internals::IntToSmi (value=<optimized out>)
>>     at ../src/node_file.cc:1064
>> 1064    in ../src/node_file.cc
>> (gdb) s
>> v8::internal::SmiTagging<8ul>::IntToSmi (value=<optimized out>)
>>     at ../src/node_file.cc:1064
>> 1064    in ../src/node_file.cc
>> (gdb) s
>> v8::internal::IntToSmi<31> (value=<optimized out>)
>>     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=<optimized out>) 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
>> 1351    src/unix/fs.c: No such file or directory.
>> (gdb) s
>> 1357    in src/unix/fs.c
>> (gdb) s
>> 1363    in src/unix/fs.c
>> (gdb) s
>> 1360    in src/unix/fs.c
>> (gdb) s
>> 1361    in src/unix/fs.c
>> (gdb) s
>> 1363    in src/unix/fs.c
>> (gdb) s
>> 1366    in src/unix/fs.c
>> (gdb) s
>> 1367    in 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
>>
>
> This points a lot to a libuv bug.
>
> Now that ilbuv 1.11 is in unstable, can you update and post results here ?
>
> Jérémy
>
>
Using only debian packages (and no npm-installed module) I can't reproduce
the segfault in debian/sid:

dev:~/Software/debian/node-d3-zoom/node-d3-zoom master$ webpack --config
debian/webpack.config.js index.js build/d3-zoom.js --target=web
--output-library=d3-zoom --output-library-target=umd --module-bind
'js=babel-loader'
Hash: 60d4e6b8ef886259fd80
Version: webpack 3.5.6
Time: 2042ms
     Asset    Size  Chunks             Chunk Names
d3-zoom.js  174 kB       0  [emitted]  main
   [0] /usr/lib/nodejs/d3-selection/lib/index.js 3.28 kB {0} [built]
   [6] /usr/lib/nodejs/d3-interpolate/lib/index.js 4.29 kB {0} [built]
   [9] /usr/lib/nodejs/d3-dispatch/lib/index.js 370 bytes {0} [built]
  [10] /usr/lib/nodejs/d3-selection/lib/creator.js 926 bytes {0} [built]
  [11] /usr/lib/nodejs/d3-selection/lib/namespace.js 576 bytes {0} [built]
  [16] /usr/lib/nodejs/d3-selection/lib/selector.js 238 bytes {0} [built]
  [17] /usr/lib/nodejs/d3-selection/lib/window.js 299 bytes {0} [built]
  [41] ./src/transform.js 1.35 kB {0} [built]
  [42] ./index.js 131 bytes {0} [built]
  [43] ./src/zoom.js 13.5 kB {0} [built]
  [45] /usr/lib/nodejs/d3-drag/lib/index.js 670 bytes {0} [built]
  [94] /usr/lib/nodejs/d3-transition/lib/index.js 854 bytes {0} [built]
 [128] ./src/constant.js 73 bytes {0} [built]
 [129] ./src/event.js 136 bytes {0} [built]
 [130] ./src/noevent.js 204 bytes {0} [built]
    + 116 hidden modules

WARNING in ./src/zoom.js
235:4-11 "export 'default' (imported as 'noevent') was not found in
'./noevent'

WARNING in ./src/zoom.js
260:6-13 "export 'default' (imported as 'noevent') was not found in
'./noevent'

WARNING in ./src/zoom.js
272:6-13 "export 'default' (imported as 'noevent') was not found in
'./noevent'

WARNING in ./src/zoom.js
285:4-11 "export 'default' (imported as 'noevent') was not found in
'./noevent'

WARNING in ./src/zoom.js
335:4-11 "export 'default' (imported as 'noevent') was not found in
'./noevent'

WARNING in ./src/zoom.js
377:74-82 "export 'default' (imported as 'constant') was not found in
'./constant'

WARNING in ./src/zoom.js
381:70-78 "export 'default' (imported as 'constant') was not found in
'./constant'

WARNING in ./src/zoom.js
385:73-81 "export 'default' (imported as 'constant') was not found in
'./constant'

WARNING in ./src/zoom.js
389:70-78 "export 'default' (imported as 'constant') was not found in
'./constant'
dev:~/Software/debian/node-d3-zoom/node-d3-zoom master$


I'd like to lower the severity of this bug because it concerns code that is
not (yet) in debian. We'll raise it again if/when node-d3-zoom crashes when
building on build server.

Jérémy
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to