https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82558

            Bug ID: 82558
           Summary: [8 Regression] V8 JavaScript engine segfaults since
                    r249235
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: fdumont at gcc dot gnu.org
  Target Milestone: ---

The V8 JavaScript engine segfaults since r249235:

 % gdb --args ./node deps/npm/node_modules/node-gyp/bin/node-gyp
Reading symbols from ./node...done.
(gdb) run
Starting program: /home/trippels/node/node
deps/npm/node_modules/node-gyp/bin/node-gyp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x3fffb797f180 (LWP 56011)]
[New Thread 0x3fffb717f180 (LWP 56012)]
[New Thread 0x3fffb697f180 (LWP 56013)]
[New Thread 0x3fffb617f180 (LWP 56014)]
[New Thread 0x3fffb597f180 (LWP 56015)]

Thread 4 "node" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x3fffb697f180 (LWP 56013)]
0x000000001162c03c in std::__fill_bvector (__v=0x0, __first=0, __last=0,
__x=false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:402
402           *__v &= ~__mask;
(gdb) bt
#0  0x000000001162c03c in std::__fill_bvector (__v=0x0, __first=0, __last=0,
__x=false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:402
#1  0x000000001162c194 in std::fill (__first=..., __last=...,
__x=@0x3fffb697daa8: false) at
/home/trippels/gcc_8/usr/local/include/c++/8.0.0/bits/stl_bvector.h:421
#2  0x000000001185c694 in
v8::internal::compiler::ScheduleLateNodeVisitor::SplitNode
(this=0x3fffb697ddf0, block=0x3fffac017cf0, node=0x3fffac011bc8)
    at ../deps/v8/src/compiler/scheduler.cc:1451
#3  0x000000001185c1b8 in
v8::internal::compiler::ScheduleLateNodeVisitor::VisitNode
(this=0x3fffb697ddf0, node=0x3fffac011bc8) at
../deps/v8/src/compiler/scheduler.cc:1414
#4  0x000000001185bde4 in
v8::internal::compiler::ScheduleLateNodeVisitor::ProcessQueue
(this=0x3fffb697ddf0, root=0x3fffac011c30) at
../deps/v8/src/compiler/scheduler.cc:1369
#5  0x000000001185bc00 in v8::internal::compiler::ScheduleLateNodeVisitor::Run
(this=0x3fffb697ddf0, roots=0x3fffb697df68) at
../deps/v8/src/compiler/scheduler.cc:1349
#6  0x000000001185defc in v8::internal::compiler::Scheduler::ScheduleLate
(this=0x3fffb697df28) at ../deps/v8/src/compiler/scheduler.cc:1678
#7  0x0000000011855d0c in v8::internal::compiler::Scheduler::ComputeSchedule
(zone=0x3fffac0008c0, graph=0x13373798, flags=...) at
../deps/v8/src/compiler/scheduler.cc:61
#8  0x00000000117edb9c in v8::internal::compiler::ComputeSchedulePhase::Run
(this=0x3fffb697e110, data=0x1334c8b8, temp_zone=0x3fffac0008c0)
    at ../deps/v8/src/compiler/pipeline.cc:1389
#9  0x00000000117f4390 in
v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::ComputeSchedulePhase>
(this=0x1334ca28) at ../deps/v8/src/compiler/pipeline.cc:849
#10 0x00000000117f0a7c in
v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions
(this=0x1334ca28, linkage=0x13377868, trim_graph=true)
    at ../deps/v8/src/compiler/pipeline.cc:1957
#11 0x00000000117ef970 in v8::internal::compiler::PipelineImpl::OptimizeGraph
(this=0x1334ca28, linkage=0x13377868) at
../deps/v8/src/compiler/pipeline.cc:1810
#12 0x00000000117e876c in
v8::internal::compiler::PipelineCompilationJob::ExecuteJobImpl
(this=0x1334c710) at ../deps/v8/src/compiler/pipeline.cc:684
#13 0x0000000011937358 in v8::internal::CompilationJob::ExecuteJob
(this=0x1334c710) at ../deps/v8/src/compiler.cc:134
#14 0x00000000119310d4 in
v8::internal::OptimizingCompileDispatcher::CompileNext (this=0x133185c0,
job=0x1334c710)
    at ../deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc:115
#15 0x0000000011930dac in
v8::internal::OptimizingCompileDispatcher::CompileTask::Run (this=0x1334d5c0)
at ../deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc:67
#16 0x00000000124e3900 in node::BackgroundRunner (data=0x132c53b0) at
../src/node_platform.cc:24
#17 0x00003fffb7b78af4 in start_thread () from /lib64/libpthread.so.0
#18 0x00003fffb7aa4ef4 in clone () from /lib64/libc.so.6

Reply via email to