Re: Pgadmin git version crash with "alt+f4"

From: Philippe Rimbault <primbault(at)edd(dot)fr>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Pgadmin git version crash with "alt+f4"
Date: 2010-10-15 07:22:09
Message-ID: 4CB80121.6010104@edd.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Sorry to re-open this thread, i'v just seen that my gdb output was wrong
(no symbols loaded because of a bad --prefix at compilation).
Here is the good output of gdb (on the last Git version of Pgadmin) :

Program received signal SIGSEGV, Segmentation fault.
0x083df5f0 in gqbView::updateModelSize (this=0x0, obj=0x0,
updateAnyWay=true) at ./gqb/gqbView.cpp:711
711 if(!iterator)
(gdb) bt
#0 0x083df5f0 in gqbView::updateModelSize (this=0x0, obj=0x0,
updateAnyWay=true) at ./gqb/gqbView.cpp:711
#1 0x083dfa31 in gqbView::canSaveAsImage (this=0x0) at
./gqb/gqbView.cpp:795
#2 0x08233084 in frmQuery::updateMenu (this=0x9083600, obj=0x91d9470)
at ./frm/frmQuery.cpp:1386
#3 0x0823284c in frmQuery::OnFocus (this=0x9083600, ev=...) at
./frm/frmQuery.cpp:1201
#4 0x08232874 in frmQuery::OnFocus (this=0x91d6280, ev=...) at
./frm/frmQuery.cpp:1207
#5 0x08232874 in frmQuery::OnFocus (this=0x90b0000, ev=...) at
./frm/frmQuery.cpp:1207
#6 0x08232874 in frmQuery::OnFocus (this=0x91d9470, ev=...) at
./frm/frmQuery.cpp:1207
#7 0xb74d5ebf in wxAppConsole::HandleEvent (this=0x88305f8,
handler=0x91d9470, func=NULL, event=...) at ../src/common/appbase.cpp:322
#8 0xb7591529 in wxEvtHandler::ProcessEventIfMatches (entry=...,
handler=0x91d9470, event=...) at ../src/common/event.cpp:1231
#9 0xb7591888 in wxEvtHandler::SearchDynamicEventTable (this=0x91d9470,
event=...) at ../src/common/event.cpp:1413
#10 0xb7592bf5 in wxEvtHandler::ProcessEvent (this=0x91d9470, event=...)
at ../src/common/event.cpp:1289
#11 0xb77b0f7e in DoSendFocusEvents (widget=0x9082ec0, win=0x91d9470) at
../src/gtk/window.cpp:1487
#12 gtk_window_focus_in_callback (widget=0x9082ec0, win=0x91d9470) at
../src/gtk/window.cpp:1891
#13 0xb6c34e24 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb684c13a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb686261d in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0xb6863a7b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb6864076 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb6d610f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb6d6efe1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb6d71713 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb6d717f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb6c34e24 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb684a7a9 in ?? () from /usr/lib/libgobject-2.0.so.0
#24 0xb684c13a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0xb6862266 in ?? () from /usr/lib/libgobject-2.0.so.

Regards

Philippe

