FS#4030 - emelfm2 segmentation fault

Attached to Project: Arch Linux
Opened by Igor (furester) - Tuesday, 21 February 2006, 11:47 GMT
Last edited by Jan de Groot (JGC) - Friday, 24 February 2006, 07:51 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Critical
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

[furester@xxx ~]$ emelfm2
Segmentation fault
[furester@xxx ~]$ gdb emelfm2
[cut]
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218070048 (LWP 8357)]
0xb791af42 in strstr () from /lib/tls/libc.so.6
(gdb) quit
[furester@xxx ~]$ pacman -Qo /lib/tls/libc.so.6
/lib/tls/libc.so.6 is owned by glibc 2.3.5-8

Running emelfm2 I receive a segmentation fault and it doesn't run, yesterday I upgraded from xorg 6.9 to 7.0, yesterday it run.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 25 March 2006, 18:32 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Tuesday, 21 February 2006, 23:46 GMT
It works fine here, but after solving quite some other bugs. Could you try to reproduce after updating?
Comment by Igor (furester) - Wednesday, 22 February 2006, 08:25 GMT
After upgrading to xorg7 emelfm2 says "Segmentation fault" and last package update was on 2006-02-03.
If I guess the question could you explain again?
Comment by Jan de Groot (JGC) - Wednesday, 22 February 2006, 10:17 GMT
Several Xorg components were updated yesterday before I posted this comment. I can't reproduce the segfault, so either it has been fixed with these updates, or I can't reproduce it at all.
Comment by Igor (furester) - Friday, 24 February 2006, 09:46 GMT
then I tre to recompile myself the package and I discover a lot of error: the package doesn't compile.

src/utils/cell-renderers/eggaccelerators.c:547: error: for each function it appears in.)
make: *** [objs/src/utils/cell-renderers/eggaccelerators.o] Error 1

I don't copy all the output 'cause it is very long, if it helps I can attach it as an external file, but I use the official PKGBUILD from Current, so you can replicate the output on your own pc, I suspect.

Maybe it is safe to add some files in dependenciens array.
Comment by Kevin Piche (kpiche) - Friday, 24 February 2006, 17:27 GMT
I just rebuilt emelfm2 without any trouble:

...
compiling 'plugins/e2p_view.c'
installing plugins to prefix '/home/kpiche/arch-devel/extra/x11/emelfm2/pkg/usr'installing emelfm2 to prefix '/home/kpiche/arch-devel/extra/x11/emelfm2/pkg/usr'
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: emelfm2 (Fri Feb 24 12:19:39 EST 2006)

It runs fine as well. Maybe you're missing some header files?
Comment by Igor (furester) - Saturday, 25 February 2006, 08:33 GMT
In file included from /usr/include/gtk-2.0/gdk/gdkx.h:33,
from src/utils/cell-renderers/eggaccelerators.c:23:
/usr/include/X11/Xlib.h:60:19: error: X11/X.h: No such file or directory
/usr/include/X11/Xlib.h:63:28: error: X11/Xfuncproto.h: No such file or directory
/usr/include/X11/Xlib.h:64:25: error: X11/Xosdefs.h: No such file or directory
In file included from /usr/include/gtk-2.0/gdk/gdkx.h:33,
from src/utils/cell-renderers/eggaccelerators.c:23:

maybe I found the missing header but if these header are in an other package why they aren't written in make-depends or in depends?
Comment by Igor (furester) - Saturday, 25 February 2006, 08:45 GMT
[update]
compilation error are caused by xproto that were not well installed (i don't know why) but even after recompiling and upgrading "segmentation fault" remain, now I think that it could be caused from an other not fully installed package but emelfm2 depends only from gtk2 that I upgraded two days ago.
Comment by Igor (furester) - Saturday, 25 February 2006, 18:43 GMT
[update #2]
I noticed that emelfm2 isn't the only broken package but i can't find a solution so i try to circumvent the problem with a forced upgrade of the whole syste:

# pacman -Syu ; for i in `pacman -Q | cut -d " " -f1` ; do pacman -S --noconfirm $i ; done

now it seems to work like all other packages but .. is it a solution?

Loading...