[Fwd: Re: bug on debian... what's wrong with me ?]

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [Fwd: Re: bug on debian... what's wrong with me ?]
Date: 2004-11-19 23:03:14
Message-ID: 419E7BB2.7070900@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

resending to the list as I didn't get it back (lost mail ?).

-------- Original Message --------
Subject: Re: [pgadmin-hackers] bug on debian... what's wrong with me ?
Date: Fri, 19 Nov 2004 22:15:59 +0100
From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
CC: devrim(at)gunduz(dot)org, pgadmin-hackers(at)postgresql(dot)org
References: <mnet1(dot)1100854768(dot)20453(dot)blacknoz(at)club-internet(dot)fr>
<419DC611(dot)2060400(at)pse-consulting(dot)de>

Hi Andreas,

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

Andreas Pflug wrote:
> blacknoz(at)club-internet(dot)fr wrote:
>
>> ----Message d'origine----
>>
>>> Date: Fri, 19 Nov 2004 01:07:31 +0200 (EET)
>>> De: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
>>> A: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
>>> Copie à: PgAdmin Hackers <pgadmin-hackers(at)postgresql(dot)org>,
>>> 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,
event=(at)0xbffff010)
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

Browse pgadmin-hackers by date

  From Date Subject
Next Message cvs 2004-11-20 17:27:32 CVS Commit by andreas: rc2
Previous Message Raphaël Enrici 2004-11-19 21:15:59 Re: bug on debian... what's wrong with me ?