Opened 5 years ago

Last modified 4 years ago

#15613 new bug

libbe_test build produce invalid test_app_server

Reported by: X512 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Application Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev53693 x86 gcc2hybrid.

TARGET_PLATFORM=libbe_test jam -q -j2 install-test-apps produce 12.46 KiB test_app_server that crash on start. Maybe regression caused by hrev53692.

Attachments (2)

test_app_server-8391-debug-08-01-2020-10-41-29.report (12.0 KB ) - added by X512 5 years ago.
Build log.
test_app_server-8391-debug-08-01-2020-10-41-29.2.report (12.0 KB ) - added by X512 5 years ago.
Crash report.

Download all attachments as: .zip

Change History (6)

comment:1 by X512, 5 years ago

Reverting hrev53692 doesn't help.

comment:2 by X512, 5 years ago

I found that test_app_server is just wrapper for lib/libtestappserver.so, of file size is OK. x86_64 version of test_app_server is working.

Last edited 5 years ago by X512 (previous) (diff)

comment:3 by nielx, 5 years ago

Component: - GeneralKits/Application Kit

comment:4 by CodeforEvolution, 4 years ago

I can confirm that test_app_server is still broken on x86_gcc2 as of hrev54154. The crash is in BResourceFile, which throws an exception about an "invalid elf header size". This occurs while the locale kit is starting up in the initialize_locale_kit() method.

Through tests, I've found that the elf header size of the generated test_app_server is just fine: Normal 32bit elf header: 52 test_app_server elf header: 52 Max elf header: 96

This is the condition that it fails on: https://github.com/haiku/haiku/blob/master/src/kits/storage/ResourceFile.cpp#L528

I'm dumbfounded...

Note: See TracTickets for help on using tickets.