Hi Andreas,

finally it's not as dramatic as I thought... read further please:

Andreas Pflug wrote:
[EMAIL PROTECTED] wrote:

----Message d'origine----

Date: Fri, 19 Nov 2004 01:07:31 +0200 (EET)
De: Devrim GUNDUZ <[EMAIL PROTECTED]>
A: Raphaėl Enrici <[EMAIL PROTECTED]>
Copie ą: PgAdmin Hackers <[EMAIL PROTECTED]>,
Sujet: Re: [pgadmin-hackers] bug on debian... what's wrong with me ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 18 Nov 2004, [ISO-8859-1] Raphaėl Enrici wrote:


I can't login to the database with RC2 and Debian. I have a wxWidgets assert. Did I miss something or should I try the --disable-beer ?


<snip>

2004-11-18 22:49:41 DEBUG : src/common/string.cpp(1060): assert "nLen != (size_t)-1" failed.


I get the same error if I use Turkish locale! I'd report it today but totally forgot it!
I think there is a problem in wxWidgets, we should report this bug to them.


Provide a stack backtrace, so I can see where the assert comes from. Maybe you have to switch from beer to cocktails.


So, take this as an invitation to my cocktail party! ;) In fact, I have such an assert when PostgreSQL is stopped!!! ;) /etc/init.d/postgresql stop launch pgadmin, try to connect and you fall in the assert...

Here is a backtrace:

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1211925824 (LWP 21032)]
0xb7d27780 in raise () from /lib/tls/libpthread.so.0
(gdb) bt
#0 0xb7d27780 in raise () from /lib/tls/libpthread.so.0
#1 0x085d4166 in wxTrap ()
#2 0x0851f80e in wxGUIAppTraitsBase::ShowAssertDialog ()
#3 0x085d44f9 in ShowAssertDialog ()
#4 0x085d3f8b in wxAppConsole::OnAssert ()
#5 0x084952a2 in wxApp::OnAssert ()
#6 0x085d421f in wxOnAssert ()
#7 0x085d4194 in wxAssert ()
#8 0x086317e5 in wxWcstr ()
#9 0x0862ba87 in wxString::wxString ()
#10 0x081b062b in pgConn::GetLastError (this=0x5) at string.h:919
#11 0x08216ea2 in pgServer::GetLastError (this=0x8c9f560) at string.h:228
#12 0x0829475f in frmMain::ReconnectServer (this=0x8c0e7b0, server=0x8c9f560)
at string.h:789
#13 0x0827923e in frmMain::OnSelActivated (this=0x8c0e7b0, [EMAIL PROTECTED])
at ui/events.cpp:944
#14 0x085d3d1c in wxAppConsole::HandleEvent ()
#15 0x0864021a in wxEvtHandler::ProcessEventIfMatches ()
#16 0x0863f390 in wxEventHashTable::HandleEvent ()
#17 0x08640408 in wxEvtHandler::ProcessEvent ()
#18 0x0857c85f in wxWindowBase::TryParent ()
#19 0x0864046a in wxEvtHandler::ProcessEvent ()
#20 0x0857c85f in wxWindowBase::TryParent ()
---Type <return> to continue, or q <return> to quit---
#21 0x0864046a in wxEvtHandler::ProcessEvent ()
#22 0x085a9259 in wxGenericTreeCtrl::OnMouse ()
#23 0x085d3d1c in wxAppConsole::HandleEvent ()
#24 0x0864021a in wxEvtHandler::ProcessEventIfMatches ()
#25 0x0863f390 in wxEventHashTable::HandleEvent ()
#26 0x08640408 in wxEvtHandler::ProcessEvent ()
#27 0x084bb996 in gtk_window_button_press_callback ()
#28 0x4129c934 in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#29 0x4164cc20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#30 0x41660c25 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#31 0x4165f9be in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#32 0x4165fee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#33 0x4139b957 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x4129aed2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x41299c26 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x4151b185 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#37 0x4147db92 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#38 0x4147ec88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x4147efc0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x4147f603 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#41 0x412994e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#42 0x085b1730 in wxEventLoop::Run ()
#43 0x0851f1b6 in wxAppBase::MainLoop ()
#44 0x0851f2f2 in wxAppBase::OnRun ()
#45 0x0860c06e in wxEntry ()
#46 0x0860c144 in wxEntry ()
#47 0x081ab59b in main (argc=1, argv=0x0) at pgAdmin3.cpp:81


Cheers,
Raphaėl

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to