[Bug 2257] Crash due to _fini

Wine Bugs wine-bugs at winehq.org
Tue Nov 8 19:36:55 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2257


fenix at club-internet.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From fenix at club-internet.fr  2005-08-11 19:36 -------
This crash occured    
on call of GetCurrentDirectoryA here:  
  
char* _getcwd(char * buf, int size)   
{   
  char dir[MAX_PATH];   
  int dir_len = GetCurrentDirectoryA(MAX_PATH,dir);   
...  
  
Because msvcrt.dll.so don't have been loaded using wine dll loader who   
resolver import tables. In you case the import table is unitialised so it crsh  
when you call imported call GetCurrentDirectoryA  
  
Please use winelib and LoadLibrary if you want to do dynamic loading of  
wine libraries.  
 
Regards,  
Raphael  
   

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list