(note : from 0x7FF6E4B40000 to 0x00007FF6E4B40560 memory contains functions addresses, and mapfile says : 0002:00000520 _imp_set_pglocale_pgservice postgres:postgres.exe ) Assembly details on windows 7 (working case) :įew lines after the main, the application calls the function set_pglocale_pgservice set_pglocale_pgservice(argv, "pgscripts") Ġ0007FF6E4B39C8E lea rdx,Ġ0007FF6E4B39C95 mov rcx,qword ptr Ġ0007FF6E4B39C9A mov rcx,qword ptr Ġ0007FF6E4B39C9E call qword ptr To be sure that I use the right binaries, I have copy all the redistributable binaries into the folder of my application. The binary is generated from C sources with visual studio 2013, on windows 7 (I have tried with a version generated on windows 10 but it doesn't change anythings), on a 圆4 system, for a 圆4 application and the optimisation is disabled and it use dynamic base. But on windows 8 or 10, the application always crashs with the following sequences. I have no issue during the build or during the runtime. This binary is linked with postgres 9.6 redistributable (I use those delievered by EntrepriseDb).Īll works fine on windows 7. I have build project whose generate a binary.
0 Comments
Leave a Reply. |