On 2019/09/10 13:20, Stuart Henderson wrote:
> Backtrace below. Anyone have a clue? (Should I just treat this as an
> unreliable build? I can do that but I can't guarantee to catch it in
> every build so the package might be missing from snapshots in that
> case).
Oh, and I have a similar backtrace from node while being sysutils/facette as well.
>
> GNU gdb (GDB) 7.12.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i386-unknown-openbsd6.6".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/local/bin/node...done.
> [New process 115814]
> [New process 614313]
> [New process 303518]
> [New process 516425]
> [New process 299404]
> [New process 489613]
> [New process 327189]
>
> warning: Unexpected size of section `.reg2/115814' in core file.
> Core was generated by `node'.
> Program terminated with signal SIGSEGV, Segmentation fault.
>
> warning: Unexpected size of section `.reg2/115814' in core file.
> #0 0x1cbe27f2 in v8::internal::MemMove(void*, void const*, unsigned long) ()
> [Current thread is 1 (process 115814)]
> (gdb) bt
> #0 0x1cbe27f2 in v8::internal::MemMove(void*, void const*, unsigned long) ()
> #1 0x1c912315 in void v8::internal::EvacuateVisitorBase::RawMigrateObject<(v8::internal::EvacuateVisitorBase::MigrationMode)0>(v8::internal::EvacuateVisitorBase*, v8::internal::HeapObject*, v8::internal::HeapObject*, int, v8::internal::AllocationSpace) ()
> #2 0x1c90f0e4 in v8::internal::EvacuateNewSpaceVisitor::Visit(v8::internal::HeapObject*, int) ()
> #3 0x1c8fff31 in void v8::internal::LiveObjectVisitor::VisitBlackObjectsNoFail<v8::internal::EvacuateNewSpaceVisitor, v8::internal::MajorNonAtomicMarkingState>(v8::internal::MemoryChunk*, v8::internal::MajorNonAtomicMarkingState*, v8::internal::EvacuateNewSpaceVisitor*, v8::internal::LiveObjectVisitor::IterationMode) ()
> #4 0x1c8ff8f5 in v8::internal::FullEvacuator::RawEvacuatePage(v8::internal::Page*, long*) ()
> #5 0x1c8ff4fd in v8::internal::Evacuator::EvacuatePage(v8::internal::Page*) ()
> #6 0x1c912a50 in v8::internal::PageEvacuationTask::RunInParallel() ()
> #7 0x1c8f6997 in v8::internal::ItemParallelJob::Task::RunInternal() ()
> #8 0x1c8f6e79 in v8::internal::ItemParallelJob::Run(std::__1::shared_ptr<v8::internal::Counters>) ()
> #9 0x1c90246b in void v8::internal::MarkCompactCollectorBase::CreateAndExecuteEvacuationTasks<v8::internal::FullEvacuator, v8::internal::MarkCompactCollector>(v8::internal::MarkCompactCollector*, v8::internal::ItemParallelJob*, v8::internal::RecordMigratedSlotVisitor*, v8::internal::MigrationObserver*, long) ()
> #10 0x1c90207b in v8::internal::MarkCompactCollector::EvacuatePagesInParallel() ()
> #11 0x1c8fadc7 in v8::internal::MarkCompactCollector::Evacuate() ()
> #12 0x1c8f8bc2 in v8::internal::MarkCompactCollector::CollectGarbage() ()
> #13 0x1c8c8c3d in v8::internal::Heap::MarkCompact() ()
> #14 0x1c8c6f98 in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
> #15 0x1c8c5955 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) ()
> #16 0x1c8cdd49 in v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) ()
> #17 0x1c8ecce9 in v8::internal::IncrementalMarkingJob::Task::RunInternal() ()
> #18 0x1c5d819e in non-virtual thunk to v8::internal::CancelableTask::Run() ()
> #19 0x1c0f1e2f in node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) ()
> #20 0x1c0f1219 in node::PerIsolatePlatformData::FlushForegroundTasksInternal() ()
> #21 0x1c0f20c6 in node::NodePlatform::DrainBackgroundTasks(v8::Isolate*) ()
> #22 0x1c06f7b4 in node::Start(v8::Isolate*, node::IsolateData*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) ()
> #23 0x1c06eafb in node::Start(uv_loop_s*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) ()
> #24 0x1c06de99 in node::Start(int, char**) ()
> #25 0x1c1cb02f in main ()
> (gdb) thread apply all bt
> warning: Unexpected size of section `.reg2/327189' in core file.
>
> Thread 7 (process 327189):
> #0 futex () at -:3
> #1 0x0b83d547 in _twait (p=<optimized out>, val=0, clockid=0, abs=0x0) at /usr/src/lib/librthread/synch.h:41
> #2 _sem_wait (sem=<optimized out>, can_eintr=1, abstime=0x0, delayed_cancel=<optimized out>) at /usr/src/lib/librthread/rthread_sem.c:77
> #3 sem_wait (semp=0x3b337a10 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at /usr/src/lib/librthread/rthread_sem.c:236
> #4 0x1c1c718e in uv__sem_wait (sem=0x3b337a10 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at ../deps/uv/src/unix/thread.c:579
> #5 uv_sem_wait (sem=0x3b337a10 <node::inspector::(anonymous namespace)::start_io_thread_semaphore>) at ../deps/uv/src/unix/thread.c:635
> #6 0x1c1440ef in node::inspector::(anonymous namespace)::StartIoThreadMain(void*) ()
> #7 0x0b83f02d in _rthread_start (v=0x4bd93e2c) at /usr/src/lib/librthread/rthread.c:96
> #8 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
> warning: Unexpected size of section `.reg2/489613' in core file.
>
> Thread 6 (process 489613):
> #0 futex () at -:3
> #1 0x0d4bc435 in _twait (p=<optimized out>, val=<optimized out>, clockid=<optimized out>, abs=<optimized out>) at /usr/src/lib/libc/thread/synch.h:41
> #2 _rthread_cond_timedwait (cond=0x793a5370, mutexp=0x4e525690, abs=0x0) at /usr/src/lib/libc/thread/rthread_cond.c:106
> #3 0x0d4bc5a2 in pthread_cond_wait (condp=0x4e525694, mutexp=0x4e525690) at /usr/src/lib/libc/thread/rthread_cond.c:164
> #4 0x1c1c736f in uv_cond_wait (cond=0x4e525694, mutex=0x4e525690) at ../deps/uv/src/unix/thread.c:735
> #5 0x1c0f3691 in node::TaskQueue<v8::Task>::BlockingPop() ()
> #6 0x1c0f073c in node::BackgroundRunner(void*) ()
> #7 0x0b83f02d in _rthread_start (v=0x6f909a2c) at /usr/src/lib/librthread/rthread.c:96
> #8 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
> warning: Unexpected size of section `.reg2/299404' in core file.
>
> Thread 5 (process 299404):
> #0 futex () at -:3
> #1 0x0d4bc435 in _twait (p=<optimized out>, val=<optimized out>, clockid=<optimized out>, abs=<optimized out>) at /usr/src/lib/libc/thread/synch.h:41
> #2 _rthread_cond_timedwait (cond=0x793a5370, mutexp=0x4e525690, abs=0x0) at /usr/src/lib/libc/thread/rthread_cond.c:106
> #3 0x0d4bc5a2 in pthread_cond_wait (condp=0x4e525694, mutexp=0x4e525690) at /usr/src/lib/libc/thread/rthread_cond.c:164
> #4 0x1c1c736f in uv_cond_wait (cond=0x4e525694, mutex=0x4e525690) at ../deps/uv/src/unix/thread.c:735
> #5 0x1c0f3691 in node::TaskQueue<v8::Task>::BlockingPop() ()
> #6 0x1c0f073c in node::BackgroundRunner(void*) ()
> #7 0x0b83f02d in _rthread_start (v=0x4bd9372c) at /usr/src/lib/librthread/rthread.c:96
> #8 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
> warning: Unexpected size of section `.reg2/516425' in core file.
>
> Thread 4 (process 516425):
> #0 futex () at -:3
> #1 0x0d4bc435 in _twait (p=<optimized out>, val=<optimized out>, clockid=<optimized out>, abs=<optimized out>) at /usr/src/lib/libc/thread/synch.h:41
> #2 _rthread_cond_timedwait (cond=0x793a5370, mutexp=0x4e525690, abs=0x0) at /usr/src/lib/libc/thread/rthread_cond.c:106
> #3 0x0d4bc5a2 in pthread_cond_wait (condp=0x4e525694, mutexp=0x4e525690) at /usr/src/lib/libc/thread/rthread_cond.c:164
> ---Type <return> to continue, or q <return> to quit---
> #4 0x1c1c736f in uv_cond_wait (cond=0x4e525694, mutex=0x4e525690) at ../deps/uv/src/unix/thread.c:735
> #5 0x1c0f3691 in node::TaskQueue<v8::Task>::BlockingPop() ()
> #6 0x1c0f073c in node::BackgroundRunner(void*) ()
> #7 0x0b83f02d in _rthread_start (v=0x6f90932c) at /usr/src/lib/librthread/rthread.c:96
> #8 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
> warning: Unexpected size of section `.reg2/303518' in core file.
>
> Thread 3 (process 303518):
> #0 clock_gettime () at -:3
> #1 0x1c1c9e4f in uv__hrtime (type=UV_CLOCK_PRECISE) at ../deps/uv/src/unix/posix-hrtime.c:33
> #2 0x1c1babbb in uv_hrtime () at ../deps/uv/src/unix/core.c:112
> #3 0x1c0f27ef in node::NodePlatform::MonotonicallyIncreasingTime() ()
> #4 0x1c8ff50b in v8::internal::Evacuator::EvacuatePage(v8::internal::Page*) ()
> #5 0x1c912a50 in v8::internal::PageEvacuationTask::RunInParallel() ()
> #6 0x1c8f6997 in v8::internal::ItemParallelJob::Task::RunInternal() ()
> #7 0x1c5d819e in non-virtual thunk to v8::internal::CancelableTask::Run() ()
> #8 0x1c0f06f6 in node::BackgroundRunner(void*) ()
> #9 0x0b83f02d in _rthread_start (v=0x6f90902c) at /usr/src/lib/librthread/rthread.c:96
> #10 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
> warning: Unexpected size of section `.reg2/614313' in core file.
>
> Thread 2 (process 614313):
> #0 kevent () at -:3
> #1 0x1c1ca694 in uv__io_poll (loop=0x4d501434, timeout=<optimized out>) at ../deps/uv/src/unix/kqueue.c:214
> #2 0x1c1bb0e7 in uv_run (loop=0x4d501434, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:370
> #3 0x1c0f34a7 in node::BackgroundTaskRunner::DelayedTaskScheduler::Run() ()
> #4 0x1c0f336c in node::BackgroundTaskRunner::DelayedTaskScheduler::Start()::{lambda(void*)#1}::__invoke(void*) ()
> #5 0x0b83f02d in _rthread_start (v=0x508f1e2c) at /usr/src/lib/librthread/rthread.c:96
> #6 0x0d50c8ae in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:92
>
> Thread 1 (process 115814):
> #0 0x1cbe27f2 in v8::internal::MemMove(void*, void const*, unsigned long) ()
> #1 0x1c912315 in void v8::internal::EvacuateVisitorBase::RawMigrateObject<(v8::internal::EvacuateVisitorBase::MigrationMode)0>(v8::internal::EvacuateVisitorBase*, v8::internal::HeapObject*, v8::internal::HeapObject*, int, v8::internal::AllocationSpace) ()
> #2 0x1c90f0e4 in v8::internal::EvacuateNewSpaceVisitor::Visit(v8::internal::HeapObject*, int) ()
> #3 0x1c8fff31 in void v8::internal::LiveObjectVisitor::VisitBlackObjectsNoFail<v8::internal::EvacuateNewSpaceVisitor, v8::internal::MajorNonAtomicMarkingState>(v8::internal::MemoryChunk*, v8::internal::MajorNonAtomicMarkingState*, v8::internal::EvacuateNewSpaceVisitor*, v8::internal::LiveObjectVisitor::IterationMode) ()
> #4 0x1c8ff8f5 in v8::internal::FullEvacuator::RawEvacuatePage(v8::internal::Page*, long*) ()
> #5 0x1c8ff4fd in v8::internal::Evacuator::EvacuatePage(v8::internal::Page*) ()
> #6 0x1c912a50 in v8::internal::PageEvacuationTask::RunInParallel() ()
> #7 0x1c8f6997 in v8::internal::ItemParallelJob::Task::RunInternal() ()
> ---Type <return> to continue, or q <return> to quit---
> #8 0x1c8f6e79 in v8::internal::ItemParallelJob::Run(std::__1::shared_ptr<v8::internal::Counters>) ()
> #9 0x1c90246b in void v8::internal::MarkCompactCollectorBase::CreateAndExecuteEvacuationTasks<v8::internal::FullEvacuator, v8::internal::MarkCompactCollector>(v8::internal::MarkCompactCollector*, v8::internal::ItemParallelJob*, v8::internal::RecordMigratedSlotVisitor*, v8::internal::MigrationObserver*, long) ()
> #10 0x1c90207b in v8::internal::MarkCompactCollector::EvacuatePagesInParallel() ()
> #11 0x1c8fadc7 in v8::internal::MarkCompactCollector::Evacuate() ()
> #12 0x1c8f8bc2 in v8::internal::MarkCompactCollector::CollectGarbage() ()
> #13 0x1c8c8c3d in v8::internal::Heap::MarkCompact() ()
> #14 0x1c8c6f98 in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) ()
> #15 0x1c8c5955 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) ()
> #16 0x1c8cdd49 in v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) ()
> #17 0x1c8ecce9 in v8::internal::IncrementalMarkingJob::Task::RunInternal() ()
> #18 0x1c5d819e in non-virtual thunk to v8::internal::CancelableTask::Run() ()
> #19 0x1c0f1e2f in node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) ()
> #20 0x1c0f1219 in node::PerIsolatePlatformData::FlushForegroundTasksInternal() ()
> #21 0x1c0f20c6 in node::NodePlatform::DrainBackgroundTasks(v8::Isolate*) ()
> #22 0x1c06f7b4 in node::Start(v8::Isolate*, node::IsolateData*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) ()
> #23 0x1c06eafb in node::Start(uv_loop_s*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) ()
> #24 0x1c06de99 in node::Start(int, char**) ()
> #25 0x1c1cb02f in main ()
> (gdb)
> (gdb)
>
No comments:
Post a Comment