L3DT users' community
Large 3D terrain generator

bug in/around GetMapHandle on multi-proc system

Please report software faults here.

bug in/around GetMapHandle on multi-proc system

Postby fusi » Mon Mar 03, 2008 11:40 pm

Hi just thought id let you know im getting strange bugs with the generation process (any part of it really) - im running on a dual processor system, just to muck it up a bit heh - heres the error log of one such occurance:

CMosaicMemTable::GetMapHandle error
- MemMap in question is not in use

CMosaicMap::GetPixel error
- cannot get SubMap handle from MemTable

zeofunc_calc_TX_GenArea error:
- cannot get AM pixel (2)

CZeoFunc::CallFunction error:
- The function 'GenArea' in the plugin 'L3DT-CORE' returned an error.

threadman_TileThreadProc error:
- call to tile function failed (threaded case)

threadman_RunTiles error:
- calculation aborted following errors

calc_TX_GenMapAA error
- call to calcman failed

calc_TX_GenMapAA error
- Operation failed or was aborted by user

cheers
fusi

BTW im using:

Version: Pro 2.5b build 17
Build date: 06-Nov-07
fusi
Member
 
Posts: 23
Joined: Sat Mar 24, 2007 11:33 pm

Postby Aaron » Thu Mar 06, 2008 8:17 pm

Hi Fusi,

I apologise for my slow reply. This seems to be the same bug that Dennis reported a short while ago. I believe this is a bug in the cache handling in multithreaded builds, but it only seems to happen under specific conditions that I've not yet reproduced. I'm working on a fix for this, but in the mean-time you can avoid this error if you temporarily disable multithreading in L3DT (see here for instructions).

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby duke » Sat Mar 08, 2008 8:10 am

I just got a similar error while generating normals:

Code: Select all
CMosaicMemTable::GetMapHandle error
 - MemMap in question is not in use

CMosaicMap::SaveSubMap error
 - cannot get SubMap handle from MemTable for tile (11,0)

CMosaicMemTable::GetMapHandle error
 - MemMap in question is not in use

CMosaicMap::SetPixel error
 - cannot get SubMap handle from MemTable

CMapWrap::SetPixel general error

calc_TN_GenArea error
 - cannot set TN pixel

CZeoFunc::CallFunction error:
 - The function 'GenArea' in the plugin 'L3DT-CORE' returned an error.

threadman_TileThreadProc error:
 - call to tile function failed (threaded case)

threadman_RunTiles error:
 - calculation aborted following errors

calc_TN_GenMap error
 - call to calcman failed


(4 threads, Pro 2.5C/29Feb08)

Killed multi-threading in L3DT, no problems!
duke
Member
 
Posts: 10
Joined: Fri Feb 29, 2008 12:06 pm
Location: Melbourne, Australia

Postby Aaron » Mon Mar 10, 2008 7:03 am

Hi Fusi and Duke,

I think I've fixed this in the latest beta release on the downloads page (L3DT 2.5c beta 1 build 1, 10th of Mar '08). Please give it a try and let me know if it works / doesn't work.

If you've disabled multithreading, you can easily re-enable it using the new 'multithread settings' dialog box ('Settings->Multi-thread settings' in the menu).

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 7 guests

cron