On 21/09/2010 14:58, Philippe Rimbault wrote:
> Here the output of "bt" just after the crash :
>
> (gdb) bt
> #0 0x08465a10 in gqbView::updateModelSize(gqbQueryObject*, bool) ()
> #1 0x08465b02 in gqbView::canSaveAsImage() ()
> #2 0x0825a90f in frmQuery::updateMenu(wxObject*) ()
> #3 0x0825d52f in frmQuery::OnFocus(wxFocusEvent&) ()
> #4 0x0825d50e in frmQuery::OnFocus(wxFocusEvent&) ()
> #5 0x0825d50e in frmQuery::OnFocus(wxFocusEvent&) ()
> #6 0x0825d50e in frmQuery::OnFocus(wxFocusEvent&) ()
> #7 0xb759cf2f in wxAppConsole::HandleEvent(wxEvtHandler*, void
> (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from
> /usr/lib/libwx_baseu-2.8.so.0
> #8 0xb763af39 in
> wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
> wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
> #9 0xb763b0c8 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
> from /usr/lib/libwx_baseu-2.8.so.0
> #10 0xb763c0d5 in wxEvtHandler::ProcessEvent(wxEvent&) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #11 0xb7834f88 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #12 0xb6cfce24 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #13 0xb6914142 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #14 0xb692a62d in ?? () from /usr/lib/libgobject-2.0.so.0
> #15 0xb692ba83 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0
> #16 0xb692c086 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #17 0xb6e290f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #18 0xb6e36fe1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #19 0xb6e39713 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #20 0xb6e397f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #21 0xb6cfce24 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #22 0xb69127a9 in ?? () from /usr/lib/libgobject-2.0.so.0
> #23 0xb6914142 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #24 0xb692a276 in ?? () from /usr/lib/libgobject-2.0.so.0
> #25 0xb692ba83 in g_signal_emit_valist () from
> /usr/lib/libgobject-2.0.so.0
> #26 0xb692c086 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #27 0xb6e290f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #28 0xb6cf693c in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
> #29 0xb6b7edca in ?? () from /usr/lib/libgdk-x11-2.0.so.0
> #30 0xb68682f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
> #31 0xb686bfd8 in ?? () from /lib/libglib-2.0.so.0
> #32 0xb686c517 in g_main_loop_run () from /lib/libglib-2.0.so.0
> #33 0xb6cf6dc9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #34 0xb781dd18 in wxEventLoop::Run() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #35 0xb78b0ace in wxAppBase::MainLoop() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #36 0xb78b06c1 in wxAppBase::OnRun() () from
> /usr/lib/libwx_gtk2u_core-2.8.so.0
> #37 0xb75d6aca in wxEntry(int&, wchar_t**) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #38 0xb75d6ca7 in wxEntry(int&, char**) () from
> /usr/lib/libwx_baseu-2.8.so.0
> #39 0x0807d2cb in main ()
>
>
> On 21/09/2010 14:27, Guillaume Lelarge wrote:
>> Le 21/09/2010 13:53, Philippe Rimbault a écrit :
>>> I'have just compiled pgadmin with debug option.
>>> Version of wxwidgets is 2.8.10.
>>>
>> I installed Ubuntu's wxWidgets packages. Still don't get a crash.
>>
>>> Here you will find everthing i've done ton compile and exectue
>>> (/home/pri/bin/pgadmin3 is a link to /opt/pgadmin/bin/pgadmin3).
>>> If you need other "traces", i'm OK.
>>> (Thank for your work on pgadmin and the french translation of the
>>> postgresql doc)
>>>
>>>
>>> pri(at)rimbault:~/pgadmin3$ git pull
>>> Already up-to-date.
>>> pri(at)rimbault:~/pgadmin3$ ./configure --prefix=/opt/pgadmin
>>> --enable-debug
>>> [...]
>>> PostgreSQL directory: /usr/local/pgsql
>>> PostgreSQL pg_config binary:
>>> /usr/local/pgsql/bin/pg_config
>>> PostgreSQL version: PostgreSQL 9.0.0
>>>
>>> PostgreSQL PQconninfoParse support: Present
>>> PostgreSQL SSL support: Missing
>>>
>>> wxWidgets directory: /usr
>>> wxWidgets wx-config binary: /usr/bin/wx-config
>>> wxWidgets version: wxWidgets 2.8.10
>>>
>>> libxml2 directory: /usr
>>> libxml2 xml2-config binary: /usr/bin/xml2-config
>>> libxml2 version: libxml2 2.7.7
>>>
>>> libxslt directory: /usr
>>> libxslt xslt-config binary: /usr/bin/xslt-config
>>> libxslt version: libxslt 1.1.26
>>>
>>> Building a debug version of pgAdmin: Yes
>>> Statically linking pgAdmin: No
>>> Building a Mac OS X appbundle: No
>>>
>>> pgAdmin configuration is now complete. You can now compile and
>>> install pgAdmin using 'make; make install'.
>>>
>> I don't have exactly the same thing but I don't think it really matters.
>> I built against 9.1devel, with SSL support, and use libxml2 2.7.6.
>> wxWidgets 2.8.11 could be the reason why I don't get a crash, but if I
>> use 2.8.10, pgAdmin still doesn't crash.
>>
>>> pri(at)rimbault:~/pgadmin3$ make&& sudo make install
>>>
>>> pri(at)rimbault:~/pgadmin3$ gdb pgadmin3
>>> GNU gdb (GDB) 7.0.1-debian
>>> Copyright (C) 2009 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later
>>> <http://gnu.org/licenses/gpl.html>
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law. Type "show
>>> copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "i486-linux-gnu".
>>> For bug reporting instructions, please see:
>>> <http://www.gnu.org/software/gdb/bugs/>...
>>> Reading symbols from /home/pri/bin/pgadmin3...(no debugging symbols
>>> found)...done.
>>> (gdb) run
>>> Starting program: /home/pri/bin/pgadmin3
>>> [Thread debugging using libthread_db enabled]
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x08465a10 in gqbView::updateModelSize(gqbQueryObject*, bool) ()
>>> (gdb)
>>>
>> You have a different crash than Vladimir. Can you do a "bt" on the gdb
>> console just after the crash and send the result here? could give us
>> more infos.
>>
>>
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Milan Jaroš 2010-10-15 07:33:39 BUG: CEST FATAL: unrecognized configuration parameter "application_name"
Previous Message Guillaume Lelarge 2010-10-14 16:25:08 Re: Option menu crash in the last git version