Skip site navigation (1) Skip section navigation (2)

Re: bug report

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
Cc: Krzysztof Kajkowski <cayco(at)studencka(dot)pl>,pgadmin-support(at)postgresql(dot)org
Subject: Re: bug report
Date: 2004-05-12 20:12:01
Message-ID: 40A28511.3050201@pse-consulting.de (view raw or flat)
Thread:
Lists: pgadmin-support
Raphaël Enrici wrote:

> Krzysztof Kajkowski wrote:
>
>> W liście z śro, 12-05-2004, godz. 12:17, blacknoz(at)club-internet(dot)fr
>> pisze:
>>  
>>
>>> So, it seems that it still occurs... I'll try to reproduce this 
>>> tonight.
>>> Maybe a backtrace of the process would help.
>>> If you have some time, launch pgadmin3 in gdb like this:
>>> gdb pgadmin3
>>> then type "run"
>>> Reproduce the crash and when it segfault, type "bt" in the gdb 
>>> window and send the output.
>>>   
>>
>>
>> Here it goes:
>>
>> #0  0x08501420 in wxWindowBase::GetId ()
>> #1  0x08448b24 in gtk_window_event_event_callback ()
>> #2  0x4024c864 in _gtk_marshal_B
>>  
>>
> ...
> to me it's another bug... It's the one related to this:
> open the sql window, modify it, don't launch and just quit it.
> pgA3 will ask if you want to save or not, if you click on "no" it 
> crashes.
> The segfault is not due to any kind of dropped object.
> Can you confirm this ?
> Andreas, what is the status of this one ? I can't remember... 

That mentioned problem was about objects deleted outside of the object 
tree (e.g. from query window or other workstation), so that the object 
wasn't valid any more when refresh is triggered.

> When it was on the top of the stack, I tried looking at it and it 
> seems pgA3 did not crashed while traced... It make me thought some 
> object was unproperly destroyed too fast which effectively made the 
> "GetId" fail...

AFAICS from a quick glance at wx source the segv happens after the page 
contents is destroyed, however this must be debugged.

Regards,
Andreas



In response to

pgadmin-support by date

Next:From: blacknozDate: 2004-05-12 22:25:20
Subject: Re: bug report
Previous:From: Andreas PflugDate: 2004-05-12 20:05:39
Subject: Re: bug report

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group