Closed
Bug 1478523
Opened 7 years ago
Closed 5 years ago
UBSan: load of value 128, which is not a valid value for type 'GtkStateFlags' in [@ GetStyleContext]
Categories
(Core :: Widget: Gtk, defect, P5)
Core
Widget: Gtk
Tracking
()
RESOLVED
DUPLICATE
of bug 1405142
People
(Reporter: tsmith, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: csectype-undefined)
This is hit on startup on lab machine running Ubuntu 14.04.5
This can be triggered by building with -fsanitize=enum
src/widget/gtk/WidgetStyleCache.cpp:1506:21: runtime error: load of value 128, which is not a valid value for type 'GtkStateFlags'
#0 0x7fe821bc4b62 in GetStyleContext(WidgetNodeType, GtkTextDirection, GtkStateFlags, unsigned int) src/widget/gtk/WidgetStyleCache.cpp:1506:21
#1 0x7fe821c1049a in nsLookAndFeel::EnsureInit() src/widget/gtk/nsLookAndFeel.cpp:866:13
#2 0x7fe821c12fa6 in nsLookAndFeel::NativeGetColor(mozilla::LookAndFeel::ColorID, unsigned int&) src/widget/gtk/nsLookAndFeel.cpp:241:5
#3 0x7fe821b661ae in nsXPLookAndFeel::GetColorImpl(mozilla::LookAndFeel::ColorID, bool, unsigned int&) src/widget/nsXPLookAndFeel.cpp:874:27
#4 0x7fe822274685 in GetColor src/obj-firefox/dist/include/mozilla/LookAndFeel.h:583:9
#5 0x7fe822274685 in nsPresContext::GetDocumentColorPreferences() src/layout/base/nsPresContext.cpp:469
#6 0x7fe8221d5167 in nsPresContext::SetContainer(nsIDocShell*) src/layout/base/nsPresContext.cpp:1475:5
#7 0x7fe8221d5fbd in nsDocumentViewer::InitInternal(nsIWidget*, nsISupports*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, bool, bool, bool) src/layout/base/nsDocumentViewer.cpp:1022:21
#8 0x7fe8221d54a7 in nsDocumentViewer::Init(nsIWidget*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&) src/layout/base/nsDocumentViewer.cpp:772:10
#9 0x7fe824cbe7ea in nsDocShell::SetupNewViewer(nsIContentViewer*) src/docshell/base/nsDocShell.cpp:8845:7
#10 0x7fe824cbd342 in nsDocShell::Embed(nsIContentViewer*, char const*, nsISupports*) src/docshell/base/nsDocShell.cpp:6655:17
#11 0x7fe824ccaf50 in nsDocShell::CreateAboutBlankContentViewer(nsIPrincipal*, nsIURI*, bool, bool) src/docshell/base/nsDocShell.cpp:7534:14
#12 0x7fe824d4f968 in nsWebShellWindow::Initialize(nsIXULWindow*, nsIXULWindow*, nsIURI*, int, int, bool, nsITabParent*, mozIDOMWindowProxy*, nsWidgetInitData&) src/xpfe/appshell/nsWebShellWindow.cpp:233:21
#13 0x7fe824d4a099 in nsAppShellService::JustCreateTopWindow(nsIXULWindow*, nsIURI*, unsigned int, int, int, bool, nsITabParent*, mozIDOMWindowProxy*, nsWebShellWindow**) src/xpfe/appshell/nsAppShellService.cpp:742:25
#14 0x7fe824d49349 in nsAppShellService::CreateHiddenWindowHelper(bool) src/xpfe/appshell/nsAppShellService.cpp:140:8
#15 0x7fe82551175f in nsAppStartup::CreateHiddenWindow() src/toolkit/components/startup/nsAppStartup.cpp:254:27
#16 0x7fe825745c79 in XREMain::XRE_mainRun() src/toolkit/xre/nsAppRunner.cpp:4660:22
#17 0x7fe825748803 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:4909:8
#18 0x7fe82574a1a8 in XRE_main(int, char**, mozilla::BootstrapConfig const&) src/toolkit/xre/nsAppRunner.cpp:5001:21
#19 0x4f20cc in do_main src/browser/app/nsBrowserApp.cpp:233:22
#20 0x4f20cc in main src/browser/app/nsBrowserApp.cpp:311
#21 0x7fe8373fef44 in __libc_start_main /build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:287
#22 0x4216e8 in _start (firefox+0x4216e8)
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
Here is a try run where it is trigger on launch.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ca1555c929ff126ea1ba7cf92898d2b22518ccf&selectedJob=190346924
Updated•6 years ago
|
Assignee: nobody → stransky
Updated•6 years ago
|
Assignee: stransky → nobody
Comment 2•6 years ago
|
||
Priority: -- → P5
This seems more like a duplicate of bug 1405142 than a see also.
Reporter | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Whiteboard: [fuzzblocker]
You need to log in
before you can comment on or make changes to this bug.
Description
•