Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73379 - liferea-0.6.0 only stable version!
Summary: liferea-0.6.0 only stable version!
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: Highest blocker (vote)
Assignee: Michael Kohl (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-04 13:31 UTC by John Richard Moser
Modified: 2005-03-15 07:26 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 John Richard Moser 2004-12-04 13:31:30 UTC
I have tested each ebuild for liferea since 0.6.0, rebuilding liferea-0.6.0 after each (i.e. it's not my compiler doing it).  Each version, even after a mv ~/.liferea ~/.liferea.old, segfaults upon opening a folder:

read(25, "##\n## The contents of this file "..., 8192) = 7448
read(25, "", 8192)                      = 0
close(25)                               = 0
futex(0x552b6beeec, FUTEX_WAKE, 1)      = 1
futex(0x552b6beee8, FUTEX_WAKE, 1)      = 1
futex(0x552b6beeec, FUTEX_WAKE, 1)      = 1
futex(0x552b6beee8, FUTEX_WAKE, 1)      = 1
futex(0x552b6beeec, FUTEX_WAKE, 1)      = 1
futex(0x552b6beee8, FUTEX_WAKE, 1)      = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
unlink("/home/bluefox/.liferea/mozilla/liferea/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(30612, 30612, SIGSEGV)           = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


This is on amd64.  The only stable version of liferea seems to be liferea-0.6.0; and the ebuild has been removed.  Please re-add it ASAP.
Comment 1 John Richard Moser 2004-12-04 13:38:21 UTC
set hardware to amd64
Comment 2 Michael Kohl (RETIRED) gentoo-dev 2004-12-07 11:58:21 UTC
Works perfectly for me. Can you attach your emerge info please?
Comment 3 John Richard Moser 2004-12-07 13:47:17 UTC
Portage 2.0.51-r8 (hardened/amd64, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-pax x86_64)
=================================================================
System uname: 2.6.9-pax x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 18:39:55)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.6.3, 1.9.3, 1.7.9, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer  -fweb -funit-at-a-time -fomit-frame-pointer -mfpmath=387 -mno-sse   -fno-stack-protector-all -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer  -fweb -funit-at-a-time -fomit-frame-pointer -mfpmath=387 -mno-sse   -fno-stack-protector-all -fstack-protector"
DISTDIR="/home/shared/sysdirs//distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/home/shared/sysdirs//packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/olay64 /usr/local/portage/common /usr/local/portage/bmg-gnome /usr/local/portage/bmg"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3ds X aalib acl acpi alsa amd64 apm avi berkdb bitmap-fonts bmp bootsplash caps cdr composite crypt cups dlloader dmx dri dvd esd f77 fam flac gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal hardened imagemagick imlib ipv6 ithreads java jbig jpeg justify lcms ldap libwww lzw-tiff mad mikmod mmap mng motif mozilla moznocompose moznoirc moznomail mpeg multilib mysql ncurses nls nptl objc offensive oggvorbis openal opengl oss pam perl pic pie png ppds python quicktime readline samba sdl slang speex spell ssl tcltk tcpd theora threads tiff truetype unstable-meta usb videos wmf xchatdccserver xml xml2 xprint xv zlib"


No modifications were made between compiling 0.6.0 and future versions (I actually rebuilt 0.6.0 during the downgrades to check to make sure it wasn't me).
Comment 4 John Richard Moser 2004-12-07 14:19:27 UTC
i've disabled ccache (htf did that get on), remerged 0.6.4b, it crashes when selecting a feed (again); remerged 0.6.0 (from source), it works.

:/ well, wasn't ccache at least. . . 
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2004-12-07 17:34:19 UTC
Why don't you start by toning:

CFLAGS="-march=athlon64 -O2 -pipe -ftracer  -fweb -funit-at-a-time -fomit-frame-pointer -mfpmath=387 -mno-sse"

down to something like

CFLAGS="-march=athlon64 -O2 -pipe"
Comment 6 John Richard Moser 2004-12-08 14:01:22 UTC
Tried.  Liferea 0.6.4b still segfaults with fresh ~/.liferea
Comment 7 John Richard Moser 2005-01-26 21:47:10 UTC
I've all but tracked this bug down.

I had to execstack -c some stuff

LoadPlugin: failed to initialize shared library /opt/blackdown-jdk-1.4.2.01/jre/plugin/amd64/mozilla/libjavaplugin_oji.so [/opt/blackdown-jdk-1.4.2.01/jre/plugin/amd64/mozilla/libjavaplugin_oji.so: cannot enable executable stack as shared object requires: Permission denied]
LoadPlugin: failed to initialize shared library /opt/netscape/plugins/libflashplayer.so [/opt/netscape/plugins/libflashplayer.so: cannot open shared object file: No such file or directory]
Segmentation fault
bluefox@icebox ~ $ execstack \
  /opt/blackdown-jdk-1.4.2.01/jre/plugin/amd64/mozilla/libjavaplugin_oji.so \
  /opt/netscape/plugins/libflashplayer.so
? /opt/blackdown-jdk-1.4.2.01/jre/plugin/amd64/mozilla/libjavaplugin_oji.so
? /opt/netscape/plugins/libflashplayer.so
bluefox@icebox ~ $ su -c "execstack -c \
  /opt/blackdown-jdk-1.4.2.01/jre/plugin/amd64/mozilla/libjavaplugin_oji.so \
  /opt/netscape/plugins/libflashplayer.so"

After this and deleting the gconf key /apps/liferea/browser-module, the mozilla module works fine.

Oddly, this doesn't KILL firefox, but it prevents it from loading the affected plug-ins.

What the heck is with the ? in PT_GNU_STACK (read by execstack)?  A set PT_GNU_STACK puts an X there.  Hardened should probably have a look at this, so I'm putting on my helmet and CCing them.  I sent a message at their dev list too, so the Liferea devs got a heads-up on this.  The message hasn't hit the archive yet, but if it ever does I'll put a link here.

What I wanna know is, what broke in >0.6.0 that started triggering this?
Comment 8 Michael Kohl (RETIRED) gentoo-dev 2005-01-27 01:57:02 UTC
> What I wanna know is, what broke in >0.6.0 that started triggering this?
---
That's a queastion upstream is much more likely to answer. As I have seen you  have reported your problem at their SF bugtracker already, so maybe you'll get your answer there.
Comment 9 John Richard Moser 2005-01-28 10:21:10 UTC
http://sourceforge.net/mailarchive/message.php?msg_id=10682111

And suddenly it crashes AGAIN, so this bug STILL STANDS.


0.9.0b crashes with either plug-in.  There's an strace.  Anyone who wants to tackle taking this apart can.  Upstream will have to deal with this most likely; it's nobody here's job, though volunteers are always welcome (I've had this one pulled on me before, I didn't bite).

Currently I keep >0.6.0 masked in /etc/portage, so eh.
Comment 10 Michael Kohl (RETIRED) gentoo-dev 2005-03-15 07:26:15 UTC
Ok, I'll finally mark this bug as RESOLVED - UPSTREAM. If you have anything to share, feel free to post the information here if you want.