Обсуждение: Re: stack trace

Поиск
Список
Период
Сортировка

Re: stack trace

От
Andreas Pflug
Дата:
Reinhard Max wrote:

>Hi,
>
>here comes the stack trace from the segfault I got when I tried to start
>pgAdmin on SuSE Linux 8.2 for the first time:
>
>#0  wxString::AllocBeforeWrite(unsigned) (this=0x874d78c, nLen=4) at include/wx/string.h:188
>#1  0x00000001 in ?? ()
>#2  0x0845709f in wxString::AssignCopy(unsigned, wchar_t const*) (this=0x874d78c, nSrcLen=4, pszSrcData=0x874d78c)
atsrc/common/string.cpp:548 
>#3  0x08457270 in wxString::operator=(wchar_t const*) (this=0x874d78c, psz=0x4) at include/wx/wxchar.h:669
>#4  0x084dd48a in wxProtoInfo (this=0x4, name=0x0, serv=0x0, info=0x0) at src/common/protocol.cpp:44
>#5  0x084e0a9c in __static_initialization_and_destruction_0 (__initialize_p=0, __priority=65535)    at
src/common/sckfile.cpp:32
>#6  0x084e0b9a in _GLOBAL__I__Z27wxConstructorForwxFileProtov () at src/common/sckfile.cpp:33
>#7  0x084ead25 in __do_global_ctors_aux ()
>#8  0x0814f971 in _init ()
>#9  0x084eac9c in __libc_csu_init () at elf-init.c:60
>#10 0x40768838 in __libc_start_main () from /lib/libc.so.6
>
>
>
I got a bit deeper into this and found that things happen while global
wxWindows vars are initialized. From wxString::AllocBeforeWrite being in
string.h I can see that your're using an older wxWindows version, which
is it?
The latest version that is usable is June 18 (just checked), later
versions are broken for non-win32. So please use cvs update -D
2003-06-18 to obtain a wx version.

Regards,
Andreas


Re: stack trace

От
"Adam H. Pendleton"
Дата:
Andreas Pflug wrote:

> The latest version that is usable is June 18 (just checked), later
> versions are broken for non-win32. So please use cvs update -D
> 2003-06-18 to obtain a wx version.

Or cvs co -D 2003-06-18 wxWindows if you need to obtain a fresh tree.  :-)

ahp



Re: stack trace

От
Jean-Michel POURE
Дата:
On Wednesday 25 June 2003 19:23, Andreas Pflug wrote:
> I got a bit deeper into this and found that things happen while global
> wxWindows vars are initialized. From wxString::AllocBeforeWrite being in
> string.h I can see that your're using an older wxWindows version, which
> is it?

It is our wxGTK 2.5 cvs 20030607 version installed from RPM.
From http://www.pgadmin.org/snapshots/linux/suse82/wxGTK2

> The latest version that is usable is June 18 (just checked), later
> versions are broken for non-win32. So please use cvs update -D
> 2003-06-18 to obtain a wx version.

Andreas, I thought the latest recommanded version was 2003-06-07.
All RPMs are based on it. Shall I upgrade them all? This can be done within
hours if you require it.

Cheers,
Jean-Michel


Re: stack trace

От
Andreas Pflug
Дата:
Jean-Michel POURE wrote:

>Andreas, I thought the latest recommanded version was 2003-06-07.
>All RPMs are based on it. Shall I upgrade them all? This can be done within
>hours if you require it.
>
>
>
Please try it. From time to time, I update my wx, and since there's been
a change just in the region that crashes this might include a required fix.

Regards,
Andreas