Opened 5 years ago
Last modified 5 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 |
Attachments (2)
Change History (6)
by , 5 years ago
Attachment: | test_app_server-8391-debug-08-01-2020-10-41-29.report added |
---|
by , 5 years ago
Attachment: | test_app_server-8391-debug-08-01-2020-10-41-29.2.report added |
---|
Crash report.
comment:2 by , 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.
comment:3 by , 5 years ago
Component: | - General → Kits/Application Kit |
---|
comment:4 by , 5 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...
Build log.