Re: pgAdminII 1.1.66-Dev crash - Mailing list pgadmin-support

From Dave Page
Subject Re: pgAdminII 1.1.66-Dev crash
Date
Msg-id FED2B709E3270E4B903EB0175A49BCB104730F@dogbert.vale-housing.co.uk
Whole thread Raw
In response to pgAdminII 1.1.66-Dev crash  (Paul Jongsma <paulj@webtic.com>)
List pgadmin-support

> -----Original Message-----
> From: Paul Jongsma [mailto:paulj@webtic.com]
> Sent: 30 November 2001 13:25
> To: Dave Page
> Subject: RE: [pgadmin-support] pgAdminII 1.1.66-Dev crash
>
>
>
> Dave,
>
> >That doesn't overly surprise me. I suspect the MS Listview
> control that
> >pgAdmin uses is at fault - I have had trouble with it in the
> past but I
> >thought they fixed that. I'm *very* confident that it's not pgAdmin
> >itself that's falling over, because the VB runtimes *always* catch
> >coding errors and pgAdmin has extensive code to trap these and deal
> >with them nicely. However a control such as the listview which is
> >probably written in C++ probably has far less (and less
> graceful)error
> >handling.
>
> On my homemachine I have Visual Studio installed, and crashes
> of pgAdmin activitate the debugger and now the infamous "Dr Watson".
>
> Any crash thusfar was in "kernel32.dll" and indicated an
> address exception.
>
> Further tested things on my end;
>
> I made a simple "in the bubble" table containing 5 records,
> if you would look at it in CSV format it would be:
>
> idx;title;intro;body;date;current
> "1";"titel";"intro";"body";"26-05-2001";""
> "2";"titel";"intro";"body";"26-05-2001";""
> "3";"titel";"intro";"body";"26-05-2001";""
> "4";"titel";"intro";"body";"26-05-2001";""
> "5";"titel";"intro";"body";"26-05-2001";""
>
> This table causes no problems whatsoever, create 10000+
> entries and it will still work like a charm.
>
> However: extend the "body" field in record 5 to a
> string of exactly 12137 bytes or more and the
> problem will occur. Extract 1 byte and it will
> be fine.
>
> The 5 records is completely arbitrary, the same
> problem occurs with only 1 record in the table.
>
> This explains my earlier "random delete until it works",
> I randomly deleted stuff until only records where
> length(body)<12137 were left.
>
> Now how could I go and fix this? Is this Listview component
> part of VB runtime or is it part of the Windows system?

It ships with VB - it's actually part of mscomctl.ocx which is the
'Microsoft Windows Common Controls 6.0'. What version do you have there (I
have 6.1.83.41)?

/Dave.

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdminII 1.1.66-Dev crash
Next
From: Paul Jongsma
Date:
Subject: Re: pgAdminII 1.1.66-Dev crash