Mir

ClientLibraryErrorsDeathTest is dumping core, causing spurious problem reports (like this one)

Bug #1398088 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding mir. This problem was most recently seen with version 0.9.0+15.04.20141125-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/318a0132ff5aca50838dfffb9bdbe88d1edebf01 contains more details.

Tags: vivid
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, not a bug:

#2 0xb6a68b4e in __GI_abort () at abort.c:89
#3 0xb6da62de in mir_connection_create_surface (connection=0x1, params=0xbeb95834,
#4 0xb6da6424 in mir_connection_create_surface_sync (connection=<optimized out>,
#5 0x0019ebe2 in ClientLibraryErrorsDeathTest_createing_surface_on_garbage_connection_is_fatal_Test::TestBody (this=<optimized out>) at /build/buildd/mir-0.9.0+15.04.20141125/tests/acceptance-tests/test_client_library_errors.cpp:298
        gtest_sentinel = {test_ = 0x226fd80}

I'm sure this has been an issue before (duplicate?). We just have to stop it emitting SIGABRT and generating problem reports.

Changed in mir:
importance: Undecided → Low
Changed in mir (Ubuntu):
importance: Undecided → Low
summary: - /usr/bin/mir_acceptance_tests:6:mir_connection_create_surface:mir_connection_create_surface_sync:ClientLibraryErrorsDeathTest_createing_surface_on_garbage_connection_is_fatal_Test::TestBody:HandleSehExceptionsInMethodIfSupported:testing::internal::HandleExceptionsInMethodIfSupported
+ ClientLibraryErrorsDeathTest is emitting fatal signals, causing spurious
+ problem reports (like this one)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: ClientLibraryErrorsDeathTest is emitting fatal signals, causing spurious problem reports (like this one)

Also related: bug 1342092

Changed in mir:
status: New → Triaged
Changed in mir (Ubuntu):
status: New → Triaged
summary: - ClientLibraryErrorsDeathTest is emitting fatal signals, causing spurious
- problem reports (like this one)
+ ClientLibraryErrorsDeathTest is dumping core, causing spurious problem
+ reports (like this one)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

The abort in this (and related) tests is correct: it is the behaviour being tested for.

The error is in such tests being reported by Ubuntu Error Tracker - is there any way to flag executables as "do not error track"?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, just catch SIGABRT in the test and/or drop it completely [signal(SIGABRT, SIG_IGN)]

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We need a general solution for this. I'll put it in with bug 1342092

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.