Ticket #1573 (closed bug: fixed)

Opened 15 months ago

Last modified 14 months ago

Sample Be program Xmas crashes with a divide error

Reported by: scottmc Owned by: marcusoverhagen
Priority: normal Milestone: R1
Component: - General Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

I downloaded the Be Sample code from BeBits and build most of the sample code. Most ran with no issues other than text not fitting inside buttons and such, but the xmas program crashed, attached is a screenshot. Something about a divide error.

Attachments

xmas-crash.png (111.9 KB) - added by scottmc 15 months ago.
HelloWorld.png (28.7 KB) - added by scottmc 15 months ago.

Change History

Changed 15 months ago by scottmc

Changed 15 months ago by scottmc

Changed 15 months ago by jackburton

  • owner changed from axeld to marcusoverhagen

XMas uses the BSound api. Currently that api is unimplemented in haiku, and I'm not sure we'll ever implement it, since it's marked as deprecated. Although, I think we should at least change the BSound methods to return B_ERROR instead of B_OK. In any case, reassigning to Marcus.

Changed 14 months ago by jackburton

I changed the BSound methods (r22962) to return errors instead of B_OK, since they aren't implemented (yet ?). Does this help ?

Changed 14 months ago by scottmc

Seems to work ok now, can close.

Changed 14 months ago by stippi

  • status changed from new to closed
  • resolution set to fixed

"Fixed" in r22962 it seems. (The cause of the crashing.)

Note: See TracTickets for help on using tickets.