[haiku-bugs] Re: [Haiku] #10209: [Message] crashes in BFont::StringWidth (was: [ScreenSaver] crashes in BFont::StringWidth)

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Sat, 16 Nov 2013 10:52:13 -0000

#10209: [Message] crashes in BFont::StringWidth
-------------------------------------+----------------------------
   Reporter:  diver                  |      Owner:  leavengood
       Type:  bug                    |     Status:  assigned
   Priority:  normal                 |  Milestone:  R1
  Component:  Add-Ons/Screen Savers  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------
Changes (by diver):

 * status:  new => assigned
 * owner:  jscipione => leavengood
 * component:  Preferences/ScreenSaver => Add-Ons/Screen Savers


Old description:

> This is hrev46374.
>
> I was trying to reproduce #4260 by going up and down the screensaver list
> when I hit another crash. I think it might have something to do with
> Message screensaver as it was the last screen saver selected before the
> crash 3 times I reproduced it.

New description:

 This is hrev46374.

 I was trying to reproduce #4260 by going up and down the screensaver list
 when I hit another crash. I think it might have something to do with
 Message screensaver as it was the last screen saver selected before the
 crash 3 times I reproduced it.


 {{{
 Frame       IP          Function Name
 16              -----------------------------------------------
 17              0x72882d28  0x1a63d89   BFont::StringWidth(BFont, char*) +
 0x25
 18          Disassembly:
 19              BFont::StringWidth(BFont, char*):
 [...]
 39              0x72882f68  0x15c55f6   Message::Draw(BView*, int32) +
 0x8de
 40              0x72882fb8  0x11ec085   ScreenSaverRunner::_Run() + 0x1d9
 41              0x72882fe8  0x11ec10a
 ScreenSaverRunner::_ThreadFunc(void*) + 0x1a
 42              0x72883010  0x25b316d   thread_entry + 0x21
 43              00000000    0x6034c250  commpage_thread_exit + 0
 }}}

--

Comment:

 Seems the crash happens somewhere in [http://cgit.haiku-
 os.org/haiku/tree/src/add-ons/screen_savers/message/Message.cpp#n170
 Message::Draw].

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #10209: [Message] crashes in BFont::StringWidth (was: [ScreenSaver] crashes in BFont::StringWidth) - diver