Opened 12 years ago

Closed 12 years ago

#8611 closed bug (fixed)

[Beam] crashes in BmToolbarButton::Draw ()

Reported by: diver Owned by: stpere
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc: zooey
Blocked By: Blocking:
Platform: All

Description

This is hrev44209, gcc4hybrid. Same thing with gcc2hybrid.

Beam-1.2alpha-x86-gcc2-2010-04-29.zip

Thread 607 caused an exception: Segment violation
[..]
[Switching to team /boot/apps/Beam/Beam (584) thread w>Beam (607)]
0x002a05b7 in BmToolbarButton::Draw ()
(gdb) bt
#0  0x002a05b7 in BmToolbarButton::Draw ()
#1  0x009b1120 in BView::_Draw () from /boot/system/lib/gcc2/libbe.so
#2  0x009b6899 in BWindow::DispatchMessage () from /boot/system/lib/gcc2/libbe.so
#3  0x009baed4 in BWindow::task_looper () from /boot/system/lib/gcc2/libbe.so
#4  0x008e087f in BLooper::_task0_ () from /boot/system/lib/gcc2/libbe.so
#5  0x00b1d6e3 in thread_entry () from /boot/system/lib/gcc2/libroot.so
#6  0x782bdfec in ?? ()
(gdb)
KERN: runtime_loader: /boot/apps/Beam/Beam_DeskbarItem: Could not resolve symbol '__ti5BView'
KERN: runtime_loader: /boot/apps/Beam/Beam_DeskbarItem: Troubles relocating: Symbol not found
KERN: bfs: bfs_rename:1106: No such file or directory
Last message repeated 1 time
KERN: bfs: bfs_stat_index:2117: No such file or directory
KERN: Last message repeated 3 times.
KERN: vm_soft_fault: va 0x31464000 not covered by area in address space
KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x31464d20, ip 0x2a05b7, write 0, user 1, thread 0x25f
KERN: vm_page_fault: thread "w>Beam" (607) in team "Beam" (584) tried to read address 0x31464d20, ip 0x2a05b7 ("Beam_seg0ro" +0xa05b7)
KERN: debug_server: Thread 607 entered the debugger: Segment violation
KERN: stack trace, current PC 0x2a05b7  Draw__15BmToolbarButtonG5BRect + 0xd3:
KERN:   (0x782bdccc)  0x9b1120  _Draw__5BViewG5BRect + 0x94
KERN:   (0x782bdd0c)  0x9b6899  DispatchMessage__7BWindowP8BMessageP8BHandler + 0x1849
KERN:   (0x782bdf1c)  0x9baed4  task_looper__7BWindow + 0x270
KERN:   (0x782bdf7c)  0x8e087f  _task0___7BLooperPv + 0x3f
KERN:   (0x782bdfac)  0xb1d6e3  thread_entry + 0x23

Beam from the same archive used to work just fine some time ago. Could be some kind of compatibility problem.

Change History (7)

comment:1 by diver, 12 years ago

Owner: changed from nobody to zooey
Status: newassigned

comment:2 by diver, 12 years ago

Works ok in hrev43864.

Version 1, edited 12 years ago by diver (previous) (next) (diff)

comment:3 by diver, 12 years ago

It has been broken somewhere between these revisions:

hrev43768 - works
hrev43798 - crashes.

comment:4 by diver, 12 years ago

BTW crash happens on toolbar mouse over.

comment:5 by diver, 12 years ago

Cc: zooey added
Component: ApplicationsKits/Interface Kit
Owner: changed from zooey to stpere

hrev43773 is the first crashing revision.

comment:6 by anevilyak, 12 years ago

The ABI break is due to the additional members added to BControlLook. If Beam is making use of that class, then an updated package should probably be built, as it's currently considered private/experimental.

comment:7 by humdinger, 12 years ago

Resolution: fixed
Status: assignedclosed

Newly built optional package "Beam-1.2alpha-x86-gcc2-2012-06-04.zip" fixes the crash. Committed with hrev44224.

Note: See TracTickets for help on using tickets.