[haiku-bugs] Re: [Haiku] #5596: calling BMessage::PrintToStream() on an archived BPicture causes a crash

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Mar 2010 10:50:33 -0000

#5596: calling BMessage::PrintToStream() on an archived BPicture causes a crash
----------------------------------+-----------------------------------------
 Reporter:  jackburton            |       Owner:  axeld         
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1            
Component:  Kits/Application Kit  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------

Comment(by jackburton):

 Replying to [comment:2 jackburton]:

 > Which is already correct, though: it uses the passed size to print the
 string.
 > Maybe something becomes corrupt.

 Reproducible with the following test case:

 Add a string, an int32 and an int8 (in that order) to a BMessage and call
 PrintToStream().

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5596#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: