rapidsvn 0.9.4 often crash with a segfault on Gentoo. Same version works without problems on Ubuntu. Here a version comparison: Gentoo: rapidsvn-0.9.4 subversion-1.4.5 Ubuntu: rapidsvn-0.9.4 subversion-1.4.4 Here the gdb backtrace: Core was generated by `rapidsvn'. Program terminated with signal 11, Segmentation fault. #0 0xb7e399b4 in svn_io_get_dirents2 () from /usr/lib/libsvn_subr-1.so.0 (gdb) bt #0 0xb7e399b4 in svn_io_get_dirents2 () from /usr/lib/libsvn_subr-1.so.0 (gdb) quit I could reinstall subversion and rapidsvn with debug info and debug sources if this would help. > emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8-1 i686) ================================================================= System uname: 2.6.22-gentoo-r8-1 i686 AMD Duron(tm) Timestamp of tree: Mon, 21 Jan 2008 11:00:04 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.3.5-r3, 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.6.3, 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-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" PKGDIR="/usr/portage/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/layman/enlightenment /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi alsa athena berkdb bitmap-fonts bonobo cairo cdr cli cracklib crypt cups curl dbus dga dmx dnd dri dv dvd dvdr dvdread eds emboss encode esd evo f77 faad fam fbcon firefox fortran freetype gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml hal iconv ipv6 isdnlog joystick jpeg jpeg2k kerberos ldap libcaca libsamplerate linuxthreads-tls mad maildir mbox midi mikmod mmx moznoirc moznomail mozp3p mozsvg mp3 mpeg mudflap mule nas ncurses neXt nls nptl nptlonly nvidia objc ogg opengl openmp oss pam pcre pdf perl png povray pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby sasl sdk sdl session spell spl sse ssl stencil-buffer svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs wmf x86 xface xinerama xml xorg xprint xrandr xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Sometimes
(In reply to comment #0) > I could reinstall subversion and rapidsvn with debug info and debug sources if > this would help. Yeah, that sounds like a plan, attach a *full* backtrace here then. See http://www.gentoo.org/proj/en/qa/backtraces.xml for hints.
Core was generated by `rapidsvn'. Program terminated with signal 11, Segmentation fault. #0 0xb7ea25a0 in svn_io_get_dirents2 (dirents=0xb525e04c, path=0xb72d25dc "", pool=0x83fd3f8) at subversion/libsvn_subr/io.c:1897 1897 if ((this_entry.name[0] == '.') (gdb) bt #0 0xb7ea25a0 in svn_io_get_dirents2 (dirents=0xb525e04c, path=0xb72d25dc "", pool=0x83fd3f8) at subversion/libsvn_subr/io.c:1897 #1 0xb7f1842a in import_dir (editor=0x83fd880, dir_baton=0x83fd900, path=0xb72d25dc "", edit_path=0xb7f366d7 "", nonrecursive=0, excludes=0x83ff438, no_ignore=0, import_ctx=0x83fd8d8, ctx=0x832bf94, pool=0x83fd3f8) at subversion/libsvn_client/commit.c:307 #2 0xb7f18aef in import (path=0xb72d25dc "", new_entries=0x83ff4a0, editor=0x83fd880, edit_baton=0x83fd8c0, nonrecursive=0, excludes=0x83ff438, no_ignore=0, ctx=0x832bf94, pool=0x83fd3f8) at subversion/libsvn_client/commit.c:537 #3 0xb7f19317 in svn_client_import2 (commit_info_p=0xb525e21c, path=0xb72d25dc "", url=0x8406984 "svn+ssh://frodo/var/svn/StopClock", nonrecursive=0, no_ignore=0, ctx=0x832bf94, pool=0x83ff400) at subversion/libsvn_client/commit.c:757 #4 0xb7f1946d in svn_client_import (commit_info_p=0xb525e278, path=0xb72d25dc "", url=0x8406984 "svn+ssh://frodo/var/svn/StopClock", nonrecursive=0, ctx=0x832bf94, pool=0x83ff400) at subversion/libsvn_client/commit.c:797 #5 0xb7f59386 in svn::Client::import () from /usr/lib/libsvncpp.so.0 #6 0x08093629 in ImportAction::Perform () #7 0x080bb799 in ThreadedWorker::Data::ExecuteAction () #8 0x080bba57 in ThreadedWorker::Data::Entry () #9 0xb73a7105 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_base-2.6.so.0 #10 0xb73a718b in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0 #11 0xb7ac613b in ?? () from /lib/libpthread.so.0 #12 0x081e3530 in ?? () #13 0xb525e450 in ?? () #14 0xb525e450 in ?? () #15 0xb525e450 in ?? () #16 0xb525e450 in ?? () #17 0x00000000 in ?? ()
Does this crash happen when you first click in the GUI to display the file tree? If so, try logging in first using the menu option...
I also experience *reproducible* rapidsvn crashes on update and commit (log works). Rapidsvn worked very well for some time, this crash behaviour started just recently (I can't really tell, rapidsvn itself has not been upgraded and is not used daily on this machine...) I'll attach the GDB session and backtrace output, having rapidsvn compiled with -ggdb and the spitdebug feature. emerge --update world is completely done, and also revdep-rebuild does not show any damaged packages. Steps to reproduce: 1. Open Rapidsvn; the folder tree shows up. 2. Right-click a folder and select Update. (The SVN repository is hosted on a HTTPS service, but it does not get contacted. However, selecting log brings up the log entries from the server as expected). Reproducible: always # emerge --info Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686) ================================================================= System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Timestamp of tree: Tue, 26 Feb 2008 07:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 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.11.1 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.6.3, 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.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" LANG="C" LC_ALL="C" LINGUAS="de en en_GB de_AT es es_ES pt pt_PT" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa apache2 bash-completion berkdb bitmap-fonts cdr cjk cli cmdsubmenu cracklib crypt cups curl dbus dhcp directfb dolby-record-switch dri dts dvb dvbplayer dvd dvdr dvdread eap-tls encode extrafilters fam famd ffmpeg firefox flac fortran gdbm gif gimp gnome gpm gstreamer gtk hal httpd iconv ipv6 isdnlog java jce jpeg lirc live lm_sensors logrotate lzo matroska midi mmx mp3 mpeg mppe-mppc mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png ppds pppd python qt3 radius readline reflection rtsp samba sdl sensord session shout slang snmp sourcecaps speex spell spl sse sse2 ssl stream submenu subtitles svg svga sysfs tcpd tetex theora threadsafe truetype truetype-fonts type1-fonts unicode usb v4l vcd vdr vorbis win32codecs x86 xine xml xorg xv xvid zlib" ALSA_CARDS="hda-intel cmipci" 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="access auth auth_dbm auth_anon auth_digest authz_host alias filter file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id" DVB_CARDS="ttpci usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB de_AT es es_ES pt pt_PT" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 144708 [details] GDB session for rapidsvn-0.94 (--ggdb, splitdebug) So here's the GDB output. Thank you all for you support!
Studying the stack traces I posted, I reckon that the crash has something to do with the wxgtk libs and I tried emerge --update --deep --newuse rapidsvn which did: emerge --newuse --deep --update rapidsvn emerge (1 of 7) app-portage/portage-utils-0.1.29 to / Unmerging... (app-portage/portage-utils-0.1.28) emerge (2 of 7) app-text/libpaper-1.1.23 to / Unmerging... (app-text/libpaper-1.1.21) emerge (3 of 7) dev-libs/libpcre-7.6-r1 to / Unmerging... (dev-libs/libpcre-7.6) emerge (4 of 7) dev-libs/libtasn1-1.2 to / Unmerging... (dev-libs/libtasn1-0.3.5) emerge (5 of 7) app-admin/perl-cleaner-1.05 to / Unmerging... (app-admin/perl-cleaner-1.04.3) emerge (6 of 7) x11-libs/wxGTK-2.6.4.0-r3 to / x11-libs/wxGTK-2.6.3.3) emerge (7 of 7) app-admin/eselect-wxwidgets-0.7-r1 to / ... and now rapidsvn finally works again.
Nice work... I saw this too: #10 0xb73a718b in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0 #11 0xb7ac613b in ?? () from /lib/libpthread.so.0 but I had made my own updated ebuilds of wxGTK, wxpython, etc, for working on bitpim, and then I got sidetracked with other stuff... All that has been recently updated, so hopefully it should get addressed for others through the normal update process.