Re: Segmentation fault on Red Hat Linux 8 - Mailing list pgadmin-support

From Francis Labrie
Subject Re: Segmentation fault on Red Hat Linux 8
Date
Msg-id a93830670d4eafb8d87add3e4e9fb8f5@os.ca
Whole thread Raw
In response to Re: Segmentation fault on Red Hat Linux 8  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-support
Hi,



Andreas Pflug wrote:

<excerpt>Francis Labrie wrote:

<excerpt>Following instructions on pgAdmin Web site, I've built and
installed both wxWidgets 2.5.5 and pgAdmin III 1.2.1 on Red Hat Linux
8. Unfortunately, I get a segmentation fault on start:

[...]

</excerpt>

Sounds like the well-known gtk bug with some themes. Try another theme.

</excerpt>


Thank you very much for your suggestion. It sounds right, all defaults
themes fail the same way except the "Bluecurve" one.  With this theme,
the splash window appears, but unfortunately I get another
segmentation fault with libgdk-x11:


<fontfamily><param>Courier</param>$ gdb
/usr/local/pgadmin3/bin/pgadmin3

GNU gdb Red Hat Linux (5.2.1-4)

Copyright 2002 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 "i386-redhat-linux"...

(gdb) run

Starting program: /usr/local/pgadmin3/bin/pgadmin3


Program received signal SIGSEGV, Segmentation fault.

0x404363ee in _gdk_x11_copy_to_image () from
/usr/lib/libgdk-x11-2.0.so.0

(gdb) bt

#0  0x404363ee in _gdk_x11_copy_to_image () from
/usr/lib/libgdk-x11-2.0.so.0

#1  0x4040be09 in _gdk_drawable_copy_to_image ()
  from /usr/lib/libgdk-x11-2.0.so.0

#2  0x404163bf in gdk_pixmap_copy_to_image () from
/usr/lib/libgdk-x11-2.0.so.0

#3  0x4040be09 in _gdk_drawable_copy_to_image ()
  from /usr/lib/libgdk-x11-2.0.so.0

#4  0x40414456 in gdk_pixbuf_get_from_drawable ()
  from /usr/lib/libgdk-x11-2.0.so.0

#5  0x082dea81 in wxBitmap::GetPixbuf() const (this=0x8a495b8)
   at ../src/gtk/bitmap.cpp:1500

#6  0x082faf46 in wxTopLevelWindowGTK::SetIcons(wxIconBundle const&) (
   this=0x8aa0f68, icons=@0xbffff5e0) at ../src/gtk/toplevel.cpp:1081

#7  0x080f5eb3 in frmMain (this=0x8aa0f68, title=@0xbffff850)
   at ui/frmMain.cpp:149

#8  0x0805bce1 in pgAdmin3::OnInit() (this=0x8884ce0) at
pgAdmin3.cpp:490

#9  0x0805c50e in wxAppConsole::CallOnInit() (this=0x8884ce0)
   at /usr/local/include/wx-2.5/wx/app.h:87

#10 0x08464354 in wxEntry(int&, wchar_t**) (argc=@0xbffffae0,
argv=0x8884570)
   at ../src/common/init.cpp:401

#11 0x08464494 in wxEntry(int&, char**) (argc=@0xbffffae0,
argv=0xbffffb34)
   at ../src/common/init.cpp:429

#12 0x0805a3c3 in main (argc=1, argv=0xbffffb34) at pgAdmin3.cpp:81

#13 0x4070554d in __libc_start_main () from /lib/libc.so.6

(gdb)

</fontfamily>


Is there any other workaround for this one?



Kind regards,


--

<bold><x-tad-bigger>Francis Labrie</x-tad-bigger></bold>

Saint-Bruno-de-Montarville, Québec, Canada


pgadmin-support by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Segmentation fault on Red Hat Linux 8
Next
From: Devrim GUNDUZ
Date:
Subject: Re: RedHat with Postgres 8