Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125147 - lyx-1.3.{5,6} crashes during startup
Summary: lyx-1.3.{5,6} crashes during startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Other
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on: 133942
Blocks:
  Show dependency tree
 
Reported: 2006-03-05 16:08 UTC by Steffen Schwientek
Modified: 2008-02-24 12:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Schwientek 2006-03-05 16:08:40 UTC
The lyx versions 1.3.15 and 1.3.16 crashes if they are installed via portage.

However, if I simply unpack the lyx-1.3.15 tarball in the root directory, this version works nicely. Unfortunately not the lyx-1.3.16 version...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 17:13:20 UTC
No such versions in portage.
Comment 2 Steffen Schwientek 2006-03-06 05:17:52 UTC
You have right, I mean lyx-1.3.5-r2 and lyx-1.3.6
Comment 3 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-29 07:59:18 UTC
Is this still a problem with 1.4.0?
Comment 4 Toon Verstraelen 2006-05-19 02:43:02 UTC
Same problem here. I used links 1.3.5-r2. Here is my emerge --info

Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://ftp.belnet.be/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa ao aotuv artworkextra audiofile avi bash-completion berkdb bzip2 cdf cdr cli cpdflib cpudetection crypt cups curl dbus dga dio directfb divx4linux djbfft dnd dpms dri droproot dts dv dvb dvd dvdread edl eds encode erandom ethereal evms2 examples exif expat fam fb ffmpeg fftw firefox flac foomaticdb fortran fs gd gdbm gif ginac glut gmp gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imap imlib ipv6 isdnlog java jpeg justify lapack lcms ldap libcaca libg++ libgda libvisual libwww live lm_sensors lzo mad matroska mbpx md5sum mikmod mmx mng mozdevelop mozp3p mozsvg mp3 mpeg mpeg4 mplayer msql mysql mythtv ncurses network nls no-old-linux nomac nomotif noplugin nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pango patented pcre pdflib perl physfs png pppd python quicktime readline real reflection rrdtool rtc sapdb sdk sdl session sharedmem shorten slang sockets speex spell spl sse sse2 ssl subp svg sysfs sysvipc tcpd tetex theora threads tiff toolbar transcode truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vcd vidix vim-with-x vorbis wifi win32codecs xanim xine xml2 xmms xorg xscreensaver xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS



Here is how lyx crashes:

toon@molmod08 ~ $ lyx

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted


When running lyx with valgrind, I see a little bit more info, but I should rerun this with debugging code.

toon@molmod08 ~ $ valgrind lyx
==15666== Memcheck, a memory error detector.
==15666== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==15666== Using LibVEX rev 1575, a library for dynamic binary translation.
==15666== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==15666== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==15666== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==15666== For more details, rerun with: -v
==15666==
==15666== Source and destination overlap in strncpy(0x412B5BD, 0x412B5BD, 20)
==15666==    at 0x401DF07: strncpy (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x40CF6AF: fl_get_resource (in /usr/lib/libforms.so.1.0.0)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x419876B: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAF84 is 4 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x419878E: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAFC4 is 68 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x41A0481: XFindOnExtensionList (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAF80 is 0 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x41986FA: _XF86BigfontFreeFontMetrics (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAFC4 is 68 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid free() / delete / delete[]
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x4198704: _XF86BigfontFreeFontMetrics (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CB5E0 is 0 bytes inside a block of size 3,072 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x4198704: _XF86BigfontFreeFontMetrics (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x4198795: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAF80 is 0 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid read of size 4
==15666==    at 0x41987A0: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAFA8 is 40 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid free() / delete / delete[]
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987E5: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CB000 is 0 bytes inside a block of size 176 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987E5: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==
==15666== Invalid free() / delete / delete[]
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
==15666==  Address 0x44CAF80 is 0 bytes inside a block of size 80 free'd
==15666==    at 0x401C5A2: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==15666==    by 0x41987ED: XFreeFont (in /usr/lib/libX11.so.6.2)
BadFont (invalid Font parameter) id: 52428807
==15666==
==15666== ERROR SUMMARY: 24 errors from 10 contexts (suppressed: 49 from 2)
==15666== malloc/free: in use at exit: 378,480 bytes in 11,827 blocks.
==15666== malloc/free: 55,367 allocs, 43,546 frees, 1,602,629 bytes allocated.
==15666== For counts of detected errors, rerun with: -v
==15666== searching for pointers to 11,827 not-freed blocks.
==15666== checked 799,260 bytes.
==15666==
==15666== LEAK SUMMARY:
==15666==    definitely lost: 0 bytes in 0 blocks.
==15666==      possibly lost: 59,386 bytes in 2,310 blocks.
==15666==    still reachable: 319,094 bytes in 9,517 blocks.
==15666==         suppressed: 0 bytes in 0 blocks.
==15666== Reachable blocks (those to which a pointer was found) are not shown.
==15666== To see them, rerun with: --show-reachable=yes
Aborted

I am now trying version 1.4.1-r1 and will report my experiences.
Comment 5 Toon Verstraelen 2006-05-19 03:06:59 UTC
1.4.1-r1 works great and the gnome support probably makes it look awfully much nicer on my system. If you are interested in a valgrind output for the 1.3.6-r2 version with debugger information, just comment below as I have added myself in the CC list. For as now, my advise is to mark 1.4.1-r1 as stable, unless there are other problems with this version.
Comment 6 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-20 14:00:26 UTC
(In reply to comment #5)
> 1.4.1-r1 works great and the gnome support probably makes it look awfully much
> nicer on my system.

Great!

> If you are interested in a valgrind output for the 1.3.6-r2
> version with debugger information, just comment below as I have added myself in
> the CC list.

I don't need it.

> For as now, my advise is to mark 1.4.1-r1 as stable, unless there
> are other problems with this version.

I'm working towards stabelizing 1.4.x when the last bugs get squashed :)

> 

Comment 7 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-23 00:46:58 UTC
1.4.1-r1 is stable now, so resolving.