Thread: pgadmin3 crash

pgadmin3 crash

From
Linos
Date:
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

Regards,
Miguel Angel.



Re: pgadmin3 crash

From
Guillaume Lelarge
Date:
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?


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




Re: pgadmin3 crash

From
Linos
Date:
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.



Re: pgadmin3 crash

From
Linos
Date:
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.



Re: pgadmin3 crash

From
Linos
Date:
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 ?? ()

Regards,
Miguel Angel.



Re: pgadmin3 crash

From
Guillaume Lelarge
Date:
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.


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




Re: pgadmin3 crash

From
Linos
Date:
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.



Re: pgadmin3 crash

From
Linos
Date:
On 23/09/12 18:41, Linos wrote:
> 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.
>
>

I get a list of steps that always crash PgAdmin 3 1.16.0 in my machine:

1- Open pgadmin
2- Connect localhost PostgreSQL
3- Open Query Editor
4- From this Query Editor use New Window
5- From this New Window open file and after open the file create other New
Window from this one
6- In the last new window use Open File... crash.

I have attached a gdb log, for me this steps are ever reproducible so if you
need me to test something more just ask me.

Regards,
Miguel Angel.


Attachment

Re: pgadmin3 crash

From
Dave Page
Date:
On Wed, Nov 28, 2012 at 10:57 PM, Linos <info@linos.es> wrote:
>
> I get a list of steps that always crash PgAdmin 3 1.16.0 in my machine:
>
> 1- Open pgadmin
> 2- Connect localhost PostgreSQL
> 3- Open Query Editor
> 4- From this Query Editor use New Window
> 5- From this New Window open file and after open the file create other New
> Window from this one
> 6- In the last new window use Open File... crash.
>
> I have attached a gdb log, for me this steps are ever reproducible so if you
> need me to test something more just ask me.

I can't reproduce this on Mac or CentOS 6 64 bit.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: pgadmin3 crash

From
Linos
Date:
On 29/11/12 14:06, Dave Page wrote:
> On Wed, Nov 28, 2012 at 10:57 PM, Linos <info@linos.es> wrote:
>>
>> I get a list of steps that always crash PgAdmin 3 1.16.0 in my machine:
>>
>> 1- Open pgadmin
>> 2- Connect localhost PostgreSQL
>> 3- Open Query Editor
>> 4- From this Query Editor use New Window
>> 5- From this New Window open file and after open the file create other New
>> Window from this one
>> 6- In the last new window use Open File... crash.
>>
>> I have attached a gdb log, for me this steps are ever reproducible so if you
>> need me to test something more just ask me.
> 
> I can't reproduce this on Mac or CentOS 6 64 bit.
> 
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
> 
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
> 

Arghhh, for me it ever fails, did you see the gdb log? my distro is Arch Linux
X84_64 with this versions:

uname -a
Linux skuda 3.6.7-425-bfs #1 SMP PREEMPT Sun Nov 18 20:43:58 CET 2012 x86_64
GNU/Linux

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch
--enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id
--with-ppl --enable-cloog-backend=isl --disable-ppl-version-check
--disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default
--enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu
--disable-multilib --disable-libssp --disable-build-with-cxx
--disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)

core/glibc 2.16.0-5
extra/wxgtk 2.8.12.1-4
community/pgadmin3 1.16.0-1
extra/postgresql-libs 9.2.1-2

I compiled wxWindows and Pgadmin3 with debug symbols, i am using this compiler
flags:

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

Any other thing i could do to help with this? record a video or any other thing?

Regards,
Miguel Angel.



Re: pgadmin3 crash

From
Guillaume Lelarge
Date:
On Thu, 2012-11-29 at 17:18 +0100, Linos wrote:
> On 29/11/12 14:06, Dave Page wrote:
> > On Wed, Nov 28, 2012 at 10:57 PM, Linos <info@linos.es> wrote:
> >>
> >> I get a list of steps that always crash PgAdmin 3 1.16.0 in my machine:
> >>
> >> 1- Open pgadmin
> >> 2- Connect localhost PostgreSQL
> >> 3- Open Query Editor
> >> 4- From this Query Editor use New Window
> >> 5- From this New Window open file and after open the file create other New
> >> Window from this one
> >> 6- In the last new window use Open File... crash.
> >>
> >> I have attached a gdb log, for me this steps are ever reproducible so if you
> >> need me to test something more just ask me.
> > 
> > I can't reproduce this on Mac or CentOS 6 64 bit.
> > 

I reproduce it. I get an Abort each time.

> Arghhh, for me it ever fails, did you see the gdb log?

I looked at them, and it doesn't talk about the pgAdmin source files.
It's libc, glib, wxWidgets, but never pgAdmin IIUIC. My own backtrace is
completely uninteresting.


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




Re: pgadmin3 crash

From
Dave Page
Date:
On Thu, Nov 29, 2012 at 9:48 PM, Linos <info@linos.es> wrote:
>
> Arghhh, for me it ever fails, did you see the gdb log? my distro is Arch Linux
> X84_64 with this versions:
>
> uname -a
> Linux skuda 3.6.7-425-bfs #1 SMP PREEMPT Sun Nov 18 20:43:58 CET 2012 x86_64
> GNU/Linux

Yeah, I saw the log. It doesn't show much except that the crash is
deep in GTK, which of course, none of us are even remotely familiar
with :-/. A colleague of mine has also tested, and he found that the
issue couldn't be reproduced on Ubuntu either, so my guess is that
this is a GTK bug, not a pgAdmin one I'm afraid. Given that Guillaume
is the only one of us who does seem to be able to reproduce it, I
think it'll have to fall to him to try to confirm that. (sorry Gleu!)

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Re: pgadmin3 crash

From
Guillaume Lelarge
Date:
On Fri, 2012-11-30 at 15:55 +0530, Dave Page wrote:
> On Thu, Nov 29, 2012 at 9:48 PM, Linos <info@linos.es> wrote:
> >
> > Arghhh, for me it ever fails, did you see the gdb log? my distro is Arch Linux
> > X84_64 with this versions:
> >
> > uname -a
> > Linux skuda 3.6.7-425-bfs #1 SMP PREEMPT Sun Nov 18 20:43:58 CET 2012 x86_64
> > GNU/Linux
> 
> Yeah, I saw the log. It doesn't show much except that the crash is
> deep in GTK, which of course, none of us are even remotely familiar
> with :-/. A colleague of mine has also tested, and he found that the
> issue couldn't be reproduced on Ubuntu either, so my guess is that
> this is a GTK bug, not a pgAdmin one I'm afraid. Given that Guillaume
> is the only one of us who does seem to be able to reproduce it, I
> think it'll have to fall to him to try to confirm that. (sorry Gleu!)
> 

It seems a wxWidgets or GTK bug. I don't see anything wrong in our code.


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