* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
@ 2015-06-03 15:19 ` bugzilla at busybox.net
2015-06-10 8:53 ` bugzilla at busybox.net
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-06-03 15:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-06-03 15:19:54 UTC ---
To help us in solving this bug, could you provide a minimal working Buildroot
configuration, and a minimal non-working Buildroot configuration, as well as
the exact steps to reproduce the problem?
Also, please be sure to include the exact Buildroot version you have used, so
that we can now which version of gcc 4.8.x and gcc 4.9.x you have tested.
Thanks!
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
2015-06-03 15:19 ` [Buildroot] [Bug 8066] " bugzilla at busybox.net
@ 2015-06-10 8:53 ` bugzilla at busybox.net
2015-06-10 8:54 ` bugzilla at busybox.net
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-06-10 8:53 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #2 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-06-10 08:53:56 UTC ---
Created attachment 6066
--> https://bugs.busybox.net/attachment.cgi?id=6066
The good config file
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
2015-06-03 15:19 ` [Buildroot] [Bug 8066] " bugzilla at busybox.net
2015-06-10 8:53 ` bugzilla at busybox.net
@ 2015-06-10 8:54 ` bugzilla at busybox.net
2015-06-10 8:55 ` bugzilla at busybox.net
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-06-10 8:54 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #3 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-06-10 08:54:42 UTC ---
Created attachment 6071
--> https://bugs.busybox.net/attachment.cgi?id=6071
The bad config file
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (2 preceding siblings ...)
2015-06-10 8:54 ` bugzilla at busybox.net
@ 2015-06-10 8:55 ` bugzilla at busybox.net
2015-06-10 9:00 ` bugzilla at busybox.net
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-06-10 8:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #4 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-06-10 08:55:29 UTC ---
Created attachment 6076
--> https://bugs.busybox.net/attachment.cgi?id=6076
The differences between the good and bad config
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (3 preceding siblings ...)
2015-06-10 8:55 ` bugzilla at busybox.net
@ 2015-06-10 9:00 ` bugzilla at busybox.net
2015-09-30 12:55 ` bugzilla at busybox.net
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-06-10 9:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #5 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-06-10 09:00:34 UTC ---
I've re-created the issue and attached the good and bad config files, I've also
attaches the differences between the two, as a patch.
The version of buildroot I am using is
2015.02
6bf057b0f2ba188397a691f74877a4a30aaea3f9
The console output for the failure is:
[root at buildroot ~]# node
traps: node[194] general protection ip:736725 sp:7ffc3c721350 error:0 in
node[400000+73c000]
Segmentation fault
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (4 preceding siblings ...)
2015-06-10 9:00 ` bugzilla at busybox.net
@ 2015-09-30 12:55 ` bugzilla at busybox.net
2015-12-02 19:38 ` bugzilla at busybox.net
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-09-30 12:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
Jeroen Roovers <jer@xs4all.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jer at xs4all.nl
--- Comment #6 from Jeroen Roovers <jer@xs4all.nl> 2015-09-30 12:55:04 UTC ---
On an ARM system (cortex-a7) I am seeing a similar problem when I build
everything with gcc-4.9.*. It doesn't crash, though, it merely exits certain
functions early, causing it to output invalid HTTP headers. I have seen some
references on the wider Internet pointing to similar problems, but those were
not connected to a specific GCC version or even the same OS. The only thing I
am certain of is that GCC 4.9 miscompiles nodejs, including version 4.1.1. I
haven't tried with libuv and libhttpparser properly in place, though.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (5 preceding siblings ...)
2015-09-30 12:55 ` bugzilla at busybox.net
@ 2015-12-02 19:38 ` bugzilla at busybox.net
2015-12-02 22:49 ` bugzilla at busybox.net
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-12-02 19:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
Mike Frysinger <vapier@gentoo.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host|Xeon |Xeon x86_64 i7
Target|x86_64 i7 |
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151202/80af0736/attachment.html>
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (6 preceding siblings ...)
2015-12-02 19:38 ` bugzilla at busybox.net
@ 2015-12-02 22:49 ` bugzilla at busybox.net
2015-12-02 22:58 ` bugzilla at busybox.net
2015-12-03 11:37 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-12-02 22:49 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
Martin <martin@barkynet.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |martin at barkynet.com
|.org |
--- Comment #7 from Martin <martin@barkynet.com> ---
(In reply to Dr I J Ormshaw from comment #5)
> I've re-created the issue and attached the good and bad config files, I've
> also attaches the differences between the two, as a patch.
>
> The version of buildroot I am using is
>
> 2015.02
> 6bf057b0f2ba188397a691f74877a4a30aaea3f9
>
> The console output for the failure is:
>
>
> [root at buildroot ~]# node
> traps: node[194] general protection ip:736725 sp:7ffc3c721350 error:0 in
> node[400000+73c000]
> Segmentation fault
I've not managed to reproduce your issue. Your config files contains various
customisations like an override file, kernel patches, overlay etc so I'm not
able to full replicate your setup.
Instead I used buildroot version 2015.11 and the qemu_x86_64_defconfig as a
start point. I configured for a core i7, gcc 4.9.3, glibc and node.js v0.10.40
and node works fine in qemu. I even tried eglibc as you do (which is now
deprecated) and it worked fine too.
I can only suggest you try to upgrade to buildroot 2015.11 and test again,
perhaps your issue has been fixed. If you still find the issue then can you
please attach a minimal non-working Buildroot configuration, removing any
custom override files and packages which are not needed to reproduce the issue.
Thanks
Martin
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (7 preceding siblings ...)
2015-12-02 22:49 ` bugzilla at busybox.net
@ 2015-12-02 22:58 ` bugzilla at busybox.net
2015-12-03 11:37 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-12-02 22:58 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
--- Comment #8 from Martin <martin@barkynet.com> ---
(In reply to Jeroen Roovers from comment #6)
> On an ARM system (cortex-a7) I am seeing a similar problem when I build
> everything with gcc-4.9.*. It doesn't crash, though, it merely exits certain
> functions early, causing it to output invalid HTTP headers. I have seen some
> references on the wider Internet pointing to similar problems, but those
> were not connected to a specific GCC version or even the same OS. The only
> thing I am certain of is that GCC 4.9 miscompiles nodejs, including version
> 4.1.1. I haven't tried with libuv and libhttpparser properly in place,
> though.
I think this might be a different issue, the original issue is about a crash.
If you think you still have an issue can you please raise a new bug. In the
bug please attach a minimal non-working Buildroot configuration so we can try
to reproduce it.
Thanks
Martin
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [Bug 8066] nodejs crashes when built with gcc 4.9
2015-04-30 11:05 [Buildroot] [Bug 8066] New: nodejs crashes when built with gcc 4.9 bugzilla at busybox.net
` (8 preceding siblings ...)
2015-12-02 22:58 ` bugzilla at busybox.net
@ 2015-12-03 11:37 ` bugzilla at busybox.net
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2015-12-03 11:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8066
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Thanks a lot Martin for taking the time to look at this bug, and to attempt to
reproduce it!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 11+ messages in thread