Welcome, Guest. Please login or register.

Author Topic: a4000 csppc EXCEPTION ERROR ON RAMLIB_PPC WHEN OPENS WARD3D APSS!!!HELP!!! PROBLEM SOLVED!!  (Read 9356 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
It's some age old bug in Warp3D libraries someone never bothered to fix. Basically the library initialization overflows the stack.

ramlib Guru Meditation
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
@keropi

It's a bug. The Warp3D library init overflows the limited ramlib stack (just 2KB). It depends on the order of the library opening: If you manually open one of the sublibraries first it will hide the bug. Basically if the library init calls OpenLibrary any other diskbased libraries it will cause ramlib to recurse, eating away some of the stack area. If some of the the sublibraries are preloaded to memory the OpenLibrary will return immediately (rather than invoking ramlib again) and not cause further ramlib recursion.

Also, the crash might not happen unpatched system, or if you're just lucky and there's no critial data before the ramlib stack.

The same bug plagued multiple libraries from the same authors. The probram and the solution were brought to their attention years ago, nothing happened.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
@tolishot

I told you already. See the earlier post.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/