| Summary: | wxGTK-2.6.2 or pgadmin3 broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Roessner <c> |
| Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | matteo-ml, pgsql-bugs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Please see also: http://forum.amule.org/thread.php?threadid=7469&sid=2f09db1540bd4608595e6e43704eda0c They say that it has been confirmed as a wx bug, and it is fixed in CVS. Probably would be a good idea to mask 2.6.2 while *.3 isn't out. A lot of people use a custom locale. Masking it, seems not to be a very good idea, because 2.6.1 uses deprecated pango functions and therefor will break amule and pgadmin3 as well. Reason: pango-2.10.1. What about fixing the bug by getting patches from CVS and applying them? Regards Christian Sorry, pango-1.10.1 See http://bugs.gentoo.org/show_bug.cgi?id=109483 , patch solves the pb with locales |
Hi, after compiling wxGTK-2.6.2 and installing pgadmin3, the app seg faulted on my amd64. So I checked it on x86 and found out that it was broken, too, after updating from wxGTK-2.6.1 to 2.6.2. I recompilied wxGTK and pgadmin3 with FEATURES="nostrip" and USE="debug": croessner@amd64 ~ $ gdb /usr/bin/pgadmin3 GNU gdb 6.3 Copyright 2004 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/bin/pgadmin3 [Thread debugging using libthread_db enabled] [New Thread 46912518700928 (LWP 17673)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912518700928 (LWP 17673)] wxMBConv::cMB2WC (this=0x0, szString=0x90dba7 "Project-Id-Version: pgAdmin3\nPOT-Creation-Date: 2004-09-05 23:02+0200\nPO-Revision-Date: 2004-09-12 18:03+ 0100\nLast-Translator: <>\nLanguage-Team: Andreas Pflug <pgadmin-hackers@postgresql.org>\nMIME-Ve"..., nStringLen=283, pOutSize=0x7fffffec6498) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/strconv.cpp:243 243 /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/strconv.cpp: Datei oder Verzeichnis nicht gefunden. in /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/strconv.cpp (gdb) bt #0 wxMBConv::cMB2WC (this=0x0, szString=0x90dba7 "Project-Id-Version: pgAdmin3\nPOT-Creation-Date: 2004-09-05 23:02+0200\nPO-Revision-Date: 2004-09-12 18:03+ 0100\nLast-Translator: <>\nLanguage-Team: Andreas Pflug <pgadmin-hackers@postgresql.org>\nMIME-Ve"..., nStringLen=283, pOutSize=0x7fffffec6498) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/strconv.cpp:243 #1 0x00002aaaab7a5523 in wxString (this=0x7fffffec6580, psz=0x90dba7 "Project-Id-Version: pgAdmin3\nPOT-Creation-Date: 2004-09-05 23:02+0200\nPO-Revision-Date: 2004-09-12 18:03+0100\ nLast-Translator: <>\nLanguage-Team: Andreas Pflug <pgadmin-hackers@postgresql.org>\nMIME-Ve"..., conv=@0x0, nLength=283) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/string.cpp:1051 #2 0x00002aaaab78998f in wxMsgCatalogFile::FillHash (this=0x7fffffec65f0, hash=@0x8feab8, msgIdCharset=@0x7fffffec6620, convertEncoding=Variable "convertEncoding" is not available. ) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/intl.cpp:1336 #3 0x00002aaaab78cbdf in wxMsgCatalog::Load (this=0x8feab0, szDirPrefix=Variable "szDirPrefix" is not available. ) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/intl.cpp:1381 #4 0x00002aaaab78db3d in wxLocale::AddCatalog (this=0x8ee420, szDomain=0x5bc488, msgIdLanguage=wxLANGUAGE_ENGLISH, msgIdCharset=0x0) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/intl.cpp:2645 #5 0x00002aaaab78ddb0 in wxLocale::AddCatalog (this=Variable "this" is not available. ) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/intl.cpp:2634 #6 0x0000000000423725 in pgAdmin3::OnInit (this=0x867c00) at pgAdmin3.cpp:251 #7 0x0000000000424d7d in wxAppConsole::CallOnInit (this=Variable "this" is not available. ) at app.h:87 #8 0x00002aaaab784ca2 in wxEntry (argc=Variable "argc" is not available. ) at /var/tmp/portage/wxGTK-2.6.2/work/wxWidgets-2.6.2/src/common/init.cpp:423 #9 0x0000000000422f22 in main (argc=1, argv=Variable "argv" is not available. ) at pgAdmin3.cpp:84 Regards Christian N.B.: aMule is seg faulting, too with wxGTK-2.6.2. Unfortunatly I need wxGTK-2.6.2, because I use pango 1.10.1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Segmentation fault Gentoo Base System version 1.6.13 Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.5.20050722-r0, 2.6.13.2 x86_64) ================================================================= System uname: 2.6.13.2 x86_64 AMD Athlon(tm) 64 Processor 3200+ ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="" ALSA_CARDS="intel8x0 emu10k1" ARCH="amd64" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CBUILD="x86_64-pc-linux-gnu" CCACHE_DIR="/var/tmp/.ccache_64" CCACHE_SIZE="2G" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -march=athlon64 -pipe" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-O2 -march=athlon64 -pipe" DCCC_PATH="/usr/lib/distcc/bin" DEFAULT_ABI="amd64" DISPLAY=":0.0" DISTCC_DIR="/var/tmp/.distcc" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig ccache digest distlocks prelink sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp --no-check-certificate ${URI} -P ${DISTDIR}" FLTK_DOCDIR="/usr/share/doc/fltk-1.1.6/html" GCC_SPECS="" GDK_USE_XFT="1" GDM_LANG="de_DE.utf8" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" GUILE_LOAD_PATH="/usr/share/guile/1.6" G_BROKEN_FILENAMES="1" HISTCONTROL="ignoredups:erasedups" HOME="/root" HOSTNAME="amd64" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2/info" JAVAC="/opt/blackdown-jdk-1.4.2.02/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.02" JDK_HOME="/opt/blackdown-jdk-1.4.2.02" KERNEL="linux" LADSPA_PATH="/usr/lib64/ladspa" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R -M" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LINGUAS="de" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:" MAKEOPTS="-j3" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.0.2/man::/opt/blackdown-jdk-1.4.2.02/man" MOZILLA_FIVE_HOME="/usr/lib64/mozilla" MULTILIB_ABIS="x86 amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/root/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.0.2:/opt/Acrobat7:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="18691" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8:/lib/modules:/usr/lib64/locale:/usr/lib64/wine:/usr/lib64/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html" PYTHONPATH="/usr/lib/portage/pym" QTDIR="/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp --no-check-certificate ${URI} -P ${DISTDIR}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="1" SSH_AGENT_PID="22094" SSH_AUTH_SOCK="/tmp/ssh-qTwKA22093/agent.22093" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="amd64 X X509 a52 aac aalib acl acpi acpi4linux activefilter adns alsa apache2 audiofile avi bash-completion bcmath berkdb bigger-fonts bitmap-fonts bluetooth bonobo browserplugin bzlib caps cddb cdparanoia cdr chroot client codecs crypt cscope css ctype cups dbm dbus dga dhcp directfb doc dts dvd dvdr dvdread dxr3 eds emboss encode esd extensions faac faad fame fax faxonly fbcon ffmpeg flac font-server foomaticdb freetype gd gdbm gif gimp gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hbci howl icq icu imagemagick imap imlib ipv6 javascript jbig jpeg jpeg2k lcd lcms ldap libclamav libwww lirc lm_sensors lzo lzw lzw-tiff mad maildir mailwrapper mbox mcal md5sum mikmod mime mjpeg mng motif mozilla mp3 mpeg mpeg4 mppe-mppc mysql nas nautilus ncurses network nls no-old-linux nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam password pcntl pcre pdflib perl php pic png pnp posix postgres ppds python quicktime readline rtc ruby samba scanner sdl session sftplogging slang snmp sockets sox speex spell sqlite ssl subversion symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales vcd vim-with-x vorbis wxwindows xine xml xml2 xmms xpm xprint xrandr xsl xv xvid zlib video_cards_nvidia linguas_de userland_GNU kernel_linux elibc_glibc" USER="root" USERLAND="GNU" USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC" VIDEO_CARDS="nvidia" XARGS="xargs -r" XAUTHORITY="/root/.xauth5uFOHK" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" use_Mesa="no"