[Bug 34564] New: RTX Server fail to import user template database with builtin msvcp60

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 21 10:37:42 CDT 2013


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

             Bug #: 34564
           Summary: RTX Server fail to import user template database with
                    builtin msvcp60
           Product: Wine
           Version: 1.7.2
          Platform: x86
               URL: http://dldir1.qq.com/foxmail/rtx/rtxserver2012formal.e
                    xe
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: msvcp
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: fracting at gmail.com
                CC: piotr.caban at gmail.com
        Depends on: 34552
    Classification: Unclassified


Created attachment 46016
  --> http://bugs.winehq.org/attachment.cgi?id=46016
Log: last 150000 line of +relay,+nls,+msvcp,+seh,+tid trace

Hello, this is next of Bug 34552

1.
winetricks -q mfc42 vbrun6 mdac28 jet40 , workaround for several missing
components / functions.

2. import odbc registry from Windows to Wine

3. run the installer

The installer will auto start UserManager.exe at the last.

The first time UserManager.exe runs, it will ask to import a user template
database, with native msvcp60 it success, with buitin it fails.

The relay log contains some related error messages like:
03fa:Call msvcrt.wcslen(003354ac L"Syntax error in string in query expres      
sion ''????????????????g'.") ret=019a9066

The relay log show the query exp as:
L"Insert into Sys_user(ID,UserName,Name,      
Pwd,Gender,UserVersion,UserRight,Mobile,Email,Phone,Face,UserType,Profile      
OpenLevel,BuddyAuth,LastLogonTime,AuthType) values(1001,'Hunter','\674e\6      
60e','',0,1,'????????????????g"

The UserRight field '????????????????g is suspect, according to log before, it
sound like converted from \3030\3030\3030\3030

03fa:trace:nls:WideCharToMultiByte cp 0 L"Insert into Sys_user(ID,UserNam      
e,Name,Pwd,Gender,UserVersion,UserRight,Mobile,Email,Phone,Face,UserType,      
ProfileOpenLevel,BuddyAuth,LastLogonTime,AuthType) values(1001,'Hunter','      
\674e\660e','',0,1,'\3030\3030\3030\3030\3030\3030\3030\3030\3030\3030\30      
30\3030\3030\3030\3030\3030g\0000" -> "Insert into Sys_user(ID,UserName,N      
ame,Pwd,Gender,UserVersion,UserRight,Mobile,Email,Phone,Face,UserType,Pro      
fileOpenLevel,BuddyAuth,LastLogonTime,AuthType) values(1001,'Hunter','\xc      
0\xee\xc3\xf7','',0,1,'????????????????g\x00", ret = 209


With native msvcp60, the UserRight field is converted to '00000000...' (don't
remember how many zero), that sounds like an ASCII conversion from
0x30303030,0x30303030,...

Guess some msvcp60 call before is incorrect, but I don't know which, will
attach related logs

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list