Opened 17 years ago
Closed 17 years ago
#1573 closed bug (fixed)
Sample Be program Xmas crashes with a divide error
Reported by: | scottmc | Owned by: | marcusoverhagen |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
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 (2)
Change History (6)
by , 17 years ago
Attachment: | xmas-crash.png added |
---|
by , 17 years ago
Attachment: | HelloWorld.png added |
---|
comment:1 by , 17 years ago
Owner: | changed from | to
---|
comment:2 by , 17 years ago
I changed the BSound methods (hrev22962) to return errors instead of B_OK, since they aren't implemented (yet ?). Does this help ?
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
"Fixed" in hrev22962 it seems. (The cause of the crashing.)
Note:
See TracTickets
for help on using tickets.
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.