[haiku-bugs] [Haiku] #5676: BMessage::PrintToStream crashes on Int8

  • From: "MrSunshine" <trac@xxxxxxxxxxxx>
  • Date: Sat, 03 Apr 2010 18:31:00 -0000

#5676: BMessage::PrintToStream crashes on Int8
----------------------------------+-----------------------------------------
 Reporter:  MrSunshine            |       Owner:  axeld         
     Type:  bug                   |      Status:  new           
 Priority:  normal                |   Milestone:  R1            
Component:  Kits/Application Kit  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:                
----------------------------------+-----------------------------------------
 {{{
 #include <stdio.h>
 #include <app/Message.h>
 #include <support/DataIO.h>
 #include <string.h>

 int main() {
         BMessage msg;

         msg.AddInt8("testing", 8);

         msg.PrintToStream();

         return 0;
 }

 }}}


 crashes for me with latest rev of haiku r36029
 Works fine with Int16 or Int32 tho

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

Other related posts: