[b37] Multiple teaa addons cause ToME to hang
Posted: Tue Jan 17, 2012 4:27 am
Tiger_eye and I have done fairly extensive testing on the following two addons:
If you have both of these "teaa" files loading then ToME will hang in an infinite PHYSFS recursion. Here is an excerpt from my OSX stack trace:
The last bit of stdout:
If we comment out the "overload = true" from the example addon's "init.lua" then ToME loads ok (stdout below).
Now, if we do not use "tome-example.teaa" and instead use an uncompressed "tome-example" directory ToME loads fine even with "overload = true" (stdout below).
The best that we can figure is some strange PHYSFS mounting, and that is firmly in DG's territory. Or to be delayed for a much later time. 
If you have both of these "teaa" files loading then ToME will hang in an infinite PHYSFS recursion. Here is an excerpt from my OSX stack trace:
Code: Select all
User stack:
17 PHYSFS_exists + 17 (in T-Engine) [0x60abf]
17 PHYSFS_getRealDir + 381 (in T-Engine) [0x6036e]
17 BIND_PHYSFS_exists + 80 (in T-Engine) [0x72cfd]
17 PHYSFS_exists + 17 (in T-Engine) [0x60abf]
17 PHYSFS_getRealDir + 381 (in T-Engine) [0x6036e]
17 BIND_PHYSFS_exists + 80 (in T-Engine) [0x72cfd]
17 PHYSFS_exists + 17 (in T-Engine) [0x60abf]
Code: Select all
Checking addon tome-bugfixes-b37-v6.teaa :: (as dir) false :: (as teaa) 21
Checking addon tome-example.teaa :: (as dir) false :: (as teaa) 13
Binding addon Bug-fixes for ToME beta 37 /addons/tome-bugfixes-b37-v6.teaa tome-bugfixes_b37-3.9.37
* with data
* with superload
* with overload
* with hooks
Binding addon Example Addons for ToME /addons/tome-example.teaa tome-example-3.9.37
* with data
* with superload
* with overload
[hangs here]
Code: Select all
Checking addon tome-bugfixes-b37-v6.teaa :: (as dir) false :: (as teaa) 21
Checking addon tome-example.teaa :: (as dir) false :: (as teaa) 13
Binding addon Bug-fixes for ToME beta 37 /addons/tome-bugfixes-b37-v6.teaa tome-bugfixes_b37-3.9.37
* with data
* with superload
* with overload
* with hooks
Binding addon Example Addons for ToME /addons/tome-example.teaa tome-example-3.9.37
* with data
* with superload
* with hooks
[PROFILE] mounted offline on /current-profile
[proceeds normally]
Code: Select all
Checking addon tome-bugfixes-b37-v6.teaa :: (as dir) false :: (as teaa) 21
Checking addon tome-example :: (as dir) true :: (as teaa) nil
Binding addon Bug-fixes for ToME beta 37 /addons/tome-bugfixes-b37-v6.teaa tome-bugfixes_b37-3.9.37
* with data
* with superload
* with overload
* with hooks
Binding addon Example Addons for ToME nil tome-example-3.9.37
* with data
* with superload
* with overload
* with hooks
[PROFILE] mounted offline on /current-profile
[proceeds normally]
