[Pkg-javascript-devel] Bug#1076350: even more detailed backtrace

Сергей Сёмин syominsergey at gmail.com
Fri Jul 19 10:54:59 BST 2024


> This is something somewhat similar to https://bugs.debian.org/922075#20

Jérémy, thank you for the link!
I'll try to read that thread later. It will take some time.

And now just for info I want to share detailed backtrace with pointers
to sources at all frames of backtrace (not only in nodejs but also in
libuv1). To do this I built from source in Debian Bookworm i386 these
packages:
- nodejs_18.19.0+dfsg-6~deb12u2
- libuv1_1.44.2-1+deb12u1

I built them with command:
DEB_BUILD_OPTIONS='nostrip noopt debug' dpkg-buildpackage -b -uc -us

And then installed all resulting deb packages.

Here is listing of backtrace:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb5858507 in
std::default_delete<node::fs::FSContinuationData>::operator() () at
/usr/include/c++/12/bits/unique_ptr.h:95
95              delete __ptr;
[Current thread is 1 (Thread 0xb4d21780 (LWP 26841))]
(gdb) bt
#0  0xb5858507 in
std::default_delete<node::fs::FSContinuationData>::operator() () at
/usr/include/c++/12/bits/unique_ptr.h:95
#1  std::unique_ptr<node::fs::FSContinuationData,
std::default_delete<node::fs::FSContinuationData> >::~unique_ptr () at
/usr/include/c++/12/bits/unique_ptr.h:396
#2  node::fs::FSReqBase::~FSReqBase () at ../src/node_file.cc:224
#3  0xb5871a4d in node::fs::FSReqCallback::~FSReqCallback () at
../src/node_file.h:175
#4  node::fs::FSReqCallback::~FSReqCallback () at ../src/node_file.h:175
#5  0xb584bc52 in node::BaseObjectPtrImpl<node::ReqWrap<uv_fs_s>,
false>::~BaseObjectPtrImpl () at ../src/base_object-inl.h:178
#6  node::MakeLibuvRequestCallback<uv_fs_s, void
(*)(uv_fs_s*)>::Wrapper () at ../src/req_wrap-inl.h:127
#7  0xb7ca66ea in uv__fs_done (w=0x1bd2ed8, status=0) at ./src/unix/fs.c:1791
#8  0xb7c9bcab in uv__work_done (handle=0xb7cc9200
<default_loop_struct+96>) at ./src/threadpool.c:318
#9  0xb7ca0a3a in uv__async_io (loop=0xb7cc91a0 <default_loop_struct>,
w=0xb7cc9290 <default_loop_struct+240>, events=1) at
./src/unix/async.c:163
#10 0xb7cbc570 in uv__io_poll (loop=0xb7cc91a0 <default_loop_struct>,
timeout=8033) at ./src/unix/epoll.c:374
#11 0xb7ca156c in uv_run (loop=0xb7cc91a0 <default_loop_struct>,
mode=UV_RUN_DEFAULT) at ./src/unix/core.c:406
#12 0xb577424a in node::SpinEventLoop () at ../src/api/embed_helpers.cc:38
#13 0xb58a185c in node::NodeMainInstance::Run () at
../src/node_main_instance.cc:130
#14 node::NodeMainInstance::Run () at ../src/node_main_instance.cc:126
#15 0xb58a1cb9 in node::NodeMainInstance::Run () at
../src/node_main_instance.cc:122
#16 0xb5807951 in node::LoadSnapshotDataAndRun () at ../src/node.cc:1220
#17 0xb580b70e in node::Start () at ../src/node.cc:1269
#18 0x004ea087 in main () at ../src/node_main.cc:93

Full listing of command "coredumpctl -1 debug" is available in the
attached file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coredumpctl_debug.log
Type: text/x-log
Size: 13084 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20240719/ed5daa5c/attachment.bin>


More information about the Pkg-javascript-devel mailing list