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-09-21 11:53:48
Message-ID: 4C989CCC.2060409@edd.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

I'have just compiled pgadmin with debug option.
Version of wxwidgets is 2.8.10.

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'.

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)

The end :)

Philippe

On 21/09/2010 13:43, Guillaume Lelarge wrote:
> Le 21/09/2010 13:27, Vladimir Koković a écrit :
>
>> On Tue, 21 Sep 2010 13:12:11 +0200, Guillaume Lelarge
>> <guillaume(at)lelarge(dot)info> wrote:
>>
>>
>>> Hi Philippe,
>>>
>>> Le 21/09/2010 12:33, Philippe Rimbault a écrit :
>>>
>>>> [...]
>>>> When issuing an "alt+f4" on the query window, pgadmin crash.
>>>> Closing the query hith "ctrl+w" work fine (and also with
>>>> "file"->"close").
>>>> I'm using the last git version under Debian testing (2.6.32-5-686).
>>>>
>>>> Last strace messages :
>>>> poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5,
>>>> revents=POLLOUT}])
>>>> writev(5,
>>>> [{"\24\0\6\0\242\t\340\2r\2\0\0\0\0\0\0\0\0\0\0\377\377\377\37", 24},
>>>> {NULL, 0}, {"", 0}], 3) = 24
>>>> poll([{fd=5, events=POLLIN}], 1, -1) = 1 ([{fd=5, revents=POLLIN}])
>>>> read(5, "\1
>>>> E~\t\0\0\0\4\0\0\0\0\0\0\0\t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096)
>>>> = 68
>>>> read(5, 0xa62c168, 4096) = -1 EAGAIN (Resource
>>>> temporarily unavailable)
>>>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>>> +++ killed by SIGSEGV +++
>>>>
>>>>
>>> I don't have the issue here. I tried on 1.12 and 1.13, everything worked
>>> fine. Did you do something on the query window?
>>>
>>>
>> When issuing an "alt+f4" on the query window, pgadmin crash !!!
>>
> Well, yeah, I already know that. It just doesn't happen on my laptop. I
> recompile all pgAdmin 1.12 and still don't have any crash.
>
>
>> ------------------------------------------------------------------------------
>>
>> root(at)vlada-desktop:/tmp# gdb /usr/local/pgadmin3-debug/bin/pgadmin3
>> GNU gdb (GDB) 7.1-ubuntu
>> Copyright (C) 2010 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 /usr/local/pgadmin3-debug/bin/pgadmin3...done.
>> (gdb) run
>> Starting program: /usr/local/pgadmin3-debug/bin/pgadmin3
>> [Thread debugging using libthread_db enabled]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00000000 in ?? ()
>> (gdb) bt
>> #0 0x00000000 in ?? ()
>> #1 0xb7e40e1f in wxStyledTextCtrl::SendMsg (this=0x90c2ef8, msg=2006,
>> wp=0, lp=0) at ../../../../contrib/src/stc/stc.cpp:199
>> #2 0xb7e40fc5 in wxStyledTextCtrl::GetLength (this=0x90c2ef8) at
>> ../../../../contrib/src/stc/stc.cpp:257
>> #3 0x0822f38c in frmQuery::updateMenu (this=0x906d800, obj=0x90c2ef8)
>> at ../../pgadmin3/pgadmin/frm/frmQuery.cpp:1368
>>
> The line it refers too is only 18 months old. Anyway, it seems more an
> issue with your wxWidgets release. Which release do you use? I'm using
> the last one, 2.8.11.
>
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Thom Brown 2010-09-21 12:25:40 Query history mystery box
Previous Message Guillaume Lelarge 2010-09-21 11:43:20 Re: Pgadmin git version crash with "alt+f4"