Re: pgadmin 1.10.2 crashes on start - Mailing list pgadmin-hackers

From Erwin Brandstetter
Subject Re: pgadmin 1.10.2 crashes on start
Date
Msg-id 4BD1F423.6060608@falter.at
Whole thread Raw
In response to Re: pgadmin 1.10.2 crashes on start  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: pgadmin 1.10.2 crashes on start  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
On 22.04.2010 21:37, guillaume@lelarge.info wrote:
> Le 22/04/2010 14:28, Erwin Brandstetter a écrit :
>
>> On 19.04.2010 23:46, guillaume@lelarge.info wrote:
>>
>>> Le 19/04/2010 19:24, Erwin Brandstetter a écrit :
>>>
>>>
>>>> On 17.04.2010 08:02, guillaume@lelarge.info wrote:
>>>>       (...)
>>>>
>>> I really don't understand. From your pgadmin3.log, it's quite obvious
>>> that the program crash before startup. I'm sorry, I'm at lost here. Do
>>> you have the depends.exe binary? if yes, can you try to see what it
>>> tells you when you open pgAdmin 1.10.1 and 1.10.2? are there any
>>> differences? (if you dont have this program, you can try to download it
>>> here: http://www.dependencywalker.com/)
>>>
>>>
>> OK, got the "Dependency Walker". For starters, that's what it says about
>> my test pc (system information):
>>
>> Dependency Walker:    2.2.6000 (32-bit)
>> Operating System:    Microsoft Windows XP Home (32-bit)
>> OS Version:    5.01.2600 Service Pack 3
>> Processor:    x86 Family 6 Model 10 Stepping 0, AuthenticAMD, ~1996MHz
>> Number of Processors:    1
>> Computer Name:    ERWIN
>> User Name:    brsa
>> Local Date:    Donnerstag, 22. April 2010
>> Local Time:    14:08:10 Westeuropäische Sommerzeit (GMT+02:00)
>> OS Language:    0x0C07: German (Austria)
>> Memory Load:    43%
>> Physical Memory Total:    2.146.947.072 (2048 MB)
>> Physical Memory Used:    934.141.952
>> Physical Memory Free:    1.212.805.120
>> Page File Memory Total:    1.990.057.984
>> Page File Memory Used:    632.475.648
>> Page File Memory Free:    1.357.582.336
>> Virtual Memory Total:    2.147.352.576
>> Virtual Memory Used:    97.251.328
>> Virtual Memory Free:    2.050.101.248
>> Page Size:    0x00001000 (4.096)
>> Allocation Granularity:    0x00010000 (65.536)
>> Min. App. Address:    0x00010000 (65.536)
>> Max. App. Address:    0x7FFEFFFF (2.147.418.111)
>>
>>
>> Output for pgAdmin 1.10.1 (working fine):
>> ~~~~~~~~~~~~~~~~~~~~
>> Warning: At least one delay-load dependency module was not found.
>> Warning: At least one module has an unresolved import due to a missing
>> export function in a delay-load dependent module.
>>
>> I get errors for these files ("Error opening file. System cannot find
>> file")
>>      DWMAPI.DLL
>>      EFSADU.DLL
>>      INETCOMM.DLL
>>
>>
>> Output for pgAdmin 1.10.2 (crash at start):
>> ~~~~~~~~~~~~~~~~~~~~
>> Error: The Side-by-Side configuration information for
>> "c:\programme\pgadmin iii\1.10\SSLEAY32.DLL" contains errors. Diese
>> Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration
>> nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu
>> installieren (14001).
>>      -- Translation: the application could not be started because of
>> errors in the configuration. Try to reinstall to solve the problem.
>> Error: The Side-by-Side configuration information for
>> "c:\programme\pgadmin iii\1.10\LIBEAY32.DLL" contains errors. Diese
>> Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration
>> nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu
>> installieren (14001).
>> Warning: At least one delay-load dependency module was not found.
>> Warning: At least one module has an unresolved import due to a missing
>> export function in a delay-load dependent module.
>>
>> And the same three modules show the same error msg.:
>>      DWMAPI.DLL
>>      EFSADU.DLL
>>      INETCOMM.DLL
>>
>>
>> Is this useful? Do you need anything else?
>>
>>
> A little search on Google, and I find a lot of people complaining on the
> same issue (but not on pgAdmin). Apparently, the usual fix is to
> download and install the Microsoft Visual C++ 2005 Redistributable
> Package. You can get it here:
> http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en
>
> Let us know if it works out well. (If it works, I still don't get it...
> we ship it with the installer, don't we?)
>


Congratulations, Guillaume! You nailed it. After installing "Microsoft
Visual C++ 2005 Redistributable" pgAdmin 1.10.2 now starts normally.
The output of  the "Dependency Walker for v. 1.10.2 is now practically
identical to the output for v.1.10.1 - likewise if I use your newly
compiled version of pgAdmin3.exe in a 1.10.2 environment.

Some questions remain. As you wrote yourself: if the redistributable
part of MS Visual C++ is shipped with the installer, the problem should
not occur (?)
And why does it only happen on some PCs?
Also, why are previous versions not affected?

Either way, I can now test the latest bug fixes in the new version you
sent me on this PC. For now, however, have a nice weekend!


Regards
Erwin

pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: PATCH: Ticket#96: Deferrable unique & primary constraints
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r8295 - in trunk/pgadmin3: . pgadmin/dlg pgadmin/schema pgadmin/ui