Re: pgadmin3 crash - Mailing list pgadmin-support

From Linos
Subject Re: pgadmin3 crash
Date
Msg-id 505F3BB7.7060302@linos.es
Whole thread Raw
In response to Re: pgadmin3 crash  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: pgadmin3 crash  (Linos <info@linos.es>)
List pgadmin-support
On 23/09/12 15:44, Guillaume Lelarge wrote:
> On Fri, 2012-09-21 at 19:00 +0200, Linos wrote:
>> On 16/09/12 14:15, Linos wrote:
>>> On 27/08/12 13:57, Linos wrote:
>>>> On 26/08/12 16:35, Guillaume Lelarge wrote:
>>>>> Hi,
>>>>>
>>>>> On Sun, 2012-08-19 at 20:25 +0200, Linos wrote:
>>>>>> Hi all,
>>>>>>     some times when i try to save a query window text with Ctrl+S having more query
>>>>>> windows opened and unsaved text in this one pgadmin3 exists, in the console
>>>>>> where i launched pgadmin3 i can see this error:
>>>>>>
>>>>>> GLib (gthread-posix.c): Unexpected error from C library during
>>>>>> 'pthread_setspecific': Invalid argument.  Aborting.
>>>>>>
>>>>>> I am using pgadmin3 1.14.3 in Arch Linux 64 bits kernel 3.4.4 and glib 1.2.10
>>>>>>
>>>>>
>>>>> I don't reproduce it. Can you find a way to reproduce it step by step?
>>>>>
>>>>>
>>>>
>>>> Hi,
>>>>     it's not easy to reproduce, i expected the error would give sufficient clues
>>>> but i will try hard to create a list of reproducible steps ASAP.
>>>>
>>>> Regards,
>>>> Miguel Angel.
>>>>
>>>>
>>>
>>> Hi,
>>>     i have tried to reproduce it without luck, i tried too to use PgAdmin3 compiled
>>> with debug information from a gdb session 1 week and didn't fail, i don't know
>>> if debug build fixed the problem someway.
>>>
>>> I am going to install 1.16.0 in release mode now and wait to see what happens.
>>>
>>> Regards,
>>> Miguel Angel.
>>>
>>>
>>
>> i caught pgadmin3 1.16.0 failing being attached to a gdb console but in a
>> release mode build, here is the backtrace, this time it happened using ctrl+s to
>> save an unsaved query window.
>>
>> GLib (gthread-posix.c): Unexpected error from C library during
>> 'pthread_setspecific': Invalid argument.  Aborting.
>>
>> Program received signal SIGABRT, Aborted.
>> 0x00007ffff4d7efa5 in raise () from /usr/lib/libc.so.6
>>
>> Thread 1 (Thread 0x7ffff7f92900 (LWP 32338)):
>> #0  0x00007ffff4d7efa5 in raise () from /usr/lib/libc.so.6
>> #1  0x00007ffff4d80428 in abort () from /usr/lib/libc.so.6
>> #2  0x00007ffff3d204ee in ?? () from /usr/lib/libglib-2.0.so.0
>> #3  0x00007ffff3d898c5 in g_private_set () from /usr/lib/libglib-2.0.so.0
>> #4  0x00007ffff3d4ca31 in g_main_context_push_thread_default ()
>>    from /usr/lib/libglib-2.0.so.0
>> #5  0x00007ffff08addc9 in g_simple_async_result_complete ()
>>    from /usr/lib/libgio-2.0.so.0
>> #6  0x00007ffff08ade58 in ?? () from /usr/lib/libgio-2.0.so.0
>> #7  0x00007ffff3d4d475 in g_main_context_dispatch ()
>>    from /usr/lib/libglib-2.0.so.0
>> #8  0x00007ffff3d4d7a8 in ?? () from /usr/lib/libglib-2.0.so.0
>> #9  0x00007ffff3d4dba2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
>> #10 0x00007ffff484f487 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
>> #11 0x00007ffff6c4f228 in wxEventLoop::Run() ()
>>    from /usr/lib/libwx_gtk2u_core-2.8.so.0
>> #12 0x00007ffff6c9a14b in wxDialog::ShowModal() ()
>>    from /usr/lib/libwx_gtk2u_core-2.8.so.0
>> #13 0x0000000000663ba7 in ?? ()
>> #14 0x0000000000663fdb in ?? ()
>> #15 0x00007ffff63c4a25 in
>> wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*,
>> wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
>> #16 0x00007ffff63c4b8c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
>> () from /usr/lib/libwx_baseu-2.8.so.0
>> #17 0x00007ffff63c4ec4 in wxEvtHandler::ProcessEvent(wxEvent&) ()
>>    from /usr/lib/libwx_baseu-2.8.so.0
>> #18 0x00007ffff63c4e60 in wxEvtHandler::ProcessEvent(wxEvent&) ()
>>    from /usr/lib/libwx_baseu-2.8.so.0
>> #19 0x00007ffff6ca82ad in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
>> #20 0x00007ffff422cec0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #21 0x00007ffff423df40 in ?? () from /usr/lib/libgobject-2.0.so.0
>> #22 0x00007ffff4245ebc in g_signal_emit_valist ()
>>    from /usr/lib/libgobject-2.0.so.0
>> #23 0x00007ffff4246052 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #24 0x00007ffff496893b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
>> #25 0x00007ffff422cec0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #26 0x00007ffff423df40 in ?? () from /usr/lib/libgobject-2.0.so.0
>> #27 0x00007ffff4245adb in g_signal_emit_valist ()
>>    from /usr/lib/libgobject-2.0.so.0
>> #28 0x00007ffff4246052 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #29 0x00007ffff478c045 in gtk_accel_group_activate ()
>>    from /usr/lib/libgtk-x11-2.0.so.0
>> #30 0x00007ffff478d38d in gtk_accel_groups_activate ()
>>    from /usr/lib/libgtk-x11-2.0.so.0
>> #31 0x00007ffff4981076 in gtk_window_activate_key ()
>>    from /usr/lib/libgtk-x11-2.0.so.0
>> #32 0x00007ffff4981109 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
>> #33 0x00007ffff4851d89 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
>> #34 0x00007ffff422cec0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #35 0x00007ffff423dcc0 in ?? () from /usr/lib/libgobject-2.0.so.0
>> #36 0x00007ffff4245adb in g_signal_emit_valist ()
>>    from /usr/lib/libgobject-2.0.so.0
>> #37 0x00007ffff4246052 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #38 0x00007ffff4969dfe in ?? () from /usr/lib/libgtk-x11-2.0.so.0
>> #39 0x00007ffff48501f7 in gtk_propagate_event ()
>>    from /usr/lib/libgtk-x11-2.0.so.0
>> #40 0x00007ffff485047b in gtk_main_do_event ()
>>    from /usr/lib/libgtk-x11-2.0.so.0
>> #41 0x00007ffff44c753c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
>> #42 0x00007ffff3d4d475 in g_main_context_dispatch ()
>>    from /usr/lib/libglib-2.0.so.0
>> #43 0x00007ffff3d4d7a8 in ?? () from /usr/lib/libglib-2.0.so.0
>> #44 0x00007ffff3d4dba2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
>> #45 0x00007ffff484f487 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
>> #46 0x00007ffff6c4f228 in wxEventLoop::Run() ()
>>    from /usr/lib/libwx_gtk2u_core-2.8.so.0
>> #47 0x00007ffff6cbe84b in wxAppBase::MainLoop() ()
>>    from /usr/lib/libwx_gtk2u_core-2.8.so.0
>> #48 0x00007ffff637580b in wxEntry(int&, wchar_t**) ()
>>    from /usr/lib/libwx_baseu-2.8.so.0
>> #49 0x0000000000441492 in ?? ()
>> #50 0x00007ffff4d6b725 in __libc_start_main () from /usr/lib/libc.so.6
>> #51 0x0000000000470601 in ?? ()
>>
> 
> Sorry but the backtrace doesn't give much informations on how it
> happened. What I really need is a step-by-step way to reproduce the
> issue.
> 
> 

i supposed it seeing the backtrace but i don't have anything better, sorry, i
tried to reproduce it but it is a difficult bug to reproduce, i can do the same
steps 100 times and fail at the 101, i think it could have anything to do with
connections loss and back to server but i tried to reproduce quitting internet
on my host and didn't failed neither.

i will be watching trying to create a list of steps to reproduce it, thanks!.

Regards,
Miguel Angel.



pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Font size control in edit data window
Next
From: Bartosz Dmytrak
Date:
Subject: pgAdmin jobs presentation Feature Request