Texmaker segfaults when I try to start it. Reproducible: Always Steps to Reproduce: 1. execute 'texmaker' in an display aware environment Actual Results: Segmenetation Fault Expected Results: Program should start I post it here, and not by upstream, because I suppose it is probably a Gentoo-related problem, otherwise it wouldn't be marked as stable, would it?
Created attachment 131378 [details] strace texmaker > strace.out 2>&1 I also have a ltrace file which is to big to store on the web.
adam@localhost ~ $ emerge --info Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8-b2 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8-b2 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz Timestamp of tree: Mon, 17 Sep 2007 12:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer multilib parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="pl en_GB en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="bzip2" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/toolchain /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac aalib accessibility acl acpi alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bittorrent boo bzip2 c++ cairo cddb cdparanoia cdr cli cpudetection cracklib crypt cups curl d dbus dierectfb directfb divx dlloader dri dts dv dvd dvdnav dvdr dvdread emerald encode erandom exif fam fat fbcon ffmpeg firefox flac fortran gadu gdbm gdm gif glade glib glitz gmail gmedia gnome gnutls gpm gstreamer gtk hal iconv imagemagick ipv6 ipw3945 isdnlog jabber java java5 jce jpeg kerberos kerbos krb4 ladspa lame ldap libcaca libnotify logrotate mad maildir mbox mhash midi mmap mmx mng mono mp3 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ntfs odbc odk ogg opengl openmp pam pcntl pcre perl pmu png posix postgres pppd python qt3support quicktime readline reflection reiserfs sbcl sdl session slang sndfile sockets sound sox spell spl sqlite sqlite3 sse sse2 ssl subversion svg sysvipc tagwriting tcpd tetex threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb vcd vim vim-syntax vim-sytanx vim-with-x vorbis wavpack wireshark xine xml xorg xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en_GB en de" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS adam@localhost ~ $ uname -a Linux localhost 2.6.20-gentoo-r8-b2 #1 SMP Wed Aug 29 20:48:40 CEST 2007 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
Please, attach a backtrace: http://www.gentoo.org/proj/en/qa/backtraces.xml
Created attachment 131380 [details] gdb /usr/bin/texmaker --core core --batch --quiet -ex "thread apply all bt full" -ex quit >backtrace.log If it's necessary I might recompile it with -ggdb -g or with USE="debug". The problem seems UTF convertion.
localhost adam # cat /boot/config-2.6.20-gentoo-r8-b2 | grep UTF CONFIG_NLS_DEFAULT="UTF-8" CONFIG_NLS_UTF8=y localhost adam # cat /etc/rc.conf | grep UNICODE # UNICODE specifies whether you want to have UNICODE support in the console. # If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and UNICODE="yes" localhost adam # cat /etc/env.d/00basic | grep LANG LANG=en_GB.UTF-8 localhost adam # cat /etc/env.d/00basic | grep LC LC_ALL=en_GB.UTF-8
cant reproduce it here :/ and I have utf8 locales also can you try removing ~/.config/Trolltech.conf ? also a full backtrace with debug symbols will for sure help
I'm having the same problem. Removing ~/.config/Trolltech.conf doesn't resolve. But, if I make a ssh session, or simply use the sux to start a new session, I can use the program!!! So, I think the problem is in enviroment variables, or something enabled by these variables. The diff of my normal session and a sux one is below: 2d1 < SSH_AGENT_PID=6432 4c3 < LINGUAS=pt_BR.UTF-8 --- > LINGUAS=pt_BR en pt 7d5 < WINDOWID=20985367 8a7 > OLDPWD=/home/joukim 14d12 < LIBGL_DRIVERS_PATH=/usr/lib64/dri:/usr/lib32/dri 15a14 > LIBGL_DRIVERS_PATH=/usr/lib64/dri:/usr/lib32/dri 18,20c17 < SSH_AUTH_SOCK=/tmp/ssh-yovFxE6414/agent.6414 < SESSION_MANAGER=local/falcao:/tmp/.ICE-unix/6439 < USERNAME=joukim --- > VMHANDLE=blackdown-jdk-1.4.2 23d19 < VMHANDLE=blackdown-jdk-1.4.2 26,27d21 < DESKTOP_SESSION=xfce < GDM_XSERVER_LOCATION=local 36d29 < GDMSESSION=xfce 38,39d30 < SHLVL=2 < HOME=/home/joukim 41a33,34 > SHLVL=1 > HOME=/home/joukim 46d38 < LOGNAME=joukim 48c40 < CVS_RSH=ssh --- > LOGNAME=joukim 49a42 > CVS_RSH=ssh 51,52d43 < DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qDxGCsoZML,guid=d68e1c75936a7773d939a2004756819f < XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/usr/local/share:/usr/share 57d47 < WINDOWPATH=7 58a49,50 > USB_DEVFS_PATH=/dev/bus/usb > RUBYOPT=-rauto_gem 61,62d52 < RUBYOPT=-rauto_gem < USB_DEVFS_PATH=/dev/bus/usb 65,66d54 < COLORTERM=Terminal < XAUTHORITY=/home/joukim/.Xauthority 68d55 < OLDPWD=/home/joukim I'm using Gentoo on AMD64. This is my make.conf: CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="3dnow 3dnowext X X509 a52 aac acpi aiglx alsa ansi apache2 asf audacious bash-completion binary-drivers bindist bittorrent branding browserplugin bzip2 cairo caps cdda cddb cdr chardet chroot colordiff cpudetection curl dbus dga divx djvu dmi dts dv dvb dvd dvdr dvdread dvi enca encode exif exo expat extensions fam fame fbcon fbsplash ffmpeg fftw firefox flac foomaticdb freetype fuse gaim gcj gd gif gimp gimpprint glib glibc-omitfp glitz glut gmedia gmp gnutls graphviz gs gstreamer gtk gtk2 gtkhtml gzip hal hardened hpn i8x0 icu ieee1394 imagemagick imlib java jikes joystick jpeg jpeg2k kerberos kqemu lame latex lcms ldap libnotify lm_sensors logrotate lzo mad math mbox mcal mikmod mime mjpeg mmxext mng modplug motif mozcalendar mozsvg mp3 mp4 mpeg musepack nsplugin offensive ogg openal opengl pam_chroot pam_timestamp pango pcmcia pdf pg-intdatetime pic plugins png posix ppds profile pthread pwdb quicktime rar realmedia replytolist rpc rtc sasl scanner screen sdl skins snmp sox speex spell startup-notification stats subtitles svg sysfs syslog t1lib tetex theora threads thumbnail tiff timidity transcode truetype type1 usb v4l v4l2 vcd vhosts vlm vorbis wifi wma wmf wmp wxwindows x264 xattr xcb xcomposite xfce xfce-panel xforms xml xosd xpm xprint xrandr xscreensaver xv xvid xvmc yv12 zip" FEATURES="parallel-fetch"
Proposed solution (worked here!): emerge app-office/texmaker-1.60 This version is still masked on amd64, but it works without this problem!!! :)
(In reply to comment #8) > Proposed solution (worked here!): > > emerge app-office/texmaker-1.60 > > This version is still masked on amd64, but it works without this problem!!! :) > then if this fixes a crash with unicode/utf8, let's recycle this bug report in a stable request since it's been in the tree for 2 months or more
ppc stable
added ~ppc64 for giggles
--- amd64 --- app-office/texmaker-1.60 1: emerges 2: passes collision-protect, (multilib-)strict, test 3: works Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 x86_64) ================================================================= System uname: 2.6.23-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Sun, 20 Jan 2008 04:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -ggdb -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -ggdb -march=athlon64 -pipe" DISTDIR="/tmp/portage" FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.utf-8" LINGUAS="en sv" MAKEOPTS="-j3" PKGDIR="/tmp/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/private" SYNC="rsync://dx/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi aiglx alsa amd64 apache2 arts asf avi bash-completion berkdb bitmap-fonts branding browserplugin cairo ccache cdr cli cpudetection cracklib crypt cscope css cups cvs dbus divx divx4linux dlloader dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac foomaticdb fortran freetype gdbm geoip gif gimp gmedia gnokii gnome gpm gstreamer gtk hal http iconv ieee1394 imap imlib ipv6 isdnlog java javascript jfs jpeg kde kdeenablefinal kdehiddenvisibility kdepim kerberos logitech-mouse mad madwifi maildir midi mikmod mmx mmx2 mmxext mono mozbranding moznopango mozsvg mp3 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin ntfs nvidia obex ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png pppd python qt qt3 qt3support qt4 quicktime readline realmedia reflection reiserfs samba scanner sdl session spell spl sse sse2 ssl subversion svg symlink tcpd test tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vim-syntax vim-with-x visualization vorbis wifi wmf wmp wxwindows xcomposite xface xfs xine xinerama xml xorg xosd xpm xprint xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
amd64 stable
x86 stable
sparc stable, closing