Re: nodejs broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 2, 2023 at 5:40 PM Stephen Gallagher <sgallagh@xxxxxxxxxx> wrote:
>
> On Tue, May 2, 2023 at 5:27 AM Sandro Mani <manisandro@xxxxxxxxx> wrote:
>
> > AFAICS nodejs is generally broken in rawhide (both nodejs20 and nodejs18), i.e. just
> >
> > $ node
> > > <type random chars and press backspace a couple of times>
> > Segmentation fault (core dumped)
> >
> > gdb:
> >
> > Thread 3 "node" received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0x7ffff2ffe6c0 (LWP 1565850)]
> > 0x00007ffff57db195 in v8::internal::compiler::SpecialRPONumberer::ComputeAndInsertSpecialRPO(v8::internal::compiler::BasicBlock*, v8::internal::compiler::BasicBlock*) () from /lib64/libnode.so.115
> >
>
> It looks like this is an optimization bug in the compiler. The
> segfault disappears when compiled with -O1, but occurs at -O2 and
> higher. I'm going to try to track down the specific optimization
> that's breaking it tomorrow, but as a stopgap measure I have Node.js
> 20 building in Rawhide with -O1.


Well, narrowing that down was a real pain:
https://github.com/nodejs/node/issues/47865

I'll build without the offending optimizations for the time being.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux