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.
(gdb) thread apply all bt Thread 11 (Thread 0x7fffe4c9b700 (LWP 12151)): #0 0x00007ffff4ccb290 in sigprocmask () from /usr/lib/libc.so.6 #1 0x00007ffff4ccc3e1 in abort () from /usr/lib/libc.so.6 #2 0x00007ffff3c6a97d in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff3cd4f35 in g_private_set () from /usr/lib/libglib-2.0.so.0 #4 0x00007ffff073d0c4 in ?? () from /usr/lib/libgio-2.0.so.0 #5 0x00007ffff3cbbbc2 in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x00007ffff3cbb3a5 in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x00007ffff5044e0f in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007ffff4d7c31d in clone () from /usr/lib/libc.so.6 Thread 5 (Thread 0x7fffe651e700 (LWP 12080)): #0 0x00007ffff4ccafd5 in raise () from /usr/lib/libc.so.6 #1 0x00007ffff4ccc458 in abort () from /usr/lib/libc.so.6 #2 0x00007ffff3c6a97d in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff3cd4f35 in g_private_set () from /usr/lib/libglib-2.0.so.0 #4 0x00007ffff073d0c4 in ?? () from /usr/lib/libgio-2.0.so.0 #5 0x00007ffff3cbbbc2 in ?? () from /usr/lib/libglib-2.0.so.0 #6 0x00007ffff3cbb3a5 in ?? () from /usr/lib/libglib-2.0.so.0 #7 0x00007ffff5044e0f in start_thread () from /usr/lib/libpthread.so.0 #8 0x00007ffff4d7c31d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7fffe84bb700 (LWP 12003)): #0 0x00007ffff4d7418d in poll () from /usr/lib/libc.so.6 #1 0x00007ffff3c97b14 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007ffff3c97f72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #3 0x00007ffff07ad336 in ?? () from /usr/lib/libgio-2.0.so.0 #4 0x00007ffff3cbb3a5 in ?? () from /usr/lib/libglib-2.0.so.0 #5 0x00007ffff5044e0f in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007ffff4d7c31d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7fffeabac900 (LWP 11981)): #0 0x00007fffe7529d35 in ?? () from /usr/lib/gio/modules/libgioremote-volume-monitor.so #1 0x00007ffff4756201 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #2 0x00007ffff474e17d in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #3 0x00007ffff474ec5d in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x00007ffff417f8a1 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #5 0x00007ffff41803dc in g_object_new () from /usr/lib/libgobject-2.0.so.0 #6 0x00007ffff4754234 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #7 0x00007ffff417f8a1 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #8 0x00007ffff41803dc in g_object_new () from /usr/lib/libgobject-2.0.so.0 #9 0x00007ffff474ff71 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x00007ffff417f8a1 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #11 0x00007ffff4180090 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #12 0x00007ffff41803c4 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #13 0x00007ffff475035d in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #14 0x00007ffff47504ed in gtk_file_chooser_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0 #15 0x00007ffff6c33ac5 in wxFileDialog::wxFileDialog (this=0x7fffffffcdf0, parent=<optimized out>, message=..., defaultDir=..., defaultFileName=..., wildCard=..., style=1, pos=..., sz=..., name=...) at ./src/gtk/filedlg.cpp:207 #16 0x000000000067d76c in frmQuery::OnOpen(wxCommandEvent&) () #17 0x00007ffff6329676 in ProcessEventIfMatches (event=..., handler=<optimized out>, entry=...) at ./src/common/event.cpp:1239 #18 wxEvtHandler::ProcessEventIfMatches (entry=..., handler=<optimized out>, event=...) at ./src/common/event.cpp:1214 #19 0x00007ffff632981f in wxEventHashTable::HandleEvent (this=<optimized out>, event=..., self=self@entry=0x2b03000) at ./src/common/event.cpp:906 #20 0x00007ffff6329bc7 in ProcessEvent (event=..., this=0x2b03000) at ./src/common/event.cpp:1301 #21 wxEvtHandler::ProcessEvent (this=0x2b03000, event=...) at ./src/common/event.cpp:1272 #22 0x00007ffff6329b48 in ProcessEvent (event=..., this=0x2b033b8) at ./src/common/event.cpp:1308 #23 wxEvtHandler::ProcessEvent (this=0x2b033b8, event=...) at ./src/common/event.cpp:1272 #24 0x00007ffff6cc950e in wxWindowBase::TryParent (this=<optimized out>, event=...) at ./src/common/wincmn.cpp:2661 #25 0x00007ffff6cc1101 in wxToolBarBase::OnLeftClick (this=0x2af3200, id=<optimized out>, toggleDown=false) at ./src/common/tbarbase.cpp:596 #26 0x00007ffff6c4ad00 in gtk_toolbar_callback (widget=<optimized out>, tool=0x2b1d850) at ./src/gtk/tbargtk.cpp:197 #27 0x00007ffff4179467 in ?? () from /usr/lib/libgobject-2.0.so.0 #28 0x00007ffff4191e66 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #29 0x00007ffff41926b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #30 0x00007ffff46f6505 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #31 0x00007ffff41791a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #32 0x00007ffff4189ed3 in ?? () from /usr/lib/libgobject-2.0.so.0 #33 0x00007ffff419251c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #34 0x00007ffff41926b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #35 0x00007ffff46f5309 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #36 0x00007ffff479dd59 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #37 0x00007ffff41791a0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #38 0x00007ffff418a330 in ?? () from /usr/lib/libgobject-2.0.so.0 #39 0x00007ffff419213b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #40 0x00007ffff41926b2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #41 0x00007ffff48b5dfe in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #42 0x00007ffff479c0f4 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #43 0x00007ffff479c44b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #44 0x00007ffff441353c in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #45 0x00007ffff3c97845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #46 0x00007ffff3c97b78 in ?? () from /usr/lib/libglib-2.0.so.0 #47 0x00007ffff3c97f72 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #48 0x00007ffff479b457 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #49 0x00007ffff6be2af8 in wxEventLoop::Run (this=0x1078aa0) at ./src/gtk/evtloop.cpp:76 #50 0x00007ffff6c5621c in wxAppBase::MainLoop (this=0x102f410) at ./src/common/appcmn.cpp:312 #51 0x00007ffff62cfca5 in wxEntry (argc=<optimized out>, argv=<optimized out>) at ./src/common/init.cpp:448 #52 0x0000000000442234 in main ()
-- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support