[haiku-bugs] Re: [Haiku] #12271: Printing crashes application in BPrivate::PrintServerMessenger::RejectUserInput()

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Sat, 29 Aug 2015 12:46:34 -0000

#12271: Printing crashes application in
BPrivate::PrintServerMessenger::RejectUserInput()
----------------------+----------------------------
Reporter: diver | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------+----------------------------

Comment (by jackburton):

From a cursory look, one problem seems to be that the window default
button is set in BAlert::Go(), while it was set in the constructor before.
Since this code dereference DefaultButton() without checking for NULL,
this might very well be the cause of the crash.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12271#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: