[haiku-bugs] [Haiku] #12799: Unit test BClipboard::Clear1 crashes

  • From: "markh" <trac@xxxxxxxxxxxx>
  • Date: Wed, 25 May 2016 20:30:21 -0000

#12799: Unit test BClipboard::Clear1 crashes
--------------------------+------------------------------
 Reporter:  markh         |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  Unscheduled
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 When running the BClipboard::Clear1 test, the UnitTester application
 crashes.
 The debug log (attached to the ticket) shows the error to be "state: Call
 (The clipboard must be locked before proceeding.)".

 I checked the original BeBook and it says of the Clear call that it should
 return B_ERROR when the clipboard is not locked. The code of BClipboard
 however makes a jump into the debugger at this point. This seems
 incorrect.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12799>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: