Re: pgAdmin 4 crash on startup

From: Gareth Marshall <gareth(at)ifcubed(dot)com>
To: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: pgAdmin 4 crash on startup
Date: 2017-11-30 00:42:38
Message-ID: 1512002558.4164507.1188832152.421D6DC3@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Sandeep,

After the successful startup of pgAdmin 4 with the debugger attached,
I connected to my servers and tested some other functionality without
any issues.
Since doing that, starting pgAdmin 4 without the debugger is also
starting ok. The text rendering still isn't great, but it doesn't crash,
and appears to be functioning as would be expected.
This makes me suspect that either there is some configuration
information that has now been saved that is preventing the problem from
occurring again or that the problem only happens if some uninitialised
memory is accessed, and that previously I was unlucky to have it cause
problems but now am avoiding hitting bad values for that memory.
Kind regards,
Gareth

On Tue, 28 Nov 2017, at 20:49, Sandeep Thakkar wrote:
>
>
> On Tue, Nov 28, 2017 at 2:28 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:>> Sandeep, can you help try to figure this out please?
>>
> Sure Dave.
>
>> On Tue, Nov 28, 2017 at 4:52 AM, Gareth Marshall
>> <gareth(at)ifcubed(dot)com> wrote:>>> Hi
>>>
> Hi Gareth,
>
>>> I'm having an issue with pgAdmin 4 crashing on startup. Any
>>> assistance>>> in getting it working would be very much appreciated.
>>>
>>> == pgAdmin Version ==
>>> It is the version of pgAdmin 4 installed by the EnterpriseDB
>>> PostgreSQL>>> 10.1-2-windows-x64 installer. The file properties for the
>>> executable say>>> it is version 2.0.0.0.
>>>
>>> == Configure Options ==
>>> Unknown. I am using binaries from the EnterpriseDB installer.
>>>
>>> == Operating System ==
>>> I'm running on Windows 7 Ultimate (Build 7601: Service Pack 1)
>>> 64-bit,>>> and I am connected to it over a remote desktop connection.
>>>
>>> == Server or Desktop Mode ==
>>> I am starting it from the Windows start menu as installed by the
>>> installer. I assume that this would be desktop mode.
>>>
>>> == Qt Version ==
>>> The properties of QtGui.dll say it is version 5.9.1.0.
>>>
>>> == Python Version ==
>>> The properties of python27.dll say it is version 2.7.11150.1013.
>>> I also>>> have Python 2.7.12 in my Windows path.
>>>
>>> == pip freeze ==
>>> C:\Program Files\PostgreSQL\10\pgAdmin 4\bin>pip freeze
>>> Pygments==2.2.0
>>>
>>> == Steps to Reproduce ==
>>> I launch pgAdmin 4 by clicking on the shortcut in the start menu
>>> created>>> by the installer, or by double clicking on the executable in
>>> c:\Program>>> Files\PostgreSQL\10\pgAdmin 4\bin.
>>>
>>> The application runs for a while, and paints some UI: I can see
>>> a menu>>> bar with options File, Object, Tools, and Help. Below that on
>>> the left>>> is a pane titled Browser. To the right is a pane with a
>>> Dashboard pane>>> active. There are also Properties, SQL, Statistics, and
>>> Dependencies>>> tabs, as well as navigation arrows and a close button.
>>>
>>> Once this UI appears, Windows displays a message saying "pgAdmin 4>>> Desktop Runtime has stopped working". The problem details are:
>>>
>>> Problem Event Name: APPCRASH
>>> Application Name: pgAdmin4.exe
>>> Application Version: 2.0.0.0
>>> Application Timestamp: 5a030f94
>>> Fault Module Name: Qt5Gui.dll
>>> Fault Module Timestamp: 59539955
>>> Exception Code: c0000005
>>> Exception Offset: 003bbe7f
>>> OS Version: 6.1.7601.2.1.0.256.1
>>> Locale ID: 3081
>>> Additional Information 1: 0a9e
>>> Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
>>> Additional Information 3: 0a9e
>>> Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
>>>
>>> I believe that this error code corresponds to an Access
>>> Violation in>>> Qt5Gui.dll.
>>>
> Yes, Exception code: c0000005 corresponds to an Access Violation which
> probably means application tried to access unallocated memory. Did you
> try debugging it with Microsoft Visual Studio? Could you also share
> the total RAM on this VM?>
>>> The details for my Display are:
>>> Name: Microsoft Virtual Machine Bus Video Device
>>> PNP Device ID:
>>> VMBUS\{5620E0C7-8062-4DCE-AEB7-
>>> 520C7EF76171}\5&296C0F0E&0&{5620E0C7-8062-4DCE-AEB7-520C7EF76171}>>> Adapter Type: Not Available, Microsoft compatible
>>> Adapter Description: Microsoft Virtual Machine Bus Video Device
>>> Adapter RAM: Not Available
>>> Installed Drivers: VMBusVideoD.dll
>>> Driver Version: 6.1.7601.17514
>>> INF File: wvmbusvideo.inf (SynthVid section)
>>> Color Planes: Not Available
>>> Color Table Entries: Not Available
>>> Resolution: Not Available
>>> Bits/Pixel: Not Available
>>> Memory Address: 0xFFB00000-0xFFEFFFFF
>>> Driver: c:\windows\system32\drivers\vmbusvideom.sys
>>> (6.1.7601.17514,>>> 22.00 KB (22,528 bytes), 2011-05-20 12:34)
>>>
>>> The Virtual Machine is running under Hyper-V on Windows 2008 R2.
>>>
>>> Kind regards,
>>> Gareth Marshall
>>>
>>
>>
>>
>> --
>> Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com The Enterprise
>> PostgreSQL Company>>
>
>
>
> --
> Sandeep Thakkar
> EnterpriseDB: http://www.enterprisedb.com[1] The Enterprise
> PostgreSQL Company>

Links:

1. http://www.enterprisedb.com/

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Durumdara 2017-11-30 07:26:37 Re: 500 Internal Server Error
Previous Message Gareth Marshall 2017-11-29 23:46:11 Re: pgAdmin 4 crash on startup