Opened 11 years ago
Last modified 10 years ago
#10403 in-progress bug
BeOS Compatibility issues on x86_gcc2 hrev46660
Reported by: | kallisti5 | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System | Version: | R1/Development |
Keywords: | compatibility | Cc: | |
Blocked By: | #4246, #8579, #11128 | Blocking: | |
Platform: | All |
Description (last modified by )
Testing of the BeOS 5.0.3 applications on hrev46660 result in several missing symbols, crashes, and KDL's.
Minor issues:
BeMail: Missing decode_base64_FPcT0xb CDBurner: Missing Invoke_15BColumnListViewP8BMessage GLTeapot: Missing gluPerspective Installer: Missing VolumeName_C9Partition NetPositive: Missing encode_base64_FPcT0x PoorMan: Missing _start_thread
Crashes:
CodyCam: Crash (only seen once, false positive?) DiskProbe: Crash (only seen once, false positive?) Clock: Crash (only seen once, false positive?) Chart: Crash (only seen once, false positive?) MediaPlayer: Crash (attached)
KDLs:
CDPlayer: KDL (attached) (duplicate of #4246)
Attachments (6)
Change History (21)
by , 11 years ago
Attachment: | cdplayer-kdl-46660 added |
---|
by , 11 years ago
Attachment: | Chart-918-debug-12-01-2014-19-20-37.report added |
---|
by , 11 years ago
Attachment: | Clock-960-debug-12-01-2014-19-20-51.report added |
---|
by , 11 years ago
Attachment: | CodyCam-987-debug-12-01-2014-19-21-08.report added |
---|
by , 11 years ago
Attachment: | DiskProbe-1014-debug-12-01-2014-19-21-19.report added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | MediaPlayer-1603-debug-12-01-2014-19-32-27.report added |
---|
comment:2 by , 11 years ago
Description: | modified (diff) |
---|
comment:3 by , 11 years ago
Description: | modified (diff) |
---|
comment:4 by , 11 years ago
comment:5 by , 11 years ago
Looks like things looking for the base64 stuff are looking for C++ symbols, while we define C symbols in libbe...
~> readelf -s /BeOS\ 5\ Pro\ Edition/beos/apps/NetPositive | grep UND | grep base 362: 00000000 478 FUNC GLOBAL DEFAULT UND encode_base64__FPcT0x 3531: 00000000 478 FUNC GLOBAL DEFAULT UND encode_base64__FPcT0x ~> readelf -s /boot/system/lib/libbe.so | grep base64 3391: 002528dc 416 FUNC GLOBAL DEFAULT 11 encode_base64@@LIBBE_BASE 5812: 00252a7c 412 FUNC GLOBAL DEFAULT 11 decode_base64@@LIBBE_BASE 4485: 002528dc 416 FUNC GLOBAL DEFAULT 11 encode_base64 6906: 00252a7c 412 FUNC GLOBAL DEFAULT 11 decode_base64 ~> ~> echo "encode_base64__FPcT0x" | c++filt encode_base64(char *, char *, long long)
comment:6 by , 11 years ago
~> grep -R _base64 /Data/code/haiku/headers/ /Data/code/haiku/headers/os/mail/mail_encoding.h:ssize_t encode_base64(char *out, const char *in, off_t length, int headerMode); /Data/code/haiku/headers/os/mail/mail_encoding.h:ssize_t decode_base64(char *out, const char *in, off_t length);
comment:7 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
kallisti5: please mark no-longer-broken crash reports as obsolete then? I'll look into that base64 issue...
comment:8 by , 11 years ago
Description: | modified (diff) |
---|
comment:9 by , 11 years ago
Description: | modified (diff) |
---|
comment:10 by , 11 years ago
Also, other non BeOS bundled apps have the same issue with 'decode_base64' (I assume it would have the same issue with 'encode_base64', if it could get that far.
Some of the Apps I just tried, that have this issue, are:
PostMaster 1.1.1 (full edition) BeInformed (The version that's on Haikuware.com)
This issue exists as of hrev46890.
comment:11 by , 11 years ago
I guess that this is caused by commit ab3fd9c828489bc13d6d26612ca7b013d6c187c , when we moved those methods to the support kit.
comment:12 by , 11 years ago
Status: | assigned → in-progress |
---|
No, the methods have been broken long before that, when czeidler changed the prototypes, causing them to not match BeOS ones.
I have a fix attempt locally, will test it before commiting it...
comment:13 by , 11 years ago
Blocked By: | 4246, 8579 added |
---|
The encode_base64 issue is #8579. Please open a dedicated ticket for each remaining issue (if any), that will be simpler to track.
comment:14 by , 11 years ago
Ok, so I fixed the encode_base64/decode_base64 issue (see relevant ticket). However, Net+ now crashes when trying to access a website, unless running with libroot debug (in that case you get the error page with Haiku message).
comment:15 by , 10 years ago
Blocked By: | 11128 added |
---|
I actually ran over all the crashing programs again (post-reboot), and they all worked minus MediaPlayer