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)    at src/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


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to