segmentation fault when running nux tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nux |
Fix Released
|
Low
|
Sam Spilsbury | ||
nux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I run:
make check
and when the tests start I get the following errors in .xtest-text-entry:
./xtest-text-entry
nux::logging:
Nux: Gpu Vendor: Intel Open Source Technology Center
Nux: Gpu Renderer: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2
Nux: Gpu OpenGL Version: 3.0 Mesa 9.0
Nux: Gpu OpenGL Major Version: 3
Nux: Gpu OpenGL Minor Version: 0
Nux: The GraphicsEngine is using the GLSL shader code path.
Nux: [IBusIMEContext
Nux: TextEntry created: Ok
Nux: Typed "Nux": Ok
make[2]: *** [test-apps] Segmentation fault (core dumped)
make[2]: Leaving directory `/shared/
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/shared/
make: *** [check-recursive] Error 1
Further information:
The test segfaults in the signal handler for SetKeyFocusArea after calling nux::GetWindowT
Fixing this requires some framework in nux to communicate with window threads outside of the event system.
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 958 lines (+667/-18)8 files modifiedNux/MainLoopGLib.cpp (+96/-0)
Nux/MainLoopGLib.h (+21/-0)
Nux/ProgramFramework/ProgramTemplate.cpp (+102/-1)
Nux/ProgramFramework/ProgramTemplate.h (+26/-0)
Nux/WindowThread.cpp (+108/-5)
Nux/WindowThread.h (+26/-0)
tests/gtest-nux-windowthread.cpp (+257/-8)
tests/xtest-text-entry.cpp (+31/-4)
Changed in nux: | |
assignee: | nobody → Eleni Maria Stea (hikiko) |
Changed in nux: | |
assignee: | Eleni Maria Stea (hikiko) → nobody |
Changed in nux: | |
assignee: | nobody → Eleni Maria Stea (hikiko) |
Changed in nux: | |
importance: | Undecided → Low |
Changed in nux: | |
assignee: | Eleni Maria Stea (hikiko) → Sam Spilsbury (smspillaz) |
status: | New → Confirmed |
description: | updated |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:nux at revision None, scheduled for release in nux, milestone 4.0