Re: pgAdminII 1.1.66-Dev crash

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdminII 1.1.66-Dev crash
Дата
Msg-id FED2B709E3270E4B903EB0175A49BCB104730F@dogbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на pgAdminII 1.1.66-Dev crash  (Paul Jongsma <paulj@webtic.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgAdminII 1.1.66-Dev crash
Следующее
От: Paul Jongsma
Дата:
Сообщение: Re: pgAdminII 1.1.66-Dev crash