Hi, Am running program as follows : wine a3lim.exe Please find the below error and help me in fixing the same. [DBG] M.21>Loading REX meters from database wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 002e), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00000000 ESP:7ed37910 EBP:7ed37d9c EFLAGS:00010206( - 00 - RIP1) EAX:7c8c9258 EBX:60b6aacc ECX:7ca16f50 EDX:00000000 ESI:7ca16970 EDI:7c898ac0 Stack dump: 0x7ed37910: 60b50e7c 00000000 00000000 7ca16f50 0x7ed37920: 7ed37d82 7ed37d88 7ed37b82 00000200 0x7ed37930: 7ed37d8e 42444f78 445b5d43 65766972 0x7ed37940: 7ed37d8e 7ed37d88 7ed37b82 7ed37d82 0x7ed37950: 7ca16f50 00000000 00000000 726f7070 0x7ed37960: 68742074 66207369 74636e75 006e6f69 Backtrace: =>1 0x00000000 (0x7ed37d9c) 2 0x60b51b11 function_return_ex+0x281(level=3, handle=<register ESI not in topmost frame>, ret_code=-1, save_to_diag=0) [/root/unixODBC-2.2.12/DriverManager/__info.c:4791] in libodbc.so.1 (0x7ed37dbc) 3 0x60b28c3b SQLPrepare+0x31b(statement_handle=0x7ca16970, statement_text="select alphameter.irn, alphameter.phone, alphameter.service_disconnect_status, alphameter.is_disconnectable, alphameter.meterstyle_irn, alphameter.last_pseas_tou, lim_info_rex.demand_reset_count, lim_info_rex.isn, lim_info_rex.lp_timestamp, lim_info_rex.data_format, mips.rex.demand1type, mips.rex.demand2type, mips.rex.demand3type, mips.rex.demandinterval, mips.rex.loadprofileintervallength, mips.rex.kh, mips.rex.loadprofiledivisor, mips.rex.meteredquantity, mips.rex.meteredquantity2, mips.rex.demandinterval from rex_collector, alphameter, lim_info_rex, mips.rex where alphameter.irn = rex_collector.rex_irn and rex_collector.collector_irn = ? and lim_info_rex.irn = alphameter.irn and mips.rex.meter_id = alphameter.irn ", text_length=-3) [/root/unixODBC-2.2.12/DriverManager/SQLPrepare.c:252] in libodbc.so.1 (0x7ed37edc) 4 0x608863f9 SQLPrepare+0x49(StatementHandle=2090953072, StatementText="select alphameter.irn, alphameter.phone, alphameter.service_disconnect_status, alphameter.is_disconnectable, alphameter.meterstyle_irn, alphameter.last_pseas_tou, lim_info_rex.demand_reset_count, lim_info_rex.isn, lim_info_rex.lp_timestamp, lim_info_rex.data_format, mips.rex.demand1type, mips.rex.demand2type, mips.rex.demand3type, mips.rex.demandinterval, mips.rex.loadprofileintervallength, mips.rex.kh, mips.rex.loadprofiledivisor, mips.rex.meteredquantity, mips.rex.meteredquantity2, mips.rex.demandinterval from rex_collector, alphameter, lim_info_rex, mips.rex where alphameter.irn = rex_collector.rex_irn and rex_collector.collector_irn = ? and lim_info_rex.irn = alphameter.irn and mips.rex.meter_id = alphameter.irn ", TextLength=-3) [/home/oracle/wine-1.1.7/dlls/odbc32/proxyodbc.c:1408] in odbc32 (0x7ed37efc) 5 0x005d54e5 in a3lim (+0x1d54e5) (0x7ed37ff4) 6 0x004b8cd4 in a3lim (+0xb8cd4) (0x7edb3458) 7 0x004be0e3 in a3lim (+0xbe0e3) (0x7edb3584) 8 0x004dc503 in a3lim (+0xdc503) (0x7edb3984) 9 0x004dd2a9 in a3lim (+0xdd2a9) (0x7edb4044) 10 0x004d6e90 in a3lim (+0xd6e90) (0x7edb422c) 11 0x006537c4 in a3lim (+0x2537c4) (0x7edb434c) 12 0x006533ab in a3lim (+0x2533ab) (0x7edb4500) 13 0x00679b4d in a3lim (+0x279b4d) (0x7edb4874) 14 0x0061bc69 in a3lim (+0x21bc69) (0x7edb49e8) 15 0x781329aa in msvcr80 (+0x29aa) (0x7edb4a20) 16 0x78132a36 in msvcr80 (+0x2a36) (0x7edb4a38) 17 0x7bc6a212 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/home/oracle/wine-1.1.7/dlls/ntdll/thread.c:386] in ntdll (0x7edb4ad8) 18 0x7bc6a423 in ntdll (+0x5a423) (0x7edb53c8) 19 0x6015745b (0x7edb54b8) 0x00000000: -- no code accessible -- Modules: Module Address Debug info Name (80 modules) ELF 3d6000- 3db000 Deferred libxxf86vm.so.1 PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim PE 400000- 7a9000 Export a3lim ELF 8a4000- 8aa000 Deferred libxdmcp.so.6 ELF 8ac000- 8af000 Deferred libxau.so.6 ELF 8b1000- 8c1000 Deferred libxext.so.6 ELF 8c3000- 943000 Deferred libfreetype.so.6 ELF 953000- 982000 Deferred libfontconfig.so.1 ELF a94000- a9d000 Deferred libsm.so.6 ELF ac7000- ae1000 Deferred libice.so.6 ELF b07000- b10000 Deferred libxrender.so.1 ELF b12000- b1c000 Deferred libxcursor.so.1 ELF b1e000- b22000 Deferred libxrandr.so.2 ELF b24000- b27000 Deferred libxinerama.so.1 ELF b29000- b2e000 Deferred libxfixes.so.3 ELF b98000- b9b000 Deferred libxcomposite.so.1 ELF bb6000- bcd000 Deferred libnsl.so.1 ELF da4000- db7000 Deferred libresolv.so.2 ELF 4c17000- 4cf3000 Deferred libasound.so.2 ELF 6001c000-60152000 Deferred libwine.so.1 ELF 602d7000-602e2000 Deferred libnss_files.so.2 ELF 602e2000-603ed000 Deferred ole32<elf> \-PE 60300000-603ed000 \ ole32 ELF 603ed000-60440000 Deferred advapi32<elf> \-PE 60400000-60440000 \ advapi32 ELF 60440000-60586000 Deferred user32<elf> \-PE 60460000-60586000 \ user32 ELF 60586000-605ea000 Deferred rpcrt4<elf> \-PE 60590000-605ea000 \ rpcrt4 ELF 605ea000-60609000 Deferred iphlpapi<elf> \-PE 605f0000-60609000 \ iphlpapi ELF 6061c000-60702000 Deferred oleaut32<elf> \-PE 60630000-60702000 \ oleaut32 ELF 60702000-6076a000 Deferred msvcrt<elf> \-PE 60710000-6076a000 \ msvcrt ELF 6076a000-60783000 Deferred wsock32<elf> \-PE 60770000-60783000 \ wsock32 ELF 60783000-607af000 Deferred ws2_32<elf> \-PE 60790000-607af000 \ ws2_32 ELF 607af000-60840000 Deferred winmm<elf> \-PE 607c0000-60840000 \ winmm ELF 60840000-60859000 Deferred version<elf> \-PE 60850000-60859000 \ version ELF 60859000-6086d000 Deferred lz32<elf> \-PE 60860000-6086d000 \ lz32 ELF 6086d000-60892000 Dwarf odbc32<elf> \-PE 60870000-60892000 \ odbc32 ELF 608c1000-608df000 Deferred libexpat.so.0 ELF 608df000-60976000 Deferred winex11<elf> \-PE 608f0000-60976000 \ winex11 ELF 60adc000-60af3000 Deferred msacm32<elf> \-PE 60ae0000-60af3000 \ msacm32 ELF 60af3000-60b07000 Deferred midimap<elf> \-PE 60b00000-60b07000 \ midimap ELF 60b07000-60b6f000 Dwarf libodbc.so.1 ELF 60b6f000-60b72000 Deferred iso8859-1.so ELF 60b72000-60c04000 Deferred libsqora.so.11.1 ELF 60c1b000-625e8000 Deferred libclntsh.so.11.1 ELF 625e8000-625f9000 Deferred libodbcinst.so.1 ELF 625f9000-627a3000 Deferred libnnz11.so ELF 627a3000-627a5000 Deferred libaio.so.1 ELF 627a5000-627ab000 Deferred libnque11.so ELF 6f31e000-6f345000 Deferred msacm32<elf> \-PE 6f320000-6f345000 \ msacm32 ELF 75ea6000-75ec6000 Deferred imm32<elf> \-PE 75eb0000-75ec6000 \ imm32 ELF 77078000-77114000 Deferred gdi32<elf> \-PE 77090000-77114000 \ gdi32 PE 78130000-781cb000 Export msvcr80 ELF 7b800000-7b938000 Deferred kernel32<elf> \-PE 7b820000-7b938000 \ kernel32 ELF 7bc00000-7bca4000 Dwarf ntdll<elf> \-PE 7bc10000-7bca4000 \ ntdll ELF 7bf00000-7bf03000 Deferred <wine-loader> PE 7c420000-7c4a7000 Deferred msvcp80 Threads: process tid prio (all id:s are in hex) 00000008 0000003a 0 00000019 0 00000009 0 0000000c 00000012 0 0000000e 0 0000000d 0 0000000f 00000018 0 00000016 0 00000011 0 00000010 0 0000001c 0000001d 0 0000002c (D) Z:\home\oracle\BIN\a3lim.exe 00000034 0 00000032 0 00000031 0 00000030 0 0000002f 0 0000002e 0 <== 0000002d 0 Backtrace: =>1 0x00000000 (0x7ed37d9c) 2 0x60b51b11 function_return_ex+0x281(level=3, handle=<register ESI not in topmost frame>, ret_code=-1, save_to_diag=0) [/root/unixODBC-2.2.12/DriverManager/__info.c:4791] in libodbc.so.1 (0x7ed37dbc) 3 0x60b28c3b SQLPrepare+0x31b(statement_handle=0x7ca16970, statement_text="select alphameter.irn, alphameter.phone, alphameter.service_disconnect_status, alphameter.is_disconnectable, alphameter.meterstyle_irn, alphameter.last_pseas_tou, lim_info_rex.demand_reset_count, lim_info_rex.isn, lim_info_rex.lp_timestamp, lim_info_rex.data_format, mips.rex.demand1type, mips.rex.demand2type, mips.rex.demand3type, mips.rex.demandinterval, mips.rex.loadprofileintervallength, mips.rex.kh, mips.rex.loadprofiledivisor, mips.rex.meteredquantity, mips.rex.meteredquantity2, mips.rex.demandinterval from rex_collector, alphameter, lim_info_rex, mips.rex where alphameter.irn = rex_collector.rex_irn and rex_collector.collector_irn = ? and lim_info_rex.irn = alphameter.irn and mips.rex.meter_id = alphameter.irn ", text_length=-3) [/root/unixODBC-2.2.12/DriverManager/SQLPrepare.c:252] in libodbc.so.1 (0x7ed37edc) 4 0x608863f9 SQLPrepare+0x49(StatementHandle=2090953072, StatementText="select alphameter.irn, alphameter.phone, alphameter.service_disconnect_status, alphameter.is_disconnectable, alphameter.meterstyle_irn, alphameter.last_pseas_tou, lim_info_rex.demand_reset_count, lim_info_rex.isn, lim_info_rex.lp_timestamp, lim_info_rex.data_format, mips.rex.demand1type, mips.rex.demand2type, mips.rex.demand3type, mips.rex.demandinterval, mips.rex.loadprofileintervallength, mips.rex.kh, mips.rex.loadprofiledivisor, mips.rex.meteredquantity, mips.rex.meteredquantity2, mips.rex.demandinterval from rex_collector, alphameter, lim_info_rex, mips.rex where alphameter.irn = rex_collector.rex_irn and rex_collector.collector_irn = ? and lim_info_rex.irn = alphameter.irn and mips.rex.meter_id = alphameter.irn ", TextLength=-3) [/home/oracle/wine-1.1.7/dlls/odbc32/proxyodbc.c:1408] in odbc32 (0x7ed37efc) 5 0x005d54e5 in a3lim (+0x1d54e5) (0x7ed37ff4) 6 0x004b8cd4 in a3lim (+0xb8cd4) (0x7edb3458) 7 0x004be0e3 in a3lim (+0xbe0e3) (0x7edb3584) 8 0x004dc503 in a3lim (+0xdc503) (0x7edb3984) 9 0x004dd2a9 in a3lim (+0xdd2a9) (0x7edb4044) 10 0x004d6e90 in a3lim (+0xd6e90) (0x7edb422c) 11 0x006537c4 in a3lim (+0x2537c4) (0x7edb434c) 12 0x006533ab in a3lim (+0x2533ab) (0x7edb4500) 13 0x00679b4d in a3lim (+0x279b4d) (0x7edb4874) 14 0x0061bc69 in a3lim (+0x21bc69) (0x7edb49e8) 15 0x781329aa in msvcr80 (+0x29aa) (0x7edb4a20) 16 0x78132a36 in msvcr80 (+0x2a36) (0x7edb4a38) 17 0x7bc6a212 call_thread_func+0x42(rtl_func=<register EDI not in topmost frame>, arg=<register ESI not in topmost frame>) [/home/oracle/wine-1.1.7/dlls/ntdll/thread.c:386] in ntdll (0x7edb4ad8) 18 0x7bc6a423 in ntdll (+0x5a423) (0x7edb53c8) 19 0x6015745b (0x7edb54b8) Thanks, Yugandhar