Closed Bug 1302850 Opened 8 years ago Closed 1 year ago

WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/keeler/mozilla-central/gfx/src/X11Util.cpp, line 66

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox51 --- affected

People

(Reporter: keeler, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

WARNING: ScopedXErrorHandler being called off main thread, may cause issues: 'NS_IsMainThread()', file /home/keeler/mozilla-central/gfx/src/X11Util.cpp, line 66

This happens whenever I run a locally-compiled mozilla-central on Fedora linux. Here's the stack that's causing it:

#0  0x00007fffe2e57ac4 in mozilla::ScopedXErrorHandler::ScopedXErrorHandler() (this=0x7fffc3cfe760) at /home/keeler/mozilla-central/gfx/src/X11Util.cpp:69
#1  0x00007fffe2e94aee in mozilla::gl::GLContextGLX::CreateGLContext(mozilla::gl::CreateContextFlags, mozilla::gl::SurfaceCaps const&, mozilla::gl::GLContextGLX*, bool, _XDisplay*, unsigned long, __GLXFBConfigRec*, bool, gfxXlibSurface*, mozilla::gl::ContextProfile) (flags=mozilla::gl::CreateContextFlags::NONE, caps=..., shareContext=0x0, isOffscreen=false, display=
    0x7fffcd45f000, drawable=237, cfg=0x7fffc3d664a0, deleteDrawable=false, pixmap=0x0, profile=mozilla::gl::ContextProfile::OpenGLCompatibility)
    at /home/keeler/mozilla-central/gfx/gl/GLContextProviderGLX.cpp:826
#2  0x00007fffe315176d in GLXVsyncSource::GLXDisplay::SetupGLContext() (this=0x7fffc9b2de40) at /home/keeler/mozilla-central/gfx/thebes/gfxPlatformGtk.cpp:730
#3  0x00007fffe31512ba in mozilla::detail::RunnableMethodArguments<>::applyImpl<GLXVsyncSource::GLXDisplay, void (GLXVsyncSource::GLXDisplay::*)()>(GLXVsyncSource::GLXDisplay*, void (GLXVsyncSource::GLXDisplay::*)(), mozilla::Tuple<>&, mozilla::IndexSequence<>) (o=0x7fffc9b2de40, m=(void (GLXVsyncSource::GLXDisplay::*)(GLXVsyncSource::GLXDisplay * const)) 0x7fffe3151530 <GLXVsyncSource::GLXDisplay::SetupGLContext()>, args=...) at /home/keeler/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nsThreadUtils.h:729
#4  0x00007fffe3151219 in mozilla::detail::RunnableMethodArguments<>::apply<GLXVsyncSource::GLXDisplay, void (GLXVsyncSource::GLXDisplay::*)()>(GLXVsyncSource::GLXDisplay*, void (GLXVsyncSource::GLXDisplay::*)()) (this=0x7fffcd4680b0, o=0x7fffc9b2de40, m=(void (GLXVsyncSource::GLXDisplay::*)(GLXVsyncSource::GLXDisplay * const)) 0x7fffe3151530 <GLXVsyncSource::GLXDisplay::SetupGLContext()>)
    at /home/keeler/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nsThreadUtils.h:735
#5  0x00007fffe3151072 in mozilla::detail::RunnableMethodImpl<void (GLXVsyncSource::GLXDisplay::*)(), true, false>::Run() (this=0x7fffcd468080)
    at /home/keeler/mozilla-central/obj-x86_64-pc-linux-gnu/dist/include/nsThreadUtils.h:764
#6  0x00007fffe1fc2f82 in MessageLoop::RunTask(already_AddRefed<mozilla::Runnable>) (this=0x7fffc3cfed30, aTask=...) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:346
#7  0x00007fffe1fc3689 in MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask&&) (this=0x7fffc3cfed30, pending_task=<unknown type in /home/keeler/mozilla-central/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so, CU 0x1361ff1, DIE 0x1399071>) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:354
#8  0x00007fffe1fc3876 in MessageLoop::DoWork() (this=0x7fffc3cfed30) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:429
#9  0x00007fffe1fc4487 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) (this=0x7fffcd45d220, delegate=0x7fffc3cfed30)
    at /home/keeler/mozilla-central/ipc/chromium/src/base/message_pump_default.cc:36
#10 0x00007fffe1fc2e25 in MessageLoop::RunInternal() (this=0x7fffc3cfed30) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:232
#11 0x00007fffe1fc2da5 in MessageLoop::RunHandler() (this=0x7fffc3cfed30) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:225
#12 0x00007fffe1fc2d7d in MessageLoop::Run() (this=0x7fffc3cfed30) at /home/keeler/mozilla-central/ipc/chromium/src/base/message_loop.cc:205
#13 0x00007fffe1fe5da8 in base::Thread::ThreadMain() (this=0x7fffc9b2dee0) at /home/keeler/mozilla-central/ipc/chromium/src/base/thread.cc:180
#14 0x00007fffe1fe679e in ThreadFunc(void*) (closure=0x7fffc9b2dee0) at /home/keeler/mozilla-central/ipc/chromium/src/base/platform_thread_posix.cc:38
#15 0x00007ffff7bc45ca in start_thread () at /lib64/libpthread.so.0
#16 0x00007ffff6e52f6d in clone () at /lib64/libc.so.6

(looks like it's the "GLXVsyncThread" thread)
Whiteboard: [gfx-noted]
Severity: normal → S3

Taking the freedom to close, doesn't appear to be a problem any more.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.