Thread: Re: [pgadmin-support] pgadmin crash - editing function body

Re: [pgadmin-support] pgadmin crash - editing function body

From
Timon
Date:
yup, it chrashes. I can reproduce it on my Fedora linux box with
postgresql-9.1.5-2.fc17.x86_64
wxGTK-2.8.12-4.fc17.x86_64
gcc-4.7.0-5.fc17.x86_64
glibc-2.15-57.fc17.x86_64

pgadmin compiled from git 1_16 branch

here is stack trace

Thread 1 (Thread 0x7ffff7fafa00 (LWP 5492)):
#0  0x000000000058c2f5 in dlgProperty::GetName() ()
No symbol table info available.
#1  0x0000000000564e9d in dlgFunction::CheckChange() ()
No symbol table info available.
#2  0x00000036ccee6796 in ProcessEventIfMatches (event=...,
handler=<optimized out>, entry=...) at src/common/event.cpp:1239
No locals.
#3  wxEvtHandler::ProcessEventIfMatches (entry=..., handler=<optimized
out>, event=...) at src/common/event.cpp:1214
No locals.
#4  0x00000036ccee6904 in wxEventHashTable::HandleEvent
(this=<optimized out>, event=..., self=self@entry=0x23c3820) at
src/common/event.cpp:906
        n = <optimized out>
        eventEntryTable = @0x2495468: {<wxBaseArrayPtrVoid> = {m_nSize
= 1, m_nCount = 1, m_pItems = 0x2495340}, <No data fields>}
        count = 1
        eventType = <optimized out>
        eTTnode = 0x2495460
#5  0x00000036ccee6c27 in ProcessEvent (event=..., this=0x23c3820) at
src/common/event.cpp:1301
No locals.
#6  wxEvtHandler::ProcessEvent (this=0x23c3820, event=...) at
src/common/event.cpp:1272
No locals.

full stacktrace in attachment


2012/9/21 Guillaume Lelarge <guillaume@lelarge.info>:
> On Thu, 2012-09-20 at 17:14 +0400, Vjacheslav A. wrote:
>> I have the same bug in editor,
>> I open function body (Apply and Ok button are always active),
>> if I click to Apply and then do copy/paste operation - pgAdmin crashes.
>>
>
> Well, if anyone finds a way to reproduce this, I'm interested to know
> how.
>
>
> --
> Guillaume
> http://blog.guillaume.lelarge.info
> http://www.dalibo.com
>
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support



--
All bugs reserved


Re: [pgadmin-support] pgadmin crash - editing function body

From
Guillaume Lelarge
Date:
On Fri, 2012-09-21 at 12:46 +0600, Timon wrote:
> yup, it chrashes. I can reproduce it on my Fedora linux box with
> postgresql-9.1.5-2.fc17.x86_64
> wxGTK-2.8.12-4.fc17.x86_64
> gcc-4.7.0-5.fc17.x86_64
> glibc-2.15-57.fc17.x86_64
>
> pgadmin compiled from git 1_16 branch
>
> here is stack trace
>
> Thread 1 (Thread 0x7ffff7fafa00 (LWP 5492)):
> #0  0x000000000058c2f5 in dlgProperty::GetName() ()
> No symbol table info available.
> #1  0x0000000000564e9d in dlgFunction::CheckChange() ()
> No symbol table info available.
> #2  0x00000036ccee6796 in ProcessEventIfMatches (event=...,
> handler=<optimized out>, entry=...) at src/common/event.cpp:1239
> No locals.
> #3  wxEvtHandler::ProcessEventIfMatches (entry=..., handler=<optimized
> out>, event=...) at src/common/event.cpp:1214
> No locals.
> #4  0x00000036ccee6904 in wxEventHashTable::HandleEvent
> (this=<optimized out>, event=..., self=self@entry=0x23c3820) at
> src/common/event.cpp:906
>         n = <optimized out>
>         eventEntryTable = @0x2495468: {<wxBaseArrayPtrVoid> = {m_nSize
> = 1, m_nCount = 1, m_pItems = 0x2495340}, <No data fields>}
>         count = 1
>         eventType = <optimized out>
>         eTTnode = 0x2495460
> #5  0x00000036ccee6c27 in ProcessEvent (event=..., this=0x23c3820) at
> src/common/event.cpp:1301
> No locals.
> #6  wxEvtHandler::ProcessEvent (this=0x23c3820, event=...) at
> src/common/event.cpp:1272
> No locals.
>
> full stacktrace in attachment
>

Sorry, but that doesn't give me anymore clue on how to reproduce this. I
also have a fedora 17. wxGTK, and PostgreSQL are compiled for me, but I
don't think it explains the fact that I don't have the issue.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com