https://bugs.winehq.org/show_bug.cgi?id=43459
Bug ID: 43459 Summary: Tally ERP 9 6.02 Accounting Software Product: Wine Version: 2.13 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rkmpalai@gmail.com Distribution: ---
Created attachment 58832 --> https://bugs.winehq.org/attachment.cgi?id=58832 Error log
Hello We were using Tally ERP9 Version 5.3.8 in wine 1.4.1. It was working fine. Recently we tried to install the latest version of Tally ERP9 6.0.2 (https://tallysolutions.com/download/) with wine. After installation the package is working fine in Educational mode. However when we try to "Reactivate the license" it fails with an error. Request you to kindly help us. Thank you.
https://bugs.winehq.org/show_bug.cgi?id=43459
rkmpalai@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical
https://bugs.winehq.org/show_bug.cgi?id=43459
rkmpalai@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=43459
rkmpalai@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rkmpalai@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Austin English austinenglish@gmail.com --- Not critical
https://bugs.winehq.org/show_bug.cgi?id=43459
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Status|UNCONFIRMED |RESOLVED URL| |http://tallymirror.tallysol | |utions.com/download_centre/ | |R6.0.2_GA/TE9/Online/setup. | |exe Resolution|--- |DUPLICATE Keywords| |download Summary|Tally ERP 9 6.02 Accounting |Tally ERP 9 6.02 Accounting |Software |Software license | |reactivation fails ('Tally | |Gateway Server' service | |needs | |'IOCTL_STORAGE_QUERY_PROPER | |TY' support)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, dupe of bug 21448
There is a component called "Tally Gateway Server 10.0" which is installed and run as service. It listens on port 9999 by default.
The service fails to query '\\.\PhysicalDrive0' using 'IOCTL_STORAGE_QUERY_PROPERTY' on startup and therefore exits.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Tally/Tally.ERP9
$ ls -1 0 capsules 2.1M regodbc64.exe 2.8M Setup.exe 332K tallycfg.tsf 5.6M tally.exe 4.0K tallygateway.ini 2.4M tallygatewayserver.exe 4.0K tally.ini 2.0M tallywin64.dat 1.3M tallywin.dat 4.0K tdlfunc.log --- snip---
--- snip --- AUTOINSTALL=0 LicServiceName=Tally Gateway Server 10.0 LicServiceDisplayName=Tally Gateway Server 10.0 License Path=C:\Program Files\Tally\Tally.ERP9 LicServerPort=9999 --- snip ---
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Tally/Tally.ERP9
$ WINEDEBUG=+tid,+seh,+relay,+service,+ntdll,+file,+server wine ./tally.exe
log.txt 2>&1
002a:Call KERNEL32.CreateFileA(0110e5b0 "\\.\PhysicalDrive0",00000000,00000003,00000000,00000003,00000000,00000000) ret=0052cb02 002a:trace:file:CreateFileW L"\\.\PhysicalDrive0" QUERY_ACCESS FILE_SHARE_READ FILE_SHARE_WRITE creation 3 attributes 0x0 002a:trace:file:RtlDosPathNameToNtPathName_U (L"\\.\PhysicalDrive0",0x110e1a4,(nil),(nil)) 002a:trace:file:RtlGetFullPathName_U (L"\\.\PhysicalDrive0" 520 0x110dee4 (nil)) 002a:trace:ntdll:FILE_CreateFile handle=0x110e198 access=00100000 name=L"\??\PhysicalDrive0" objattr=00000040 root=(nil) sec=(nil) io=0x110e19c alloc_size=(nil) attr=00000000 sharing=00000003 disp=1 options=00000060 ea=(nil).0x00000000 002a: open_file_object( access=00100000, attributes=00000040, rootdir=0000, sharing=00000003, options=00000060, filename=L"\??\PhysicalDrive0" ) 002a: open_file_object() = 0 { handle=0070 } 002a:trace:file:CreateFileW returning 0x70 002a:Ret KERNEL32.CreateFileA() retval=00000070 ret=0052cb02 002a:Call KERNEL32.DeviceIoControl(00000070,002d1400,0110e31c,0000000c,0110e328,00000008,0110e30c,00000000) ret=0052cb4f 002a:trace:file:DeviceIoControl (0x70,2d1400,0x110e31c,12,0x110e328,8,0x110e30c,(nil)) 002a:trace:ntdll:NtDeviceIoControlFile (0x70,(nil),(nil),(nil),0x110e250,0x002d1400,0x110e31c,0x0000000c,0x110e328,0x00000008) 002a: get_handle_fd( handle=0070 ) 002a: get_handle_fd() = BAD_DEVICE_TYPE { type=0, cacheable=1, access=00000000, options=00000000 } 002a: ioctl( code=002d1400, async={handle=0070,event=0000,iosb=0110e250,user=0021fad8,apc=00000000,apc_context=00000000}, in_data={00,00,00,00,00,00,00,00,00,00,00,00} ) 002a: ioctl() = PENDING { wait=0074, options=00000000, out_data={} } 002a: select( flags=2, cookie=0110df0c, timeout=infinite, prev_apc=0000, result={}, data={WAIT_ALL,handles={0074}} ) 002a: select() = PENDING { timeout=infinite, call={APC_NONE}, apc_handle=0000 } 002a: *wakeup* signaled=192 002a: select( flags=2, cookie=0110df0c, timeout=infinite, prev_apc=0000, result={}, data={WAIT_ALL,handles={0074}} ) 002a: select() = USER_APC { timeout=infinite, call={APC_ASYNC_IO,user=0021fad8,sb=0110e250,status=NOT_SUPPORTED}, apc_handle=0078 } 002a: select( flags=2, cookie=0110df0c, timeout=infinite, prev_apc=0078, result={APC_ASYNC_IO,status=NOT_SUPPORTED,total=0}, data={WAIT_ALL,handles={0074}} ) 002a: select() = 0 { timeout=infinite, call={APC_NONE}, apc_handle=0000 } 002a:Ret KERNEL32.DeviceIoControl() retval=00000000 ret=0052cb4f ... 002a:Call KERNEL32.GetLastError() ret=0056d354 002a:Ret KERNEL32.GetLastError() retval=00000032 ret=0056d354 ... 002a:Call KERNEL32.CreateFileW(00af1ce4 L"tallyerr.log",40000000,00000003,0110d114,00000004,00000080,00000000) ret=00577139 002a:Ret KERNEL32.CreateFileW() retval=00000074 ... 002a:Call KERNEL32.ExitProcess(00000001) ret=00565549 --- snip ---
0x002d1400 -> IOCTL_STORAGE_QUERY_PROPERTY
--- snip --- $ find ~/.wine/drive_c/ -iname tallyerr.log /home/focht/.wine/drive_c/windows/tallyerr.log
$ cat /home/focht/.wine/drive_c/windows/tallyerr.log
- - - - - - * E R R O R * - - - - - - - - - 31-07-2017 16:29:00, PID: 33 Out of memory. --- snip ---
ProtectionID scan:
--- snip --- -=[ ProtectionID v0.6.8.5 DECEMBER]=- (c) 2003-2017 CDKiLLER & TippeX Build 24/12/16-13:09:21 Ready... Scanning -> C:\Program Files\Tally\Tally.ERP9\tally.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 5802168 (05888B8h) Byte(s) | Machine: 0x14C (I386) Compilation TimeStamp : 0x5960E7C0 -> Sat 08th Jul 2017 14:10:08 (GMT) [TimeStamp] 0x5960E7C0 -> Sat 08th Jul 2017 14:10:08 (GMT) | PE Header | - | Offset: 0x00000140 | VA: 0x00400140 | - [TimeStamp] 0x5960E7C0 -> Sat 08th Jul 2017 14:10:08 (GMT) | Export | - | Offset: 0x004CAAAC | VA: 0x016024AC | - -> File Appears to be Digitally Signed @ Offset 0585400h, size : 034B8h / 013496 byte(s) [!] Executable uses TLS callbacks (1 total... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000000000001001101001100000111 (0x0004D307) [Entrypoint Section Entropy] : 7.94 (section #6) ".vmp1 " | Size : 0x581E48 (5774920) byte(s) [DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA [SectionCount] 9 (0x9) | ImageSize 0x12BE000 (19652608) byte(s) [Export] 0% of function(s) (0 of 5) are in file | 0 are forwarded | 4 code | 0 data | 0 uninit data | 0 unknown | [VersionInfo] Company Name : Tally Solutions Pvt. Ltd. [VersionInfo] Product Name : Tally.ERP 9 [VersionInfo] Product Version : Series A Release 6.0 [VersionInfo] File Description : Tally.ERP 9 [VersionInfo] File Version : 1.0.6.0 [VersionInfo] Internal Name : tally.exe [VersionInfo] Legal Copyrights : © Tally Solutions Pvt. Ltd.. 1988-2017 [ModuleReport] [IAT] Modules -> KERNEL32.dll | ole32.dll | OLEAUT32.dll | USER32.dll | WINSPOOL.DRV | GDI32.dll | NETAPI32.dll | WININET.dll | WSOCK32.dll | ODBC32.dll | COMCTL32.dll | ADVAPI32.dll | SHELL32.dll | VERSION.dll | MPR.dll | SHLWAPI.dll | WS2_32.dll | MSIMG32.dll | IPHLPAPI.DLL | CRYPT32.dll | KERNEL32.dll | KERNEL32.dll [!] Ubisoft UBX detected ! [!] VM Protect detected ! [CompilerDetect] -> Borland Delphi (unknown version) - 20% probability - Scan Took : 1.967 Second(s) [000000409h (1033) tick(s)] [506 of 580 scan(s) done]
Scanning -> C:\Program Files\Tally\Tally.ERP9\tallygatewayserver.exe File Type : 32-Bit Exe (Subsystem : Win CUI / 3), Size : 2479288 (025D4B8h) Byte(s) | Machine: 0x14C (I386) Compilation TimeStamp : 0x5960E78D -> Sat 08th Jul 2017 14:09:17 (GMT) [TimeStamp] 0x5960E78D -> Sat 08th Jul 2017 14:09:17 (GMT) | PE Header | - | Offset: 0x00000138 | VA: 0x00400138 | - -> File Appears to be Digitally Signed @ Offset 025A000h, size : 034B8h / 013496 byte(s) [!] Executable uses TLS callbacks (1 total... 0 invalid addresses) [File Heuristics] -> Flag #1 : 00000000000001001101001100000111 (0x0004D307) [Entrypoint Section Entropy] : 7.94 (section #6) ".vmp1 " | Size : 0x258D34 (2460980) byte(s) [DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA [SectionCount] 9 (0x9) | ImageSize 0x5DC000 (6144000) byte(s) [Export] 0% of function(s) (0 of 1) are in file | 0 are forwarded | 0 code | 0 data | 0 uninit data | 0 unknown | [VersionInfo] Company Name : Tally Solutions Pvt. Ltd. [VersionInfo] Product Name : Tally [VersionInfo] Product Version : Version 10.0 [VersionInfo] File Description : Tally Gateway Server [VersionInfo] File Version : 10.0.0.0 [VersionInfo] Internal Name : tallygatewayserver.exe [VersionInfo] Legal Copyrights : © Tally Solutions Pvt. Ltd.. 1988-2017 [ModuleReport] [IAT] Modules -> KERNEL32.dll | USER32.dll | WSOCK32.dll | ADVAPI32.dll | ole32.dll | OLEAUT32.dll | NETAPI32.dll | WININET.dll | VERSION.dll | MPR.dll | SHLWAPI.dll | WS2_32.dll | IPHLPAPI.DLL | CRYPT32.dll | KERNEL32.dll | KERNEL32.dll [!] Ubisoft UBX detected ! [!] VM Protect detected ! [CompilerDetect] -> Borland Delphi (unknown version) - 20% probability - Scan Took : 0.593 Second(s) [000000251h (593) tick(s)] [506 of 580 scan(s) done] --- snip ---
$ sha1sum setup.exe e61fa0cf71cfe3b9fb16b749387deea8ef8b2cf9 setup.exe
$ du -sh setup.exe 2.8M setup.exe
$ wine --version wine-2.13-94-g5d9a4c4dbd
Regards
*** This bug has been marked as a duplicate of bug 21448 ***
https://bugs.winehq.org/show_bug.cgi?id=43459
--- Comment #3 from rkmpalai@gmail.com --- Thanks for your prompt reply. Can you please guide me as to how to run the Tally ERP9 6.02 program in wine?
https://bugs.winehq.org/show_bug.cgi?id=43459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=43459
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://tallymirror.tallysol |https://web.archive.org/web |utions.com/download_centre/ |/20201202114318/http://tall |R6.0.2_GA/TE9/Online/setup. |ymirror.tallysolutions.com/ |exe |download_centre/R6.0.2_GA/T | |E9/Online/setup.exe