MacOS 10.5.58 PPC - Errors on launching Ryzom

Added by Jeru over 4 years ago

After compiling Ryzom, add the datas in the ryzom app folder and edited the config.cfg file for the absolute path bug, i get this errors in the client.log file :

2011/01/30 22:35:12 <Unknown> WRN a0a48820 path.cpp 1301 : PATH: CPath::addSearchBigFile(/Applications/ryzom_client.app/Contents/Resources/data/characters_animations.bnp, 0, 0): can't add the big file
2011/01/30 22:35:12 <Unknown> WRN a0a48820 path.cpp 1301 : PATH: CPath::addSearchBigFile(/Applications/ryzom_client.app/Contents/Resources/data/characters_maps_fy_hof_armor00_hr.bnp, 0, 0): can't add the big file
2011/01/30 22:35:12 <Unknown> AST a0a48820 common.cpp 810 : "(offset < SINT64_CONSTANT(2147483647)) && (offset > SINT64_CONSTANT(-2147483648))" 
-------------------------------
User Crash Callback:
-------------------------------
UserId: 4294967295
HomeId: 0
ShardId: 0
On a Mainland Shard
Application: ryzom_open
No user entity information
ViewPosition: 0.00 0.00 0.00
Time in game: 0h 0min 0sec
LocalTime: 2011/01/30 22:35:12
ServerTick: 0
ConnectState: NotInitialised
LocalAddress: :0 (0.0.0.0)
Language: <NotExist:LanguageName>
ClientVersion: RYZOM CORE
PatchVersion: 
Client is online
NumServerHOP: 0
NumFarTP: 0
NumReselectPerso: 0
Connection Events: 
Memory: 4563296TB/5242880TB
Process Virtual Memory: 0B
OS: Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
Processor: Unknown / Power Macintosh Family 0 Model 0 Stepping 0 / Unknown / 1499MHz / 1 Processors found
CPUID: 0
HT: NO
CpuMask: 0
NeL3D: No driver
No sound
-------------------------------
 

I don't know what to do to help here. Thanks for your help :)


Replies (7)

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by Jeru over 4 years ago

The complete Log when Launching Ryzom as an standard application.

client.log - Log file (5.9 kB)

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by sfb over 4 years ago

Jeru,

This is interesting because it says that our assumption about the size of a 64bit integer is incorrect on PowerPC. Can you see if you can find out what the limits are for a uint64_t on your platform or what the limits of an LL are?

Thank you,
sfb
/s

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by kervala over 4 years ago

Please could you added before line 810 a : nlwarning("nlfseek64 offset = %"NL_I64"d", offset);

and copy the value here :)

It seems like this is a endianess problem (see your reported memory), nobody tried since so it's a great occasion to check it.

We have to check in all (de)serialization if endianness macros are used.

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by Jeru over 4 years ago

Hi ! Thanks for the answer.

After some debug, thanks to rti for the way to do it, it seems the offset value is wrong. So the errors don't comes from the uint64 limits.

Kervala : I'll make the test and post the log again.

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by Jeru over 4 years ago

The new generated log :)

client.log (9.4 kB)

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by kervala over 4 years ago

Thanks, it confirms what I thought :)

2011/02/01 12:39:10 WRN 2695137312 <Unknown> common.cpp 810 nlfseek64 : nlfseek64 offset = 1626131460

I don't think we have BNP files which exceed 1 GB :)

We need to fix that :(

RE: MacOS 10.5.58 PPC - Errors on launching Ryzom - Added by Naush over 4 years ago

Effectively
0X034EE81F is 55 618 315 this is the last 4 bytes on data/characters_animations.bnp

but Nel is doing nlfseek64 offset = 535318019 wich is 0x1FE84E03

in big_file.cpp ~ 151 value readed with fread should be passed thru NLMISC_BSWAP(16|32) ?

Happy patching :)

(1-7/7)