Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780564 - net-libs/webkit-gtk-2.30.5 Internal compiler error: webkit-gtk segfault sometimes
Summary: net-libs/webkit-gtk-2.30.5 Internal compiler error: webkit-gtk segfault somet...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-06 10:26 UTC by Martin Jørgensen
Modified: 2022-01-22 10:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info dump (emerge--info.txt,7.73 KB, text/plain)
2021-04-06 10:26 UTC, Martin Jørgensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jørgensen 2021-04-06 10:26:01 UTC
Created attachment 697953 [details]
emerge --info dump

When building webkit-gtk-2.30.5 I sometimes, not all the times, get compiler errors like below:

In file included from DerivedSources/ForwardingHeaders/wtf/IsoMalloc.h:40,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/bindings/js/ScriptWrappable.h:35,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/EventTarget.h:36,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/Node.h:27,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/ContainerNode.h:27,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/Document.h:33,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/Element.h:28,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/StyledElement.h:30,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/svg/SVGElement.h:30,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/svg/SVGUnknownElement.h:28,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/svg/SVGUnknownElement.cpp:27:
DerivedSources/ForwardingHeaders/bmalloc/IsoHeap.h:89:53: internal compiler error: Segmentation fault
   89 |     void* operator new(size_t, void* p) { return p; } \
      |                                                     ^
DerivedSources/ForwardingHeaders/wtf/IsoMalloc.h:44:38: note: in expansion of macro ‘MAKE_BISO_MALLOCED’
   44 | #define WTF_MAKE_ISO_ALLOCATED(name) MAKE_BISO_MALLOCED(name, WTF_NOEXPORT)
      |                                      ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/dom/Document.h:341:5: note: in expansion of macro ‘WTF_MAKE_ISO_ALLOCATED’
  341 |     WTF_MAKE_ISO_ALLOCATED(Document);

or:

In file included from DerivedSources/ForwardingHeaders/JavaScriptCore/CallVariant.h:29,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/CallEdge.h:28,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/PolymorphicCallStubRoutine.h:30,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/CallLinkInfo.h:31,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/CodeBlock.h:34,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/RegisterInlines.h:28,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/CallFrameInlines.h:31,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/JSCellInlines.h:32,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/JSCJSValueInlines.h:35,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/StructureInlines.h:29,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/ArrayStorageInlines.h:29,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/ButterflyInlines.h:28,
                 from DerivedSources/ForwardingHeaders/JavaScriptCore/JSObjectInlines.h:27,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/bindings/js/JSDOMGlobalObject.h:32,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/bindings/js/DOMWrapperWorld.h:24,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/bindings/js/JSValueInWrappedObject.h:27,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/Modules/indexeddb/IDBRequest.h:40,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/Modules/indexeddb/IDBRequestCompletionEvent.h:31,
                 from /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Source/WebCore/Modules/indexeddb/IDBRequestCompletionEvent.cpp:27:
DerivedSources/ForwardingHeaders/JavaScriptCore/FunctionExecutable.h:49:5: internal compiler error: Segmentation fault
   49 |     }
      |     ^
Please submit a full bug report,
with preprocessed source if appropriate.


This from stripping USE flags to a minimum, like so: 

USE="-* X opengl" emerge --oneshot webkit-gtk

I have managed to complete the build once with the command above, but subsequent builds with more flags added, fails with same Internal compiler error.
Comment 1 Martin Jørgensen 2021-04-08 12:22:57 UTC
building webkit with sys-devel/gcc-9.3.0-r2 seems to work.
Comment 2 Jonas Stein gentoo-dev 2021-04-10 18:45:30 UTC
What is the free space in the RAM and in your compile folder?
Comment 3 Martin Jørgensen 2021-04-11 07:13:38 UTC
around 62GB free RAM space (64GB in total)
46GB free disk space on the mount path used for build (/var/tmp/portage)
Comment 4 Martin Jørgensen 2021-04-11 07:15:43 UTC
(In reply to Martin from comment #3)
> around 62GB free RAM space (64GB in total)
> 46GB free disk space on the mount path used for build (/var/tmp/portage)

sorry, it is only 19GB free disk space