Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352370 - x11-misc/pcmanfm-0.9.7-r2 segmentation fault on start up
Summary: x11-misc/pcmanfm-0.9.7-r2 segmentation fault on start up
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
: 352366 352368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-21 20:19 UTC by Alex
Modified: 2011-01-21 22:24 UTC (History)
1 user (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 Alex 2011-01-21 20:19:29 UTC
>>eix pcmanfm

[I] x11-misc/pcmanfm
     Available versions:  0.5.2 0.9.7-r1 0.9.7-r2 [M](~)0.9.8 **9999 {debug desktop-integration hal}
     Installed versions:  0.9.7-r2(01:00:49 22.01.2011)(debug)
     Homepage:            http://pcmanfm.sourceforge.net/
     Description:         Fast lightweight tabbed filemanager

>>pcmanfm
zsh: segmentation fault  pcmanfm

Reproducible: Always

Steps to Reproduce:
1.run pcmanfm
2.segfault

Actual Results:  
segfault

Expected Results:  
running pcmanfm

>>emerge --info
Portage 2.2_rc67-r2 (default/linux/amd64/2008.0/desktop, gcc-4.4.5, glibc-2.11.2-r2, 2.6.37-gentoowork x86_64)
=================================================================
System uname: Linux-2.6.37-gentoowork-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.1.8
Timestamp of tree: Thu, 20 Jan 2011 06:30:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.5-r3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.1.8-r2
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=1"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://gentoo.kiev.ua/ftp/ http://mirror2.corbina.ru/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.bloodhost.ru/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://xeon.gentoo.ru/mirrors/Gentoo/ http://mirror.ynet.sk/pub/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.gentoo.bg/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror2.corbina.ru/gentoo-distfiles/ http://gentoo.lagis.at/ ftp://trumpetti.atm.tut.fi/gentoo/ http://mirrors.telepoint.bg/gentoo/ http://gentoo.inode.at/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/mineover/overlay /usr/local/portage/layman/zugaina /usr/local/portage/layman/gamerlay /usr/local/portage/layman/lisp /usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/rion /usr/local/portage/layman/dberkholz /usr/local/portage/layman/Spring /usr/local/portage/layman/ibormuth /usr/local/portage/layman/d /usr/local/portage/layman/trauma /usr/local/portage/layman/ruby /usr/local/portage/layman/science /usr/local/portage/layman/emacs /usr/local/portage/layman/sabayon /usr/local/portage/layman/pentoo /usr/local/portage/layman/eatnumber1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alac alsa amd64 berkdb blas branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr dvdread emacs emboss encode epoll esd exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif glade gmp gnutls gpm gstreamer gtk hal iconv jack jpeg lame lapack lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses nls nptl nptlonly ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 raw readline sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim-syntax vorbis wavpack x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-21 20:24:50 UTC
*** Bug 352366 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-21 20:25:08 UTC
*** Bug 352368 has been marked as a duplicate of this bug. ***
Comment 3 Alex 2011-01-21 20:32:55 UTC
this is the dbg session:

>>gdb /usr/bin/pcmanfm 
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/pcmanfm...done.
(gdb) run
Starting program: /usr/bin/pcmanfm 
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff58be01b in memcpy () from /lib/libc.so.6
(gdb) where 
#0  0x00007ffff58be01b in memcpy () from /lib/libc.so.6
#1  0x00007ffff7384142 in fm_path_new_child_len () from /usr/lib/libfm.so.0
#2  0x00007ffff73845ae in ?? () from /usr/lib/libfm.so.0
#3  0x00007ffff738308d in fm_init () from /usr/lib/libfm.so.0
#4  0x00007ffff7bb75d9 in fm_gtk_init () from /usr/lib/libfm-gtk.so.0
#5  0x000000000040e851 in main (argc=1, argv=0x7fffffffe228) at pcmanfm.c:130
(gdb)

pcmanfm builded with feature +nostrip in make.conf
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-01-21 20:36:53 UTC
which gtk+ version? did you try to remove .config/pcmanfm folder and try again?
Comment 5 Alex 2011-01-21 21:05:20 UTC
>>eix -I gtk+
[I] x11-libs/gtk+
     Available versions:  
        (1)     1.2.10-r12
        (2)     2.18.9 2.20.1-r1 (~)2.22.0 (~)2.22.1 (~)2.22.1-r1
        {aqua cups debug doc examples +introspection jpeg jpeg2k linguas_az linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_es linguas_et linguas_eu linguas_fi linguas_fr linguas_ga linguas_gl linguas_hr linguas_hu linguas_it linguas_ja linguas_ko linguas_lt linguas_nl linguas_nn linguas_no linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_tr linguas_uk linguas_vi nls test tiff vim-syntax xinerama}
     Installed versions:  2.22.1-r1(2)(20:47:29 02.01.2011)(cups doc jpeg tiff vim-syntax -aqua -debug -examples -introspection -jpeg2k -test -xinerama)
     Homepage:            http://www.gtk.org/
     Description:         Gimp ToolKit +


.config/pcmanfm removed, but pcmanfm does segfault. 
.config/pcmanfm directory does not appear again after run pcmanfm.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-01-21 21:18:41 UTC
What is the version of libfm that you are using?
Comment 7 Alex 2011-01-21 21:25:04 UTC
>>eix -I libfm
[I] x11-libs/libfm
     Available versions:  0.1.12 [M](~)0.1.14 **9999 {debug demo examples udev}
     Installed versions:  0.1.12(01:37:47 22.01.2011)(-debug -demo)
     Homepage:            http://pcmanfm.sourceforge.net/
     Description:         A library for file management
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2011-01-21 21:29:38 UTC
Can you please take it upstream?
http://sourceforge.net/tracker/?group_id=156956&atid=801864