pgadmin3 segmentation fault

Поиск
Список
Период
Сортировка
Искать

pgadmin3 segmentation fault

От:
Brian Guan <bguan@pacbell.net>
Дата:
Вложения:
Hi, 
 
I have been using pgadmin3 for over a year on my amd64 gentoo dev box.  Lately after updating to latest version of everything pgadmin refuses to run. 
 
So I downloaded the latest source code (trunk 1.4.3?) from your svn repository and compiled it manually, but the result is the same. 
 
  biggun pgadmin3 # /usr/local/pgadmin3/bin/pgadmin3 
  Segmentation fault 
 
 
There is no core files. 
 
Firing it up in gdb reviews this stack trace: 
 
biggun  pgadmin3 # gdb /usr/local/pgadmin3/bin/pgadmin3 
GNU gdb 6.4 
Copyright 2005 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB.  Type "show warranty" for details. 
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". 
 
(gdb) run 
Starting program: /usr/local/pgadmin3/bin/pgadmin3 
[Thread debugging using  libthread_db enabled] 
[New Thread 47723797453744 (LWP 5123)] 
 
Program received signal SIGSEGV, Segmentation fault. 
[Switching to Thread 47723797453744 (LWP 5123)] 
0x0000000000000000 in ?? () 
(gdb) backtrace 
#0  0x0000000000000000 in ?? () 
#1  0x00002b678cd95eb5 in gdk_keymap_get_entries_for_keyval () from /usr/lib/libgdk-x11-2.0.so.0 
#2  0x00002b678ca45433 in gtk_disable_setlocale () from /usr/lib/libgtk-x11-2.0.so.0 
#3  0x00002b678d5cb9dd in g_option_context_parse () from /usr/lib/libglib-2.0.so.0 
#4  0x00002b678ca45866 in  gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0 
#5  0x00002b678ca458b9 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0 
#6  0x00002b678af179df in wxApp::Initialize () from /usr/lib/libwx_gtk2u_core-2.6.so.0 
#7  0x00002b678b58a7df in wxEntryStart () from /usr/lib/libwx_baseu-2.6.so.0 
#8  0x00002b678b58abcb in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0 
#9  0x000000000042cd02 in main () 
 
 
 
Attached is the gzipped output of configure run which should give you information about my environment.  
 

 
I tried to configure for debug and/or static linking using: 
 
  ./configure -enable-debug -enable-static 
 
but configure says my wxWidgets lib does not support these options.  So I gave up instead of manually compiling wxWidgets... 
 
 
It seems other users have found the same problem by the postings on forums such as: 
 
  http://secure.linuxports.com/pgadmin-support/2006-05/msg00013.php 
  
 
Any ideas? Your help to resolve this will be much appreciated.  I use this app daily and switching to command lines to do DB dev/admin work is a little tedious :-) 
 

Re: pgadmin3 segmentation fault

От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
 

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org 
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Brian Guan
> Sent: 03 July 2006 19:14
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] pgadmin3 segmentation fault
> 
> I tried to configure for debug and/or static linking using: 
>  
>   ./configure -enable-debug -enable-static 
>  
> but configure says my wxWidgets lib does not support these 
> options.  So I gave up instead of manually compiling wxWidgets... 
>  

Yeah, unfortunately the pre-built libraries can be somewhat restrictive
like that. 

> It seems other users have found the same problem by the 
> postings on forums such as: 
>  
>   http://secure.linuxports.com/pgadmin-support/2006-05/msg00013.php 
>   
>  
> Any ideas? Your help to resolve this will be much 
> appreciated.  I use this app daily and switching to command 
> lines to do DB dev/admin work is a little tedious :-) 

Are you using the version that Raph mentions (2.6.3-2)? Does anyone know
if there are any non-standard patches in it?

Regards, Dave.

FAQ