Today i was trying to recompile the Decorator; builds ok, but after selected in appearance settings nothing happen, and go back to the latest decorator (dont falls in debuggerland, but dont works).
Now i compile the BeDecorator (the latest sources from github) but after selected from appearance, the debuggerland appears with a segment violation… so, im not sure what its happen. Here is the report attached from beDecorator, the problem seems to be the _getButtonSizeAndOffset method: any help of an expert is apreciated.
Edit: this is in hrev55228
Debug information for team /boot/system/servers/app_server (604):
CPU(s): 4x Intel Core™ i5-3317U
Memory: 5.79 GiB total, 658.54 MiB used
Haiku revision: hrev55228 Jul 12 2021 06:24:43 (x86_64)
Active Threads:
thread 604: app_server (main)
thread 614: DMT is here for you, eventually
thread 629: Font Manager
thread 630: screen manager
thread 679: d:0:baron
thread 680: a:610:x-vnd.Haiku-SystemLogger
thread 681: a:645:x-vnd.haiku.userlandfs-se
thread 682: a:667:x-vnd.dw-AutoFiler
thread 683: a:608:x-vnd.Haiku-powermanageme
thread 684: a:605:x-vnd.Haiku-mount_server
thread 686: a:678:x-vnd.Be-input_server
thread 695: event loop
thread 696: cursor loop
thread 704: a:692:x-vnd.Be-TRAK
thread 710: w:692:Desktop
thread 717: a:699:x-vnd.Be.media-server
thread 728: a:702:x-vnd.Be-TSKB
thread 730: w:702:Deskbar
thread 733: a:715:x-vnd.Haiku-notification_
thread 735: a:724:x-vnd.Be.addon-host
thread 737: w:715:Notification
thread 741: a:726:x-vnd.LnLauncher
thread 742: w:726:IconPanel
thread 750: w:726:IconPanel
thread 755: a:747:x-vnd.Haiku-keystore_serv
thread 774: w:702:Twitcher
thread 775: w:702:offscreen
thread 780: w:692:Tracker status
thread 786: w:692:objects.x86_64-cc8-releas
thread 788: w:692:decorators
thread 878: a:876:x-vnd.Haiku-Terminal
thread 880: w:876:Terminal: FlatDecorator:
thread 1118: w:1115:Appearance
thread 1124: team 604 debug task
thread 1117: a:1115:x-vnd.Haiku-Appearance
state: Exception (Segment violation)
Frame IP Function Name
-----------------------------------------------
0x7f561730e8e0 0x127641fb747 BeDecorator::_GetButtonSizeAndOffset(BRect const&, float*, float*, float*) const + 0x7
Disassembly:
BeDecorator::_GetButtonSizeAndOffset(BRect const&, float*, float*, float*) const:
0x00000127641fb740: 488b8720020000 mov 0x220(%rdi), %rax
0x00000127641fb747: 83784c19 cmp $0x19, 0x4c(%rax) <--
Frame memory:
[0x7f561730e8d8] b.Y-s... 62 e9 59 2d 73 01 00 00
0x7f561730e940 0x1732d59e95c Decorator::AddTab(DesktopSettings&, char const*, window_look, unsigned int, int, BRegion*) + 0xac
0x7f561730e9d0 0x1732d59b59a DecorAddOn::AllocateDecorator(Desktop*, DrawingEngine*, BRect, char const*, window_look, unsigned int) + 0xaa
0x7f561730ea10 0x1732d59b648 DecorManager::AllocateDecorator(Window*) + 0x68
0x7f561730eaa0 0x1732d596814 Window::ReloadDecor() + 0x64
0x7f561730eb50 0x1732d55b37e Desktop::ReloadDecor(DecorAddOn*) + 0xae
0x7f561730ebc0 0x1732d59bef8 DecorManager::SetDecorator(BString, Desktop*) + 0x98
0x7f561730f6e0 0x1732d57190b ServerApp::_DispatchMessage(int, BPrivate::LinkReceiver&) + 0x350b
0x7f561730f7b0 0x1732d574cf9 ServerApp::_MessageLooper() + 0x139
0x7f561730f7c0 0x1732d567437 MessageLooper::_message_thread(void*) + 0x7
0x7f561730f7e0 0x4ec04726a7 thread_entry + 0x17
00000000 0x7f5de9109260 commpage_thread_exit + 0
Registers:
rip: 0x00000127641fb747
rsp: 0x00007f561730e8d8
rbp: 0x00007f561730e930
rax: 0x0000000000000000
rbx: 0x000010fc6bc33820
rcx: 0x0000000000000000
rdx: 0x00000000ffffffff
rsi: 0x00007f561730e978
rdi: 0x000010fc6bec9a90
r8: 0x000010fc6bb54d3b
r9: 0x0000000000000000
r10: 0x0000000000000001
r11: 0x0000000000000001
r12: 0x000010fc6bec9a90
r13: 0x00000000ffffffff
r14: 0x000010fc6bec9a98
r15: 0x000010fc6bec9d10
cs: 0x002b
ds: 0x0000
es: 0x0000
fs: 0x0000
gs: 0x0000
ss: 0x0023
st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0, 0, 0, 0, 0, 0, 0, 0, 0}
ymm14: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
ymm15: {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
Loaded Images:
ID Text Base Text End Data Base Data End Type Name
--------------------------------------------------------------------------------
2306 0x2198d08000 0x2198d09000 0x2198f08000 0x2198f09000 lib /boot/system/lib/libicudata.so.66.1
2475 0x408a938000 0x408a953000 0x408ab53000 0x408ab54000 add-on /boot/system/add-ons/accelerants/intel_extreme.accelerant
2381 0x4092746000 0x4092827000 0x4092a27000 0x4092a29000 lib /boot/system/lib/libiconv.so.2.6.1
2313 0x4238a9b000 0x4238adb000 0x4238cda000 0x4238ce3000 lib /boot/system/lib/libnetwork.so
2307 0x4421206000 0x44214ee000 0x44216ed000 0x4421705000 lib /boot/system/lib/libicui18n.so.66.1
2304 0x4ec0435000 0x4ec0543000 0x4ec0743000 0x4ec0795000 lib /boot/system/lib/libroot.so
2302 0x5445bae000 0x5445d10000 0x5445f0f000 0x5445f23000 lib /boot/system/lib/libstdc++.so.6.0.25
2311 0x83d8247000 0x83d8263000 0x83d8462000 0x83d8463000 lib /boot/system/lib/libz.so.1.2.11
2310 0x95c7a53000 0x95c7c1c000 0x95c7e1c000 0x95c7e32000 lib /boot/system/lib/libicuuc.so.66.1
2312 0x9b60092000 0x9b6015e000 0x9b6035d000 0x9b6035e000 lib /boot/system/lib/libzstd.so.1.4.5
2378 0xa9e95b1000 0xa9e95ba000 0xa9e97ba000 0xa9e97bb000 lib /boot/system/lib/libintl.so.8.1.5
2309 0xaa1313c000 0xaa1316c000 0xaa1336b000 0xaa1339f000 lib /boot/system/lib/libicutu.so.66.1
2295 0xaaf10f2000 0xaaf11a6000 0xaaf13a6000 0xaaf13ad000 lib /boot/system/lib/libfreetype.so.6.17.4
2316 0xc112d60000 0xc112d70000 0xc112f6f000 0xc112f71000 lib /boot/system/lib/libbz2.so.1.0.8
2282 0xc1250af000 0xc125116000 0xc125315000 0xc12531a000 lib /boot/system/lib/libbnetapi.so
2315 0xcc1bce2000 0xcc1bd67000 0xcc1bf66000 0xcc1bf73000 lib /boot/system/lib/libssl.so.1.1
2281 0xcda65b3000 0xcda68cd000 0xcda6acc000 0xcda6afa000 lib /boot/system/lib/libbe.so
2280 0xcf7f810000 0xcf7f825000 0xcf7fa24000 0xcf7fa26000 lib /boot/system/lib/libtranslation.so
2314 0xf121321000 0xf121530000 0xf121730000 0xf12175f000 lib /boot/system/lib/libcrypto.so.1.1
2299 0xfcdb377000 0xfcdb472000 0xfcdb671000 0xfcdb674000 lib /boot/system/lib/libtextencoding.so
8105 0x127641f8000 0x12764200000 0x12764400000 0x12764401000 add-on /boot/home/config/non-packaged/add-ons/decorators/BeosDecorator