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)


    p...@rimbault:~/pgadmin3$ git pull
    Already up-to-date.
    p...@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.

    p...@rimbault:~/pgadmin3$ make&&  sudo make install

    p...@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.




--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to