Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Strawberry Perl 64bit on Win7 crashes on DBI-function

by theman824 (Novice)
on Apr 17, 2014 at 14:54 UTC ( #1082650=perlquestion: print w/replies, xml ) Need Help??

theman824 has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,

i have the following problem in Strawberry Perl 5.18.1 64 bit on Win7 64 Professional bit:

My script crashes (in german: "Perl Interpreter funktioniert nicht mehr. Programm schließen") on calling the DBI-function
DBI->data_sources('ODBC')

So, windows just stops the perl interpreter from proceeding.

The same script worked flawlessly on Win XP 32bit with ActiveState Perl 5.8.

The relevant part of the script:

use warnings; use strict; use DBI; use DBD::ODBC; use Sys::Hostname; ... my @dataSources = DBI->data_sources('ODBC');

This is in fact the only thing i try do do with DBI. The database connection itself works and i can do what i want with only using DBD::ODBC. I just use the data_sources - function from DBI to get all the defined DSNs on the given machine, to check if the desired connecton makes sense on the machine, i.e. if the DSN i want to use actually is configured.

If i do a

my @driver_names = DBI->available_drivers;

as well and look at that, it in deed lists "ODBC" as one of the available drivers, like it should on a windows system.

I am aware of the different ODBC-Administration tools for 32bit programs and 64bit programs on Win 64 bit and like i said the actual connection works. I am still curious, as to why this simple call crahes like this in this case.

A trace level 15 revealed, that the datasources are actually determined correctly, but somehow it still crashes (trace-output see below).

The DBI and DBD::ODBC packages are the latest from cpan as of today. You can see the version numbers in the trace log:

Any ideas?
DBI 1.631-ithread default trace level set to 0x0/15 (pid 4828 pi 8 +7cd68) at DB-Auswertungen.pl line 200 -> DBI->install_driver(ODBC) for MSWin32 perl=5.018001 pid=4828 ru +id=0 euid=0 install_driver: DBD::ODBC version 1.48 loaded from j:/Mathvr/IA +S/_Alea/perl/site/lib/DBD/ODBC.pm New 'DBI::dr' (for DBD::ODBC::dr, parent='', id=undef) dbih_setup_handle(DBI::dr=HASH(0x29025f0)=>DBI::dr=HASH(0x2902698) +, DBD::ODBC::dr, 0, Null!) dbih_make_com(Null!, 0, DBD::ODBC::dr, 168, 0) thr#87cd68 dbih_setup_attrib(DBI::dr=HASH(0x2902698), Err, Null!) SCALAR(0x26 +c2178) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2902698), State, Null!) SCALAR(0x +26c20e8) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2902698), Errstr, Null!) SCALAR(0 +x26c2130) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2902698), TraceLevel, Null!) 0 (a +lready defined) dbih_setup_attrib(DBI::dr=HASH(0x2902698), FetchHashKeyName, Null! +) 'NAME' (already defined) install_method DBI::st::odbc_lob_read install_method DBI::st::odbc_rows install_method DBI::st::odbc_getdiagrec, flags 0x0004 install_method DBI::db::odbc_getdiagrec, flags 0x0004 install_method DBI::db::odbc_getdiagfield, flags 0x0004 install_method DBI::st::odbc_getdiagfield, flags 0x0004 <- install_driver= DBI::dr=HASH(0x29025f0) >> data_sources DISPATCH (DBI::dr=HASH(0x29025f0) rc1/3 @1 g3 ima8 +01 pid#4828) at j:/Mathvr/IAS/_Alea/perl/site/lib/DBI.pm line 1066 vi +a at .\DB-Auswertungen.pl line 213 !! The warn '0' was CLEARED by call to data_sources method -> data_sources for DBD::ODBC::dr (DBI::dr=HASH(0x29025f0)~0x29026 +98) thr#87cd68 <- data_sources= ( 'dbi:ODBC:dBASE Files' 'dbi:ODBC:Excel Files' ' +dbi:ODBC:MS Access Database' 'dbi:ODBC:Test_Workstation_AIX' 'dbi:ODB +C:PETER' 'dbi:ODBC:WINTEL' 'dbi:ODBC:WRCEZUMI' 'dbi:ODBC:PROD50' 'dbi +:ODBC:ZUMWINT' 'dbi:ODBC:AMKAS4I' 'dbi:ODBC:AMKASDB' 'dbi:ODBC:AMKASS +YS' 'dbi:ODBC:ZUMPD' 'dbi:ODBC:LEIMIS' 'dbi:ODBC:LEIMISP' 'dbi:ODBC:Z +UMD' 'dbi:ODBC:ZUMQD' 'dbi:ODBC:DT203DWK' 'dbi:ODBC:DT200DWK' 'dbi:OD +BC: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' 'dbi:ODBC:DF03GOZA +' 'dbi:ODBC:D299MGMT' 'dbi:ODBC:DT204SII' 'dbi:ODBC:DBIMST' 'dbi:ODBC +:DF204SII' 'dbi:ODBC:FGENBAV' 'dbi:ODBC:PGENBAV' 'dbi:ODBC:DF268OCA' +'dbi:ODBC:DV268OCA' 'dbi:ODBC:DBGEN01' 'dbi:ODBC:DCTMDB' 'dbi:ODBC:DC +TMIGDB' 'dbi:ODBC:QGENBAV' 'dbi:ODBC:DB2WN' 'dbi:ODBC:DB2DN' 'dbi:ODB +C:DP11REPR' 'dbi:ODBC:DP11REPB' 'dbi:ODBC:DT2MISB2' 'dbi:ODBC:DF2MISB +2' 'dbi:ODBC:DP2MISB2' 'dbi:ODBC:DSD0' 'dbi:ODBC:DT11REPR' 'dbi:ODBC: +DT203OST' 'dbi:ODBC:DT211C10' 'dbi:ODBC:C10TAUDI' 'dbi:ODBC:DE211CGX' + 'dbi:ODBC:DF211C10' 'dbi:ODBC:C10FAUDI' 'dbi:ODBC:DV211CGX' 'dbi:ODB +C:DP211C10' 'dbi:ODBC:C10PAUDI' 'dbi:ODBC:test' 'dbi:ODBC:DT203VGV' ' +dbi:ODBC:DT233VGV' 'dbi:ODBC:DT270VGV' 'dbi:ODBC:DF203VGV' 'dbi:ODBC: +DF233VGV' 'dbi:ODBC:DF270VGV' 'dbi:ODBC:DP203VGV' 'dbi:ODBC:DP233VGV' + 'dbi:ODBC:DP270VGV' 'dbi:ODBC:DEGADTV0' 'dbi:ODBC:DEGADTD0' 'dbi:ODB +C:test2' 'dbi:ODBC:DP203GOZ' 'dbi:ODBC:DP03GOZA' 'dbi:ODBC:DF267SC' ' +dbi:ODBC:DP267SC' 'dbi:ODBC:DM233UST' 'dbi:ODBC:DT267SC' 'dbi:ODBC:DP +268OCA' 'dbi:ODBC:DT33USTP' 'dbi:ODBC:DF33USTP' 'dbi:ODBC:DT33UST' 'd +bi:ODBC:DT233UST' 'dbi:ODBC:DT11AMVS' 'dbi:ODBC:DR11AMVS' 'dbi:ODBC:D +F299DFL' 'dbi:ODBC:DF299DAC' 'dbi:ODBC:DF203OST' 'dbi:ODBC:DP01COMP' +'dbi:ODBC:DP01CADM' 'dbi:ODBC:DT01COMP' 'dbi:ODBC:DF01COMP' 'dbi:ODBC +:DF01CADM' 'dbi:ODBC:DV01COMP' 'dbi:ODBC:PGINABAV' 'dbi:ODBC:MOGTESTP +' 'dbi:ODBC:DBT70MGP' 'dbi:ODBC:AMLDISP1' 'dbi:ODBC:DP27GDL' 'dbi:ODB +C:bernd2' 'dbi:ODBC:DP299DFL' 'dbi:ODBC:DT204DWH' 'dbi:ODBC:DF204DWH' + 'dbi:ODBC:DP204DWH' 'dbi:ODBC:DBF70MGP' 'dbi:ODBC:MOGFACHP' 'dbi:ODB +C:DT11GESB' 'dbi:ODBC:DR11GESB' 'dbi:ODBC:DT234AVO' 'dbi:ODBC:DF11GES +B' 'dbi:ODBC:DM11GESB' 'dbi:ODBC:DF234AVO' 'dbi:ODBC:DF243AVO' 'dbi:O +DBC:DF243AVB' 'dbi:ODBC:DP243AVO' 'dbi:ODBC:DF203BPA' 'dbi:ODBC:DF203 +BPE' 'dbi:ODBC:DF203BS' 'dbi:ODBC:DF203BPM' 'dbi:ODBC:DF203CEI' 'dbi: +ODBC:DF203CMN' 'dbi:ODBC:DF203ME' 'dbi:ODBC:DF203PDW' 'dbi:ODBC:DP204 +SII' 'dbi:ODBC:DT7GBRDL' 'dbi:ODBC:DT70MG01' 'dbi:ODBC:DF70MG01' 'dbi +:ODBC:DP11AIW' 'dbi:ODBC:DP99DOCB' 'dbi:ODBC:DP211AIW' 'dbi:ODBC:D211 +TD' 'dbi:ODBC:DT11ZUM' 'dbi:ODBC:DT11GEGT' 'dbi:ODBC:DR11GEGT' 'dbi:O +DBC:DF11GEGT' 'dbi:ODBC:DP11GEGT' 'dbi:ODBC:DP70MG01' 'dbi:ODBC:DT33Z +L' 'dbi:ODBC:DF04SIIB' 'dbi:ODBC:DT70PDF' 'dbi:ODBC:DT33PDF' 'dbi:ODB +C:DT03PDF' 'dbi:ODBC:DT00PDF' 'dbi:ODBC:VBBH0' 'dbi:ODBC:VBBHC' 'dbi: +ODBC:VDB2P' 'dbi:ODBC:VDB2D' 'dbi:ODBC:D211TOSB' 'dbi:ODBC:DT33UST0' +) [310 items] at j:/Mathvr/IAS/_Alea/perl/site/lib/DBI.pm line 1066 v +ia at .\DB-Auswertungen.pl line 213 DBI 1.631-ithread default trace level set to 0x0/15 (pid 2944 pi 6 +1cd68) at DB-Auswertungen.pl line 200 -> DBI->install_driver(ODBC) for MSWin32 perl=5.018001 pid=2944 ru +id=0 euid=0 install_driver: DBD::ODBC version 1.48 loaded from j:/Mathvr/IA +S/_Alea/perl/site/lib/DBD/ODBC.pm New 'DBI::dr' (for DBD::ODBC::dr, parent='', id=undef) dbih_setup_handle(DBI::dr=HASH(0x28224e0)=>DBI::dr=HASH(0x2822588) +, DBD::ODBC::dr, 0, Null!) dbih_make_com(Null!, 0, DBD::ODBC::dr, 168, 0) thr#61cd68 dbih_setup_attrib(DBI::dr=HASH(0x2822588), Err, Null!) SCALAR(0x25 +e2178) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2822588), State, Null!) SCALAR(0x +25e20e8) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2822588), Errstr, Null!) SCALAR(0 +x25e2130) (already defined) dbih_setup_attrib(DBI::dr=HASH(0x2822588), TraceLevel, Null!) 0 (a +lready defined) dbih_setup_attrib(DBI::dr=HASH(0x2822588), FetchHashKeyName, Null! +) 'NAME' (already defined) install_method DBI::st::odbc_lob_read install_method DBI::st::odbc_rows install_method DBI::st::odbc_getdiagrec, flags 0x0004 install_method DBI::db::odbc_getdiagrec, flags 0x0004 install_method DBI::db::odbc_getdiagfield, flags 0x0004 install_method DBI::st::odbc_getdiagfield, flags 0x0004 <- install_driver= DBI::dr=HASH(0x28224e0) >> data_sources DISPATCH (DBI::dr=HASH(0x28224e0) rc1/3 @1 g3 ima8 +01 pid#2944) at j:/Mathvr/IAS/_Alea/perl/site/lib/DBI.pm line 1066 vi +a at .\DB-Auswertungen.pl line 213 !! The warn '0' was CLEARED by call to data_sources method -> data_sources for DBD::ODBC::dr (DBI::dr=HASH(0x28224e0)~0x28225 +88) thr#61cd68 <- data_sources= ( 'dbi:ODBC:dBASE Files' 'dbi:ODBC:Excel Files' ' +dbi:ODBC:MS Access Database' 'dbi:ODBC:Test_Workstation_AIX' 'dbi:ODB +C:PETER' 'dbi:ODBC:WINTEL' 'dbi:ODBC:WRCEZUMI' 'dbi:ODBC:PROD50' 'dbi +:ODBC:ZUMWINT' 'dbi:ODBC:AMKAS4I' 'dbi:ODBC:AMKASDB' 'dbi:ODBC:AMKASS +YS' 'dbi:ODBC:ZUMPD' 'dbi:ODBC:LEIMIS' 'dbi:ODBC:LEIMISP' 'dbi:ODBC:Z +UMD' 'dbi:ODBC:ZUMQD' 'dbi:ODBC:DT203DWK' 'dbi:ODBC:DT200DWK' 'dbi:OD +BC:DF200DWK' 'dbi:ODBC:DP200DWK' 'dbi:ODBC:DF203DWK' 'dbi:ODBC:DP203D +WK' 'dbi:ODBC:DBE' 'dbi:ODBC:DBP' 'dbi:ODBC:DTE0' 'dbi:ODBC:BBH9' 'db +i:ODBC:DT233MV' 'dbi:ODBC:DT233MV1' 'dbi:ODBC:D211PSY' 'dbi:ODBC:DT23 +3DWK' 'dbi:ODBC:DF233DWK' 'dbi:ODBC:DF233MV' 'dbi:ODBC:DXD0' 'dbi:ODB +C:DXA0' 'dbi:ODBC:DP233MV' 'dbi:ODBC:DT270DWK' 'dbi:ODBC:DF233MV1' 'd +bi:ODBC:BBH1' 'dbi:ODBC:BBH4' 'dbi:ODBC:BBHA' 'dbi:ODBC:BBHB' 'dbi:OD +BC:DB2T' 'dbi:ODBC:DB2S' 'dbi:ODBC:BBH0' 'dbi:ODBC:BBHC' 'dbi:ODBC:DB +2P' 'dbi:ODBC:DB2D' 'dbi:ODBC:DT11CLQE' 'dbi:ODBC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 'dbi:ODBC:DV211CGX' 'dbi:ODB +C:DP211C10' 'dbi:ODBC:C10PAUDI' 'dbi:ODBC:test' 'dbi:ODBC:DT203VGV' ' +dbi:ODBC:DT233VGV' 'dbi:ODBC:DT270VGV' 'dbi:ODBC:DF203VGV' 'dbi:ODBC: +DF233VGV' 'dbi:ODBC:DF270VGV' 'dbi:ODBC:DP203VGV' 'dbi:ODBC:DP233VGV' + 'dbi:ODBC:DP270VGV' 'dbi:ODBC:DEGADTV0' 'dbi:ODBC:DEGADTD0' 'dbi:ODB +C:test2' 'dbi:ODBC:DP203GOZ' 'dbi:ODBC:DP03GOZA' 'dbi:ODBC:DF267SC' ' +dbi:ODBC:DP267SC' 'dbi:ODBC:DM233UST' 'dbi:ODBC:DT267SC' 'dbi:ODBC:DP +268OCA' 'dbi:ODBC:DT33USTP' 'dbi:ODBC:DF33USTP' 'dbi:ODBC:DT33UST' 'd +bi:ODBC:DT233UST' 'dbi:ODBC:DT11AMVS' 'dbi:ODBC:DR11AMVS' 'dbi:ODBC:D +F299DFL' 'dbi:ODBC:DF299DAC' 'dbi:ODBC:DF203OST' 'dbi:ODBC:DP01COMP' +'dbi:ODBC:DP01CADM' 'dbi:ODBC:DT01COMP' 'dbi:ODBC:DF01COMP' 'dbi:ODBC +:DF01CADM' 'dbi:ODBC:DV01COMP' 'dbi:ODBC:PGINABAV' 'dbi:ODBC:MOGTESTP +' 'dbi:ODBC:DBT70MGP' 'dbi:ODBC:AMLDISP1' 'dbi:ODBC:DP27GDL' 'dbi:ODB +C:bernd2' 'dbi:ODBC:DP299DFL' 'dbi:ODBC:DT204DWH' 'dbi:ODBC:DF204DWH' + 'dbi:ODBC:DP204DWH' 'dbi:ODBC:DBF70MGP' 'dbi:ODBC:MOGFACHP' 'dbi:ODB +C:DT11GESB' 'dbi:ODBC:DR11GESB' 'dbi:ODBC:DT234AVO' 'dbi:ODBC:DF11GES +B' 'dbi:ODBC:DM11GESB' 'dbi:ODBC:DF234AVO' 'dbi:ODBC:DF243AVO' 'dbi:O +DBC:DF243AVB' 'dbi:ODBC:DP243AVO' 'dbi:ODBC:DF203BPA' 'dbi:ODBC:DF203 +BPE' 'dbi:ODBC:DF203BS' 'dbi:ODBC:DF203BPM' 'dbi:ODBC:DF203CEI' 'dbi: +ODBC:DF203CMN' 'dbi:ODBC:DF203ME' 'dbi:ODBC:DF203PDW' 'dbi:ODBC:DP204 +SII' 'dbi:ODBC:DT7GBRDL' 'dbi:ODBC:DT70MG01' 'dbi:ODBC:DF70MG01' 'dbi +:ODBC:DP11AIW' 'dbi:ODBC:DP99DOCB' 'dbi:ODBC:DP211AIW' 'dbi:ODBC:D211 +TD' 'dbi:ODBC:DT11ZUM' 'dbi:ODBC:DT11GEGT' 'dbi:ODBC:DR11GEGT' 'dbi:O +DBC:DF11GEGT' 'dbi:ODBC:DP11GEGT' 'dbi:ODBC:DP70MG01' 'dbi:ODBC:DT33Z +L' 'dbi:ODBC:DF04SIIB' 'dbi:ODBC:DT70PDF' 'dbi:ODBC:DT33PDF' 'dbi:ODB +C:DT03PDF' 'dbi:ODBC:DT00PDF' 'dbi:ODBC:VBBH0' 'dbi:ODBC:VBBHC' 'dbi: +ODBC:VDB2P' 'dbi:ODBC:VDB2D' 'dbi:ODBC:D211TOSB' 'dbi:ODBC:DT33UST0' +) [310 items] at j:/Mathvr/IAS/_Alea/perl/site/lib/DBI.pm line 1066 v +ia at .\DB-Auswertungen.pl line 213

Replies are listed 'Best First'.
Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by CountZero (Bishop) on Apr 17, 2014 at 18:33 UTC
    I run Strawberry Perl on Windows 7 Enterprise 64bit (perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread), DBI 1.631, DBD::ODBC 1.48 and I tried the following:

    use Modern::Perl; use DBI; my @dataSources = DBI->data_sources('ODBC'); say "@dataSources";
    and got the following result:

    dbi:ODBC:bbdb dbi:ODBC:dBASE Files dbi:ODBC:Excel Files dbi:ODBC:MS Access Database dbi:ODBC:Visual FoxPro Database dbi:ODBC:Visual FoxPro Tables dbi:ODBC:SQLite3 Datasource

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

      Does this small script fail in 5.18.1 as well? If yes, this would seem to be a problem with the later build. If no, perhaps you can comment out most of the script and uncomment them to find the offending/conflicting line.

        So i tried your little script, which is exactly what i'm doing, and it crashes also.

        No error message from perl itself, no warnings, windows just stops the perl process...

        strange.

        any further ideas appreciated.

      This is very interesting, thank you.

      Apart from the perl version you seem to have a very similar set-up.

        Yes, but I am not sure I have a Strawberry Perl 64bit version, it may be the 32bit version and I have no idea how to check that.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics
Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by karlgoethebier (Monsignor) on Apr 17, 2014 at 16:18 UTC

    Unfortunatly i don't know why this doesn't work.

    But why don't you forget about it and use the "build in" error handling? From the manual:

    Typically RaiseError is used in conjunction with eval { ... } to catch + the exception that's been thrown and followed by an if ($@) { ... } +block to handle the caught exception...

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      In the end the Script is supposed to be run by users, who want so submit a SQL-Query to a DB2-Database. These users don't know any perl. So i want to give a detailed error massage, if the desired DSN is actually not configured (not existing) on the given machine. Which is why i want to determine the known ODBC-datasources at some point. And it was working nicely on perl 5.8.

        Do DBI and DBD::ODBC work otherwise?

        If DBI and/or DBD::ODBC also fail with other function calls, my guess is that you somehow mixed 32-bit and 64-bit DLLs from the old and the new installation.

        Personally, I would look at avoiding ODBC datasources and instead use the appropriate connection string. Many of these connection strings can be found via http://connectionstrings.com.

Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by Laurent_R (Canon) on Apr 17, 2014 at 18:00 UTC
    I don't know this things on Windows very much, but it sort of sounds like you may need to upgrade either DBI or the ODBC driver (or both) to 64 bits architecture (and possibly to Perl 18).
      I am working for a big company and unfortunately i myself can't choose freely what drivers to install. A big IT-department deploys harware and software for many people. The same goes for the perl version. An upgrade took place from 5.8 (32bit) to 5.18.1 64bit. Now i'm trying to understand why this is isn't working.
Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by Anonymous Monk on Apr 17, 2014 at 23:23 UTC

      I saw that there is a standalone version available that doesn't require installation. I ran the suggested command.

      The only other thing that happened was that the output "Out of memory!" was displayed (twice) right before the crash

      Here's the interesting part (i guess), the whole thing is too long:
      Started "PERL.EXE" (process 0x1A88) at address 0x0000000000400000. Su +ccessfully hooked module. Loaded "NTDLL.DLL" at address 0x0000000077220000. Successfully hooked + module. Loaded "KERNEL32.DLL" at address 0x0000000077000000. Successfully hoo +ked module. Loaded "KERNELBASE.DLL" at address 0x000007FEFD2E0000. Successfully h +ooked module. DllMain(0x000007FEFD2E0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "KERNELBASE.DLL" called. DllMain(0x000007FEFD2E0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "KERNELBASE.DLL" returned 1 (0x1). DllMain(0x0000000077000000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "KERNEL32.DLL" called. DllMain(0x0000000077000000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "KERNEL32.DLL" returned 1 (0x1). Injected "DEPENDS.DLL" at address 0x0000000066260000. Loaded "PERL518.DLL" at address 0x0000000063300000. Successfully hook +ed module. Loaded "ADVAPI32.DLL" at address 0x000007FEFDFB0000. Successfully hoo +ked module. Loaded "MSVCRT.DLL" at address 0x000007FEFDBC0000. Successfully hooke +d module. Loaded "SECHOST.DLL" at address 0x000007FEFDCB0000. Successfully hook +ed module. Loaded "RPCRT4.DLL" at address 0x000007FEFDA90000. Successfully hooke +d module. Loaded "COMCTL32.DLL" at address 0x000007FEFB7A0000. Successfully hoo +ked module. Loaded "GDI32.DLL" at address 0x000007FEFE090000. Successfully hooked + module. Loaded "USER32.DLL" at address 0x0000000077120000. Successfully hooke +d module. Loaded "LPK.DLL" at address 0x000007FEFE240000. Successfully hooked m +odule. Loaded "USP10.DLL" at address 0x000007FEFE100000. Successfully hooked + module. Loaded "SHLWAPI.DLL" at address 0x000007FEFE250000. Successfully hook +ed module. Loaded "WS2_32.DLL" at address 0x000007FEFDC60000. Successfully hooke +d module. Loaded "NSI.DLL" at address 0x000007FEFE1D0000. Successfully hooked m +odule. Loaded "LIBGCC_S_SJLJ-1.DLL" at address 0x000000006CEC0000. Successfu +lly hooked module. Loaded "LIBSTDC++-6.DLL" at address 0x000000006FC40000. Successfully +hooked module. Entrypoint reached. All implicit modules have been loaded. Loaded "APPHELP.DLL" at address 0x000007FEFCF70000. Successfully hook +ed module. DllMain(0x000007FEFCF70000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "APPHELP.DLL" called. DllMain(0x000007FEFCF70000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "APPHELP.DLL" returned 1 (0x1). Loaded "ACXTRNAL.DLL" at address 0x000007FEEF560000. Successfully hoo +ked module. DllMain(0x000007FEEF560000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ACXTRNAL.DLL" called. DllMain(0x000007FEEF560000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ACXTRNAL.DLL" returned 1 (0x1). FTH: (6792): *** Fault tolerant heap shim applied to current process. +This is usually due to previous crashes. *** DllMain(0x0000000066260000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "DEPENDS.DLL" called. DllMain(0x0000000066260000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "DEPENDS.DLL" returned 1 (0x1). DllMain(0x000007FEFDBC0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "MSVCRT.DLL" called. DllMain(0x000007FEFDBC0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "MSVCRT.DLL" returned 1 (0x1). DllMain(0x000007FEFDA90000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "RPCRT4.DLL" called. DllMain(0x000007FEFDA90000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "RPCRT4.DLL" returned 4255873025 (0xFDAB7801). DllMain(0x000007FEFDCB0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "SECHOST.DLL" called. DllMain(0x000007FEFDCB0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "SECHOST.DLL" returned 1 (0x1). DllMain(0x000007FEFDFB0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "ADVAPI32.DLL" called. DllMain(0x000007FEFDFB0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "ADVAPI32.DLL" returned 4261778945 (0xFE059601). DllMain(0x0000000077120000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "USER32.DLL" called. LoadLibraryW("C:\Windows\system32\IMM32.DLL") called from "USER32.DLL" + at address 0x000000007713B689. Loaded "IMM32.DLL" at address 0x000007FEFDCD0000. Successfully hooked + module. Loaded "MSCTF.DLL" at address 0x000007FEFD540000. Successfully hooked + module. DllMain(0x000007FEFD540000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "MSCTF.DLL" called. DllMain(0x000007FEFD540000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "MSCTF.DLL" returned 1 (0x1). DllMain(0x000007FEFDCD0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "IMM32.DLL" called. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmWINNLSEnableIME") c +alled from "USER32.DLL" at address 0x000000007713AA41 and returned 0x +000007FEFDCE5240. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmWINNLSGetEnableStat +us") called from "USER32.DLL" at address 0x000000007713AA6F and retur +ned 0x000007FEFDCE5280. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSendIMEMessageExW") + called from "USER32.DLL" at address 0x000000007713AA9D and returned +0x000007FEFDCE52D0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSendIMEMessageExA") + called from "USER32.DLL" at address 0x000000007713AACB and returned +0x000007FEFDCE52E0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPGetIMEW") called + from "USER32.DLL" at address 0x000000007713AAF9 and returned 0x00000 +7FEFDCE53F0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPGetIMEA") called + from "USER32.DLL" at address 0x000000007713AB27 and returned 0x00000 +7FEFDCE5484. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPQueryIMEW") call +ed from "USER32.DLL" at address 0x000000007713AB55 and returned 0x000 +007FEFDCE56C8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPQueryIMEA") call +ed from "USER32.DLL" at address 0x000000007713AB83 and returned 0x000 +007FEFDCE5828. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPSetIMEW") called + from "USER32.DLL" at address 0x000000007713ABB1 and returned 0x00000 +7FEFDCE58E8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIMPSetIMEA") called + from "USER32.DLL" at address 0x000000007713ABDF and returned 0x00000 +7FEFDCE5A48. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmAssociateContext") +called from "USER32.DLL" at address 0x000000007713AC0D and returned 0 +x000007FEFDCD1750. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmEscapeA") called fr +om "USER32.DLL" at address 0x000000007713AC3B and returned 0x000007FE +FDCDD940. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmEscapeW") called fr +om "USER32.DLL" at address 0x000000007713AC69 and returned 0x000007FE +FDCDDC38. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCompositionStrin +gA") called from "USER32.DLL" at address 0x000000007713AC97 and retur +ned 0x000007FEFDCD8B80. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCompositionStrin +gW") called from "USER32.DLL" at address 0x000000007713ACC5 and retur +ned 0x000007FEFDCD8C60. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCompositionWindo +w") called from "USER32.DLL" at address 0x000000007713ACF3 and return +ed 0x000007FEFDCD20C0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetContext") called + from "USER32.DLL" at address 0x000000007713AD21 and returned 0x00000 +7FEFDCD1A0C. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetDefaultIMEWnd") +called from "USER32.DLL" at address 0x000000007713AD4F and returned 0 +x000007FEFDCD18E4. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmIsIME") called from + "USER32.DLL" at address 0x000000007713AD7D and returned 0x000007FEFD +CD2034. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmReleaseContext") ca +lled from "USER32.DLL" at address 0x000000007713ADAB and returned 0x0 +00007FEFDCD1A30. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmRegisterClient") ca +lled from "USER32.DLL" at address 0x000000007713ADD9 and returned 0x0 +00007FEFDCD1608. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCompositionFontW +") called from "USER32.DLL" at address 0x000000007713AE07 and returne +d 0x000007FEFDCDA5C8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCompositionFontA +") called from "USER32.DLL" at address 0x000000007713AE35 and returne +d 0x000007FEFDCDA4F4. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCompositionFontW +") called from "USER32.DLL" at address 0x000000007713AE63 and returne +d 0x000007FEFDCD3E80. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCompositionFontA +") called from "USER32.DLL" at address 0x000000007713AE91 and returne +d 0x000007FEFDCDA690. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCompositionWindo +w") called from "USER32.DLL" at address 0x000000007713AEBF and return +ed 0x000007FEFDCD3D14. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmNotifyIME") called +from "USER32.DLL" at address 0x000000007713AEED and returned 0x000007 +FEFDCD3F94. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmLockIMC") called fr +om "USER32.DLL" at address 0x000000007713AF1B and returned 0x000007FE +FDCD14D4. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmUnlockIMC") called +from "USER32.DLL" at address 0x000000007713AF49 and returned 0x000007 +FEFDCD1D8C. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmLoadIME") called fr +om "USER32.DLL" at address 0x000000007713AF77 and returned 0x000007FE +FDCD2360. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetOpenStatus") cal +led from "USER32.DLL" at address 0x000000007713AFA5 and returned 0x00 +0007FEFDCDA428. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmFreeLayout") called + from "USER32.DLL" at address 0x000000007713AFD3 and returned 0x00000 +7FEFDCDD0E8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmActivateLayout") ca +lled from "USER32.DLL" at address 0x000000007713B001 and returned 0x0 +00007FEFDCDD2A0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetCandidateWindow" +) called from "USER32.DLL" at address 0x000000007713B02F and returned + 0x000007FEFDCD2144. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCandidateWindow" +) called from "USER32.DLL" at address 0x000000007713B05D and returned + 0x000007FEFDCDACFC. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmConfigureIMEW") cal +led from "USER32.DLL" at address 0x000000007713B08B and returned 0x00 +0007FEFDCDD6C0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetConversionStatus +") called from "USER32.DLL" at address 0x000000007713B0B9 and returne +d 0x000007FEFDCD2D20. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetConversionStatus +") called from "USER32.DLL" at address 0x000000007713B0E7 and returne +d 0x000007FEFDCDA24C. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetStatusWindowPos" +) called from "USER32.DLL" at address 0x000000007713B115 and returned + 0x000007FEFDCDAC5C. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetImeInfoEx") call +ed from "USER32.DLL" at address 0x000000007713B143 and returned 0x000 +007FEFDCD22FC. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmLockImeDpi") called + from "USER32.DLL" at address 0x000000007713B171 and returned 0x00000 +7FEFDCD1A58. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmUnlockImeDpi") call +ed from "USER32.DLL" at address 0x000000007713B19F and returned 0x000 +007FEFDCD1AC8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetOpenStatus") cal +led from "USER32.DLL" at address 0x000000007713B1CD and returned 0x00 +0007FEFDCDA3E4. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetActiveContext") +called from "USER32.DLL" at address 0x000000007713B1FB and returned 0 +x000007FEFDCD1B54. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmTranslateMessage") +called from "USER32.DLL" at address 0x000000007713B229 and returned 0 +x000007FEFDCE4D30. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmLoadLayout") called + from "USER32.DLL" at address 0x000000007713B257 and returned 0x00000 +7FEFDCD36C4. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmProcessKey") called + from "USER32.DLL" at address 0x000000007713B285 and returned 0x00000 +7FEFDCD39C8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmPutImeMenuItemsInto +MappedFile") called from "USER32.DLL" at address 0x000000007713B2B3 a +nd returned 0x000007FEFDCEAF44. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmGetProperty") calle +d from "USER32.DLL" at address 0x000000007713B2E1 and returned 0x0000 +07FEFDCDE8F0. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCompositionStrin +gA") called from "USER32.DLL" at address 0x000000007713B30F and retur +ned 0x000007FEFDCD8D40. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSetCompositionStrin +gW") called from "USER32.DLL" at address 0x000000007713B33D and retur +ned 0x000007FEFDCD8D70. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmEnumInputContext") +called from "USER32.DLL" at address 0x000000007713B36B and returned 0 +x000007FEFDCD3434. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "ImmSystemHandler") cal +led from "USER32.DLL" at address 0x000000007713B399 and returned 0x00 +0007FEFDCDFD88. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmTIMActivate") ca +lled from "USER32.DLL" at address 0x000000007713B3C7 and returned 0x0 +00007FEFDCD21B8. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmRestoreToolbarWn +d") called from "USER32.DLL" at address 0x000000007713B3F5 and return +ed 0x000007FEFDCEBB10. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmHideToolbarWnd") + called from "USER32.DLL" at address 0x000000007713B423 and returned +0x000007FEFDCEBB50. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmDispatchDefImeMe +ssage") called from "USER32.DLL" at address 0x000000007713B451 and re +turned 0x000007FEFDCD134C. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmNotify") called +from "USER32.DLL" at address 0x000000007713B47B and returned 0x000007 +FEFDCD1170. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmSetDefaultRemote +KeyboardLayout") called from "USER32.DLL" at address 0x000000007713B4 +A5 and returned 0x000007FEFDCEBF40. GetProcAddress(0x000007FEFDCD0000 [IMM32.DLL], "CtfImmGetCompatibleKey +boardLayout") called from "USER32.DLL" at address 0x000000007713B4CF +and returned 0x000007FEFDCEBF4C. DllMain(0x000007FEFDCD0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "IMM32.DLL" returned 1 (0x1). LoadLibraryW("C:\Windows\system32\IMM32.DLL") returned 0x000007FEFDCD0 +000. GetProcAddress(0x000007FEFE240000 [LPK.DLL], "LpkTabbedTextOut") calle +d from "GDI32.DLL" at address 0x000007FEFE09B615 and returned 0x00000 +7FEFE246AB0. GetProcAddress(0x000007FEFE240000 [LPK.DLL], "LpkPSMTextOut") called f +rom "GDI32.DLL" at address 0x000007FEFE09B62A and returned 0x000007FE +FE245300. GetProcAddress(0x000007FEFE240000 [LPK.DLL], "LpkDrawTextEx") called f +rom "GDI32.DLL" at address 0x000007FEFE09B63F and returned 0x000007FE +FE241460. GetProcAddress(0x000007FEFE240000 [LPK.DLL], "LpkEditControl") called +from "GDI32.DLL" at address 0x000007FEFE09B654 and returned 0x000007F +EFE24A050. DllMain(0x0000000077120000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "USER32.DLL" returned 1 (0x1). DllMain(0x000007FEFE100000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "USP10.DLL" called. LoadLibraryA("gdi32.dll") called from "USP10.DLL" at address 0x000007F +EFE11C9E6. LoadLibraryA("gdi32.dll") returned 0x000007FEFE090000. GetProcAddress(0x000007FEFE090000 [GDI32.DLL], "GetCharABCWidthsI") ca +lled from "USP10.DLL" at address 0x000007FEFE11CA2A and returned 0x00 +0007FEFE095974. DllMain(0x000007FEFE100000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "USP10.DLL" returned 1 (0x1). DllMain(0x000007FEFE240000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LPK.DLL" called. DllMain(0x000007FEFE240000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LPK.DLL" returned 1 (0x1). DllMain(0x000007FEFE090000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "GDI32.DLL" called. DllMain(0x000007FEFE090000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "GDI32.DLL" returned 1 (0x1). DllMain(0x000007FEFE250000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "SHLWAPI.DLL" called. DllMain(0x000007FEFE250000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "SHLWAPI.DLL" returned 1 (0x1). DllMain(0x000007FEFB7A0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "COMCTL32.DLL" called. GetProcAddress(0x000007FEFE240000 [LPK.DLL], "LpkEditControl") called +from "COMCTL32.DLL" at address 0x000007FEFB7C7CC2 and returned 0x0000 +07FEFE24A050. DllMain(0x000007FEFB7A0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "COMCTL32.DLL" returned 1 (0x1). DllMain(0x000007FEFE1D0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "NSI.DLL" called. DllMain(0x000007FEFE1D0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "NSI.DLL" returned 1 (0x1). DllMain(0x000007FEFDC60000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "WS2_32.DLL" called. DllMain(0x000007FEFDC60000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "WS2_32.DLL" returned 1 (0x1). DllMain(0x000000006CEC0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LIBGCC_S_SJLJ-1.DLL" called. DllMain(0x000000006CEC0000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LIBGCC_S_SJLJ-1.DLL" returned 1 (0x1). DllMain(0x000000006FC40000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LIBSTDC++-6.DLL" called. DllMain(0x000000006FC40000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "LIBSTDC++-6.DLL" returned 1 (0x1). DllMain(0x0000000063300000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "PERL518.DLL" called. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "GetLongPathNameW") +called from "PERL518.DLL" at address 0x000000006341A3F5 and returned +0x000000007701C1A0. DllMain(0x0000000063300000, DLL_PROCESS_ATTACH, 0x000000000022FB00) in + "PERL518.DLL" returned 1 (0x1). Loaded "PGHOOK.DLL" at address 0x000007FEFD110000. Successfully hooke +d module. DllMain(0x000007FEFD110000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PGHOOK.DLL" called. LoadLibraryA("ADVAPI32.dll") called from "PGHOOK.DLL" at address 0x000 +007FEFD11B188. LoadLibraryA("ADVAPI32.dll") returned 0x000007FEFDFB0000. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptAcquireContext +W") called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and return +ed 0x000007FEFDFBD98C. LoadLibraryExA("CRYPTSP.dll", 0x0000000000000000, 0x00000000) called f +rom "ADVAPI32.DLL" at address 0x000007FEFDFCB741. Loaded "CRYPTSP.DLL" at address 0x000007FEFD050000. Successfully hook +ed module. DllMain(0x000007FEFD050000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "CRYPTSP.DLL" called. DllMain(0x000007FEFD050000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "CRYPTSP.DLL" returned 1 (0x1). LoadLibraryExA("CRYPTSP.dll", 0x0000000000000000, 0x00000000) returned + 0x000007FEFD050000. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptAcquireContextW +") called from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and retur +ned 0x000007FEFD053308. Loaded "RSAENH.DLL" at address 0x000007FEFD000000. Successfully hooke +d module. DllMain(0x000007FEFD000000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "RSAENH.DLL" called. DllMain(0x000007FEFD000000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "RSAENH.DLL" returned 1 (0x1). LoadLibraryExA("ADVAPI32.dll", 0x0000000000000000, 0x00000000) called +from "RSAENH.DLL" at address 0x000007FEFD00319E. LoadLibraryExA("ADVAPI32.dll", 0x0000000000000000, 0x00000000) returne +d 0x000007FEFDFB0000. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "OpenThreadToken") c +alled from "RSAENH.DLL" at address 0x000007FEFD00314D and returned 0x +000007FEFDFCBD84. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "OpenProcessToken") +called from "RSAENH.DLL" at address 0x000007FEFD00314D and returned 0 +x000007FEFDFCBD70. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "GetTokenInformation +") called from "RSAENH.DLL" at address 0x000007FEFD00314D and returne +d 0x000007FEFDFCBD50. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "AllocateAndInitiali +zeSid") called from "RSAENH.DLL" at address 0x000007FEFD00314D and re +turned 0x000007FEFDFCB63C. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "EqualSid") called f +rom "RSAENH.DLL" at address 0x000007FEFD00314D and returned 0x000007F +EFDFCB820. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "FreeSid") called fr +om "RSAENH.DLL" at address 0x000007FEFD00314D and returned 0x000007FE +FDFCB818. LoadLibraryExA("CRYPTBASE.dll", 0x0000000000000000, 0x00000000) called + from "RSAENH.DLL" at address 0x000007FEFD00319E. Loaded "CRYPTBASE.DLL" at address 0x000007FEFCFF0000. Successfully ho +oked module. DllMain(0x000007FEFCFF0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "CRYPTBASE.DLL" called. DllMain(0x000007FEFCFF0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "CRYPTBASE.DLL" returned 1 (0x1). LoadLibraryExA("CRYPTBASE.dll", 0x0000000000000000, 0x00000000) return +ed 0x000007FEFCFF0000. GetProcAddress(0x000007FEFCFF0000 [CRYPTBASE.DLL], "SystemFunction036" +) called from "RSAENH.DLL" at address 0x000007FEFD00314D and returned + 0x000007FEFCFF1648. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwOpenKey") called fro +m "PGHOOK.DLL" at address 0x000007FEFD139980 and returned 0x000000007 +72713D0. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwQueryValueKey") call +ed from "PGHOOK.DLL" at address 0x000007FEFD139999 and returned 0x000 +0000077271420. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwClose") called from +"PGHOOK.DLL" at address 0x000007FEFD1399B2 and returned 0x00000000772 +713A0. LoadLibraryA("PSAPI.DLL") called from "PGHOOK.DLL" at address 0x000007 +FEFD11B188. Loaded "PSAPI.DLL" at address 0x00000000773E0000. Successfully hooked + module. DllMain(0x00000000773E0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PSAPI.DLL" called. DllMain(0x00000000773E0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PSAPI.DLL" returned 1 (0x1). LoadLibraryA("PSAPI.DLL") returned 0x00000000773E0000. GetProcAddress(0x00000000773E0000 [PSAPI.DLL], "GetModuleBaseNameW") c +alled from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x +00000000773E11C4. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwOpenKey") called fro +m "PGHOOK.DLL" at address 0x000007FEFD1334C0 and returned 0x000000007 +72713D0. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwQueryValueKey") call +ed from "PGHOOK.DLL" at address 0x000007FEFD1334D9 and returned 0x000 +0000077271420. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwClose") called from +"PGHOOK.DLL" at address 0x000007FEFD1334F2 and returned 0x00000000772 +713A0. GetProcAddress(0x000007FEFD2E0000 [KERNELBASE.DLL], "CreateProcessInte +rnalW") called from "PGHOOK.DLL" at address 0x000007FEFD136B8F and re +turned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (127 +). GetProcAddress(0x000007FEFD2E0000 [KERNELBASE.DLL], "CreateProcessAsUs +erW") called from "PGHOOK.DLL" at address 0x000007FEFD136BB2 and retu +rned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (127). GetProcAddress(0x000007FEFD2E0000 [KERNELBASE.DLL], "OpenProcess") cal +led from "PGHOOK.DLL" at address 0x000007FEFD136BD5 and returned 0x00 +0007FEFD2F32C0. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "CreateProcessIntern +alW") called from "PGHOOK.DLL" at address 0x000007FEFD1171D7 and retu +rned 0x000000007701E750. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "CreateProcessAsUser +W") called from "PGHOOK.DLL" at address 0x000007FEFD136D35 and return +ed 0x000000007700A420. GetProcAddress(0x000007FEFD2E0000 [KERNELBASE.DLL], "LoadLibraryExW") +called from "PGHOOK.DLL" at address 0x000007FEFD138876 and returned 0 +x000007FEFD2E8EF0. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "OpenSCManagerW") cal +led from "PGHOOK.DLL" at address 0x000007FEFD132D2D and returned 0x00 +0007FEFDCB659C. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "OpenServiceW") calle +d from "PGHOOK.DLL" at address 0x000007FEFD132D6D and returned 0x0000 +07FEFDCB6484. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "StartServiceW") call +ed from "PGHOOK.DLL" at address 0x000007FEFD132DAD and returned 0x000 +007FEFDCB6824. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "CloseServiceHandle") + called from "PGHOOK.DLL" at address 0x000007FEFD132DED and returned +0x000007FEFDCB6518. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ControlServiceExW") +called from "PGHOOK.DLL" at address 0x000007FEFD132E2D and returned 0 +x000007FEFDCB8C38. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ChangeServiceConfigW +") called from "PGHOOK.DLL" at address 0x000007FEFD132E8B and returne +d 0x000007FEFDCB7220. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ChangeServiceConfig2 +W") called from "PGHOOK.DLL" at address 0x000007FEFD132ECB and return +ed 0x000007FEFDCB7538. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "OpenSCManagerA") cal +led from "PGHOOK.DLL" at address 0x000007FEFD132F29 and returned 0x00 +0007FEFDCB6AA4. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "OpenServiceA") calle +d from "PGHOOK.DLL" at address 0x000007FEFD132F69 and returned 0x0000 +07FEFDCB6C34. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "StartServiceA") call +ed from "PGHOOK.DLL" at address 0x000007FEFD132FA9 and returned 0x000 +007FEFDCB6D00. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ControlService") cal +led from "PGHOOK.DLL" at address 0x000007FEFD132FE9 and returned 0x00 +0007FEFDCB642C. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ChangeServiceConfigA +") called from "PGHOOK.DLL" at address 0x000007FEFD133029 and returne +d 0x000007FEFDCB6F2C. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ChangeServiceConfig2 +A") called from "PGHOOK.DLL" at address 0x000007FEFD133069 and return +ed 0x000007FEFDCB739C. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ControlServiceExA") +called from "PGHOOK.DLL" at address 0x000007FEFD1330A9 and returned 0 +x000007FEFDCB8B00. DllMain(0x000007FEFD110000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PGHOOK.DLL" returned 1 (0x1). GetProcAddress(0x0000000077220000 [NTDLL.DLL], "NtCompareTokens") call +ed from "PGHOOK.DLL" at address 0x000007FEFD1383C4 and returned 0x000 +0000077271BA0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "ConvertStringSidToS +idW") called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and retu +rned 0x000007FEFDFD0EC0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "IsValidSid") called + from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x00000 +7FEFDFC1730. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "GetLengthSid") call +ed from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x000 +007FEFDFCB580. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CopySid") called fr +om "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x000007FE +FDFCBDA0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "OpenProcessToken") +called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0 +x000007FEFDFCBD70. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "GetTokenInformation +") called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returne +d 0x000007FEFDFCBD50. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "EqualSid") called f +rom "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x000007F +EFDFCB820. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "DuplicateToken") ca +lled from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x0 +00007FEFDFBD358. GetProcAddress(0x000007FEFDBC0000 [MSVCRT.DLL], "_set_invalid_paramete +r_handler") called from "PERL.EXE" at address 0x0000000000401292 and +returned NULL. Error: Die angegebene Prozedur wurde nicht gefunden (1 +27). GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CreateRestrictedTok +en") called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and retur +ned 0x000007FEFDFEB784. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "NtSetInformationFile") + called from "PGHOOK.DLL" at address 0x000007FEFD1171D7 and returned +0x0000000077271520. GetProcAddress(0x0000000063300000 [PERL518.DLL], "init_Win32CORE") cal +led from "PERL518.DLL" at address 0x000000006341ACDA and returned 0x0 +00000006341E7D0. LoadLibraryExA("c:\strawberry\perl\site\lib\auto\DBI\DBI.dll", 0x00000 +00000000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PERL518.DLL" + at address 0x000000006341AC54. Loaded "DBI.DLL" at address 0x0000000069940000. Successfully hooked m +odule. DllMain(0x0000000069940000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "DBI.DLL" called. DllMain(0x0000000069940000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "DBI.DLL" returned 1 (0x1). LoadLibraryExA("c:\strawberry\perl\site\lib\auto\DBI\DBI.dll", 0x00000 +00000000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x00000000699400 +00. GetProcAddress(0x0000000069940000 [DBI.DLL], "boot_DBI") called from " +PERL518.DLL" at address 0x000000006341E08B and returned 0x00000000699 +557F0. LoadLibraryExA("c:\strawberry\perl\lib\auto\List\Util\Util.dll", 0x000 +0000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PERL518.DL +L" at address 0x000000006341AC54. Loaded "UTIL.DLL" at address 0x0000000062D80000. Successfully hooked +module. DllMain(0x0000000062D80000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "UTIL.DLL" called. DllMain(0x0000000062D80000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "UTIL.DLL" returned 1 (0x1). LoadLibraryExA("c:\strawberry\perl\lib\auto\List\Util\Util.dll", 0x000 +0000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x0000000062D8 +0000. GetProcAddress(0x0000000062D80000 [UTIL.DLL], "boot_List__Util") calle +d from "PERL518.DLL" at address 0x000000006341E08B and returned 0x000 +0000062D860C0. LoadLibraryExA("c:\strawberry\perl\site\lib\auto\DBD\ODBC\ODBC.dll", 0 +x0000000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PERL51 +8.DLL" at address 0x000000006341AC54. Loaded "ODBC.DLL" at address 0x0000000061F00000. Successfully hooked +module. Loaded "ODBC32.DLL" at address 0x000007FEF0810000. Successfully hooke +d module. DllMain(0x000007FEF0810000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ODBC32.DLL" called. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "TryEnterCriticalSec +tion") called from "ODBC32.DLL" at address 0x000007FEF0819E6F and ret +urned 0x0000000077245350. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "SetCriticalSectionS +pinCount") called from "ODBC32.DLL" at address 0x000007FEF0819E86 and + returned 0x0000000077247760. LoadLibraryExA("C:\Windows\system32\odbcint.dll", 0x0000000000000000, +LOAD_WITH_ALTERED_SEARCH_PATH) called from "ODBC32.DLL" at address 0x +000007FEF0819410. Loaded "ODBCINT.DLL" at address 0x0000000059AF0000. Successfully hook +ed module. LoadLibraryExA("C:\Windows\system32\odbcint.dll", 0x0000000000000000, +LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x0000000059AF0000. DllMain(0x000007FEF0810000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ODBC32.DLL" returned 1 (0x1). DllMain(0x0000000061F00000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ODBC.DLL" called. DllMain(0x0000000061F00000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "ODBC.DLL" returned 1 (0x1). LoadLibraryExA("c:\strawberry\perl\site\lib\auto\DBD\ODBC\ODBC.dll", 0 +x0000000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x00000000 +61F00000. GetProcAddress(0x0000000061F00000 [ODBC.DLL], "boot_DBD__ODBC") called + from "PERL518.DLL" at address 0x000000006341E08B and returned 0x0000 +000061F08730. LoadLibraryExA("c:\strawberry\perl\lib\auto\Sys\Hostname\Hostname.dll" +, 0x0000000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "PER +L518.DLL" at address 0x000000006341AC54. Loaded "HOSTNAME.DLL" at address 0x0000000064400000. Successfully hoo +ked module. DllMain(0x0000000064400000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "HOSTNAME.DLL" called. DllMain(0x0000000064400000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "HOSTNAME.DLL" returned 1 (0x1). LoadLibraryExA("c:\strawberry\perl\lib\auto\Sys\Hostname\Hostname.dll" +, 0x0000000000000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x00000 +00064400000. GetProcAddress(0x0000000064400000 [HOSTNAME.DLL], "boot_Sys__Hostname" +) called from "PERL518.DLL" at address 0x000000006341E08B and returne +d 0x0000000064401580. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptCreateHash") c +alled from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x +000007FEFDFBDAD4. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptCreateHash") ca +lled from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0 +x000007FEFD055354. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptHashData") cal +led from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x00 +0007FEFDFBDAC0. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptHashData") call +ed from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0x0 +00007FEFD0556F0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptDeriveKey") ca +lled from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x0 +00007FEFDFEB6B0. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptDeriveKey") cal +led from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0x +000007FEFD0545F0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptDestroyHash") +called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0 +x000007FEFDFBDB00. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptDestroyHash") c +alled from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned +0x000007FEFD055928. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptEncrypt") call +ed from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x000 +007FEFDFEB650. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptEncrypt") calle +d from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0x00 +0007FEFD0550A0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptDestroyKey") c +alled from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x +000007FEFDFBAFA0. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptDestroyKey") ca +lled from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0 +x000007FEFD054838. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "CryptDecrypt") call +ed from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x000 +007FEFDFEB6D0. GetProcAddress(0x000007FEFD050000 [CRYPTSP.DLL], "CryptDecrypt") calle +d from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0x00 +0007FEFD055200. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwQueryInformationProc +ess") called from "PGHOOK.DLL" at address 0x000007FEFD12A85C and retu +rned 0x0000000077271440. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "NtOpenSymbolicLinkObje +ct") called from "PGHOOK.DLL" at address 0x000007FEFD12A880 and retur +ned 0x00000000772722B0. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwQuerySymbolicLinkObj +ect") called from "PGHOOK.DLL" at address 0x000007FEFD12A8A4 and retu +rned 0x0000000077272570. GetProcAddress(0x0000000077220000 [NTDLL.DLL], "ZwClose") called from +"PGHOOK.DLL" at address 0x000007FEFD12A8C8 and returned 0x00000000772 +713A0. LoadLibraryW("psapi.dll") called from "PGHOOK.DLL" at address 0x000007 +FEFD12A8DC. LoadLibraryW("psapi.dll") returned 0x00000000773E0000. GetProcAddress(0x00000000773E0000 [PSAPI.DLL], "GetProcessImageFileNam +eW") called from "PGHOOK.DLL" at address 0x000007FEFD12A902 and retur +ned 0x00000000773E1310. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "RegOpenKeyExW") cal +led from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x00 +0007FEFDFD06F0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "RegQueryValueExW") +called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0 +x000007FEFDFCC2D0. GetProcAddress(0x000007FEFDFB0000 [ADVAPI32.DLL], "RegCloseKey") calle +d from "PGHOOK.DLL" at address 0x000007FEFD11B285 and returned 0x0000 +07FEFDFD0710. LoadLibraryW("psapi.dll") called from "PGHOOK.DLL" at address 0x000007 +FEFD133AC1. LoadLibraryW("psapi.dll") returned 0x00000000773E0000. GetProcAddress(0x00000000773E0000 [PSAPI.DLL], "GetProcessImageFileNam +eW") called from "PGHOOK.DLL" at address 0x000007FEFD133AE7 and retur +ned 0x00000000773E1310. GetProcAddress(0x00000000773E0000 [PSAPI.DLL], "GetProcessImageFileNam +eW") called from "PGHOOK.DLL" at address 0x000007FEFD11B285 and retur +ned 0x00000000773E1310. GetProcAddress(0x0000000077000000 [KERNEL32.DLL], "IsWow64Process") ca +lled from "PGHOOK.DLL" at address 0x000007FEFD129F03 and returned 0x0 +0000000770091D0. LoadLibraryExA("SspiCli.dll", 0x0000000000000000, 0x00000000) called f +rom "ADVAPI32.DLL" at address 0x000007FEFDFCB741. Loaded "SSPICLI.DLL" at address 0x000007FEFCF40000. Successfully hook +ed module. DllMain(0x000007FEFCF40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "SSPICLI.DLL" called. DllMain(0x000007FEFCF40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "SSPICLI.DLL" returned 1 (0x1). LoadLibraryExA("SspiCli.dll", 0x0000000000000000, 0x00000000) returned + 0x000007FEFCF40000. GetProcAddress(0x000007FEFCF40000 [SSPICLI.DLL], "GetUserNameExA") cal +led from "ADVAPI32.DLL" at address 0x000007FEFDFCB7AD and returned 0x +000007FEFCF41640. Loaded "NLAAPI.DLL" at address 0x000007FEFAD40000. Successfully hooke +d module. DllMain(0x000007FEFAD40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "NLAAPI.DLL" called. DllMain(0x000007FEFAD40000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "NLAAPI.DLL" returned 1 (0x1). Loaded "NAPINSP.DLL" at address 0x000007FEF8EF0000. Successfully hook +ed module. DllMain(0x000007FEF8EF0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "NAPINSP.DLL" called. DllMain(0x000007FEF8EF0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "NAPINSP.DLL" returned 1 (0x1). LoadLibraryExA("API-MS-Win-Security-SDDL-L1-1-0.dll", 0x00000000000000 +00, 0x00000000) called from "NAPINSP.DLL" at address 0x000007FEF8EF19 +A6. LoadLibraryExA("API-MS-Win-Security-SDDL-L1-1-0.dll", 0x00000000000000 +00, 0x00000000) returned 0x000007FEFDCB0000. GetProcAddress(0x000007FEFDCB0000 [SECHOST.DLL], "ConvertStringSecurit +yDescriptorToSecurityDescriptorW") called from "NAPINSP.DLL" at addre +ss 0x000007FEF8EF1A12 and returned 0x000007FEFDCBD4C4. Loaded "PNRPNSP.DLL" at address 0x000007FEF8ED0000. Successfully hook +ed module. DllMain(0x000007FEF8ED0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PNRPNSP.DLL" called. DllMain(0x000007FEF8ED0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "PNRPNSP.DLL" returned 1 (0x1). Loaded "MSWSOCK.DLL" at address 0x000007FEFC930000. Successfully hook +ed module. DllMain(0x000007FEFC930000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "MSWSOCK.DLL" called. DllMain(0x000007FEFC930000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "MSWSOCK.DLL" returned 1 (0x1). Loaded "DNSAPI.DLL" at address 0x000007FEFC7B0000. Successfully hooke +d module. DllMain(0x000007FEFC7B0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "DNSAPI.DLL" called. DllMain(0x000007FEFC7B0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "DNSAPI.DLL" returned 1 (0x1). Loaded "WINRNR.DLL" at address 0x000007FEF8EC0000. Successfully hooke +d module. DllMain(0x000007FEF8EC0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "WINRNR.DLL" called. DllMain(0x000007FEF8EC0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "WINRNR.DLL" returned 1 (0x1). LoadLibraryExA("WS2_32.dll", 0x0000000000000000, 0x00000000) called fr +om "NAPINSP.DLL" at address 0x000007FEF8EF19A6. LoadLibraryExA("WS2_32.dll", 0x0000000000000000, 0x00000000) returned +0x000007FEFDC60000. GetProcAddress(0x000007FEFDC60000 [WS2_32.DLL], 0x0000000000000070) ca +lled from "NAPINSP.DLL" at address 0x000007FEF8EF1A12 and returned 0x +000007FEFDC6D510. GetProcAddress(0x000007FEFDC60000 [WS2_32.DLL], 0x000000000000006F) ca +lled from "NAPINSP.DLL" at address 0x000007FEF8EF1A12 and returned 0x +000007FEFDC61290. LoadLibraryExA("bcrypt.dll", 0x0000000000000000, 0x00000000) called fr +om "ODBC32.DLL" at address 0x000007FEF081C93E. Loaded "BCRYPT.DLL" at address 0x000007FEFCAC0000. Successfully hooke +d module. DllMain(0x000007FEFCAC0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "BCRYPT.DLL" called. DllMain(0x000007FEFCAC0000, DLL_PROCESS_ATTACH, 0x0000000000000000) in + "BCRYPT.DLL" returned 1 (0x1). LoadLibraryExA("bcrypt.dll", 0x0000000000000000, 0x00000000) returned +0x000007FEFCAC0000. GetProcAddress(0x000007FEFCAC0000 [BCRYPT.DLL], "BCryptCloseAlgorithmP +rovider") called from "ODBC32.DLL" at address 0x000007FEF081C8ED and +returned 0x000007FEFCAC32B0. HEAP[PERL.EXE]: Heap block at 0000000002682720 modified at 00000000026 +83050 past requested size of 920 HEAP[PERL.EXE]: Invalid address specified to RtlValidateHeap( 00000000 +005E0000, 0000000002682730 ) HEAP[PERL.EXE]: Heap block at 0000000002682720 modified at 00000000026 +83050 past requested size of 920 HEAP[PERL.EXE]: Invalid address specified to RtlReAllocateHeap( 000000 +00005E0000, 0000000002682730 ) HEAP[PERL.EXE]: Heap block at 0000000002682720 modified at 00000000026 +83050 past requested size of 920 HEAP[PERL.EXE]: Invalid address specified to RtlValidateHeap( 00000000 +005E0000, 0000000002682730 ) HEAP[PERL.EXE]: Heap block at 0000000002682720 modified at 00000000026 +83050 past requested size of 920 HEAP[PERL.EXE]: Invalid address specified to RtlReAllocateHeap( 000000 +00005E0000, 0000000002682730 ) Second chance exception 0xC0000374 (Unknown) occurred in "ACXTRNAL.DLL +" at address 0x000007FEEF565B07. Exited "PERL.EXE" (process 0x1A88) with code -1073740940 (0xC0000374).

        Hm. Looks like "ACXTRNAL.DLL" is causing a problem.

        There's two of those on Win 7 64 bit:

        C:\Windows\AppPatch\AppPatch64\AcXtrnal.dll

        and

        C:\Windows\AppPatch\AcXtrnal.dll .

        In the depends-log it says:
        ***************************| Module Dependency Tree |***************** +********** * + * * Legend: F Forwarded Module ? Missing Module 6 64-bit Mod +ule * * D Delay Load Module ! Invalid Module + * * * Dynamic Module E Import/Export Mismatch or Load Fail +ure * * ^ Duplicate Module + * * + * ********************************************************************** +********** ... [* 6] c:\windows\apppatch\apppatch64\ACXTRNAL.DLL [ ^6] c:\windows\system32\NTDLL.DLL [ ^6] c:\windows\system32\KERNEL32.DLL ...
        And then there's this line:
        [* 6] c:\windows\apppatch\apppatch64\ACXTRNAL.DLL + 04.03. +2011 08:19 04.03.2011 08:06 135.168 A 0x00024032 0x000 +24032 x64 Console CV 0x000007FF64000000 0x000007FEEF56 +0000 0x00467000 21 6.1.7601.17571 6.1.7601.17571 + 6.1 9.0 6.1 6.1
        I don't know what i'm looking at ...

      Thank you, but sadly i can't install any third party software on my work machine on my own...

Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by mje (Curate) on Apr 23, 2014 at 09:16 UTC

    That is a lot of data sources. Perhaps someone ca see a flaw in the XS code that DBD::ODBC uses:

    void data_sources(drh, attr = NULL) SV* drh; SV* attr; PROTOTYPE: $;$ PPCODE: { #ifdef DBD_ODBC_NO_DATASOURCES /* D_imp_drh(drh); imp_drh->henv = SQL_NULL_HENV; dbd_error(drh, (RETCODE) SQL_ERROR, "data_sources: SOLID d +oesn't implement SQLDataSources()");*/ XSRETURN(0); #else int numDataSources = 0; UWORD fDirection = SQL_FETCH_FIRST; RETCODE rc; UCHAR dsn[SQL_MAX_DSN_LENGTH+1+9 /* strlen("DBI:ODBC:") */]; SWORD dsn_length; UCHAR description[256]; SWORD description_length; D_imp_drh(drh); if (!imp_drh->connects) { rc = SQLAllocEnv(&imp_drh->henv); if (!SQL_ok(rc)) { imp_drh->henv = SQL_NULL_HENV; dbd_error(drh, rc, "data_sources/SQLAllocEnv"); XSRETURN(0); } } strcpy(dsn, "dbi:ODBC:"); while (1) { rc = SQLDataSources(imp_drh->henv, fDirection, dsn+9, /* strlen("DBI:ODBC:") */ SQL_MAX_DSN_LENGTH, &dsn_length, description, sizeof(description), &description_length); if (!SQL_ok(rc)) { if (rc != SQL_NO_DATA_FOUND) { /* * Temporarily increment imp_drh->connects, so * that dbd_error uses our henv. */ imp_drh->connects++; dbd_error(drh, rc, "data_sources/SQLDataSources"); imp_drh->connects--; } break; } ST(numDataSources++) = newSVpv(dsn, dsn_length+9 /* strlen("db +i:ODBC:") */ ); fDirection = SQL_FETCH_NEXT; } if (!imp_drh->connects) { SQLFreeEnv(imp_drh->henv); imp_drh->henv = SQL_NULL_HENV; } XSRETURN(numDataSources); #endif /* no data sources */ }

      One thing that strikes me as odd is that MSDN on SQLDataSources documents the BufferLength2 parameter as

      [Input] Length in characters of the *Description buffer.

      The value passed to it is sizeof(description). This is all well, as long as sizeof(UCHAR) == sizeof(char), but I don't know if that is actually true, as I don't do much C. UCHAR could be unsigned char, but it could also be Unicode char. Personally, I would try to avoid the direct sizeof() and declare a constant (say) DESCRIPTION_SIZE= 256, and then use

      const DESCRIPTION_SIZE= 256; UCHAR description[ DESCRIPTION_SIZE ]; ... SQLDataSources( ... description, DESCRIPTION_SIZE, ... );

      ... but I doubt that this is the problematic part, as it would imply an "overly long" description of over 256 bytes in one of the ODBC data sources.

        Actually something along these lines would make sense to me, because i suspect some sort of problem with the fact that my windows being a 64bit system.

        One of the differences between 64bit and 32bit is of course the different return values for the sizeof() function in c.

        I think if one is not careful there, some code segment could easily work like a charm on windows 32bit but cause serious problems on windows 64bit.

        I installed the DBI- and DBD:ODBC-packages using something like cpan install DBI calling the cpan.bat from the 64bit-installation of strawberry perl (again 5.18.1).

        So i thought the packages beeing installed should definetly be working on windows 64bit. But maybe this is just not necessarily the case?

        It is a fresh perl-installation and the only thing i added were the two mentioned packages and the Modern:Perl-package to test the code suggested above.
      Actually anything i do in my script using the DBD::ODBC-package works. Including connecting, sending an sql and fetching the result from the DB2-database.

      The crash occurs calling the above mentioned function from the DBI-package. It should merly list all the configured ODBC-DSNs on the given windows machine.

      That is a lot of data sources. Perhaps someone ca see a flaw in the XS code that DBD::ODBC uses:

      LOL!

Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by chacham (Prior) on Apr 23, 2014 at 04:44 UTC

    You mention in this thread this is to connect to DB2. It reminds me of a problem i had at a large company using DB2 for LUW.

    The database and the corporate approved drivers were different versions, causing more than one interesting crash. One case (due to a bug in my code) returned an index out of range error, but when called from VB brought down the server! DB2 can be temperamental. How the calling program mattered, i do not know.

    Because of this strange error, i would suggest that you check that the versions match up between server and client.

      Thank you, i will look into that.

      Problem is, that i don't work in the IT-department. So it's a matter of actually getting the necessary information.

      It seems what i am experiencing is not really/merely a perl problem...

        You should be able to check the version of the database by logging into it, and of the driver by checking the properties panel.
Re: Strawberry Perl 64bit on Win7 crashes on DBI-function
by theman824 (Novice) on Apr 22, 2014 at 11:55 UTC

    I am curious.

    In the second line of the trace-output is says:
    -> DBI->install_driver(ODBC) for MSWin32 [...]
    Should this look like this on a 64bit perl on 64bit Windows?

      Most likely, that's just the value of $^O, which is MSWin32 even on 64-bit Windows OSes and 64-bit Perls.

        Ok, thanks. Thought i might be on to something ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1082650]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2019-09-21 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (269 votes). Check out past polls.

    Notices?