Re: [pgadmin-hackers] [pgadmin-support] Segmentation fault in GUI

2006-05-07 Thread Raphaël Enrici
Dear friends,

I confirm this crash on Debian too. Note that it follows a recent
upgrade of the wxWidgets package to 2.6.3.2 (I'll do some further
testing in a moment). A bug report has been opened at d.o. [1]. Clicking
the help menu entry simply crashes the app. Emil Nowak whom openened the
bug has provided the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1497721152 (LWP 10932)]
0xa7a17fc4 in wxStringBase::operator= () from /usr/lib/libwx_baseu-2.6.so.0
(gdb) bt
#0  0xa7a17fc4 in wxStringBase::operator= () from
/usr/lib/libwx_baseu-2.6.so.0
#1  0xa7e97ac2 in wxHtmlHelpData::SetTempDir () from
/usr/lib/libwx_gtk2u_html-2.6.so.0
#2  0x08246749 in wxFileConfig::GetPath ()
#3  0x08246c73 in wxFileConfig::GetPath ()
#4  0x0818166f in wxClassInfo::IsKindOf ()
#5  0x08079937 in wxTopLevelWindowBase::IsOneOfBars ()
#6  0xa79c0815 in wxAppConsole::HandleEvent () from
/usr/lib/libwx_baseu-2.6.so.0
#7  0xa7a523f3 in wxEvtHandler::ProcessEventIfMatches () from
/usr/lib/libwx_baseu-2.6.so.0
#8  0xa7a524c2 in wxEvtHandler::SearchDynamicEventTable () from
/usr/lib/libwx_baseu-2.6.so.0
#9  0xa7a527c3 in wxEvtHandler::ProcessEvent () from
/usr/lib/libwx_baseu-2.6.so.0
#10 0xa7cf833c in wxWindowBase::TryParent () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#11 0xa7a5278e in wxEvtHandler::ProcessEvent () from
/usr/lib/libwx_baseu-2.6.so.0
#12 0xa7cee70e in wxToolBarBase::OnLeftClick () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#13 0xa7c7a01b in wxToolBar::CreateTool () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0xa6e0011b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#15 0xa6df3a5b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xa6e0374d in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#17 0xa6e04b27 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xa6e04ede in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0xa709baa1 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xa709d518 in _gtk_button_set_depressed () from
/usr/lib/libgtk-x11-2.0.so.0
#21 0xa6e0011b in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#22 0xa6df33b8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#23 0xa6df3a5b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xa6e02ff6 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#25 0xa6e04b27 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xa6e04ede in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xa709ba11 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xa709cac1 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xa7169900 in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#30 0xa6df33b8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#31 0xa6df3a5b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#32 0xa6e03952 in g_signal_stop_emission () from
/usr/lib/libgobject-2.0.so.0
#33 0xa6e048e5 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#34 0xa6e04ede in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#35 0xa725b3e4 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xa7167d2d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xa71681a3 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xa6ffbbfa in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#39 0xa6d80691 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xa6d839d7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#41 0xa6d83f28 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#42 0xa7167341 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xa7be5b38 in wxEventLoop::Run () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#44 0xa7c82b49 in wxAppBase::MainLoop () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#45 0xa7c82c41 in wxAppBase::OnRun () from
/usr/lib/libwx_gtk2u_core-2.6.so.0
#46 0xa79f76ea in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#47 0xa79f77a6 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#48 0x080685ce in ?? ()
#49 0xa75d2eb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#50 0x08068511 in ?? ()
(gdb)


Regards,
Raphaël
[1] http://bugs.debian.org/366195


hferrag wrote:
 you can try (the debugger) -
 ]# gdb pagadmin3
 
 and
 gdbrun
 
 After u can see where is the problem (which library), my problem whose
 in wxGTK.
 :-)

---(end of broadcast)---
TIP 6: explain analyze is your friend


[pgadmin-hackers] Help-Viewer awefully slow when using the trackpad to scroll

2006-05-07 Thread Florian G. Pflug

Hi

I just noticed that the Help-View of pgadmin3 is awefully slow on osx when
I scroll using the trackpad (Putting two fingers on the trackpad, and moving
them up and down is the scroll-wheel äquivalent for trackpads on osx).

This scrolling-method isn't natively support on my notebook by apple - I use
an open-source trackpad driver called iScroll, which supports this on older
macs too. Trackpad-Scrolling works fine in all other apps, so it can't be soley
the fault of the driver...

Scrolling is acceptably fast (but could still be a bit faster) when using the
scrollbar - I guess using the trackpad somehow generates too many scroll-events
per second, and the helpview just redraws the screen over and over, instead of
ignoring a few of this events..

Is there anything pgadmin could do to solve that, or is this the fault of wx?
It's not a terrible important problem, but it's annoying if you're used to
scroll using the trackpad..

greetings, Florian Pflug



---(end of broadcast)---
TIP 9: In versions below 8.0, the planner will ignore your desire to
  choose an index scan if your joining column's datatypes do not
  match