Dropbox 1.2.51 either won't start at all, or starts but dies silently as soon as a change comes in. Monitoring the status sometimes shows "Downloading file list" between "Idle" and its disappearance, but not always; it usually dies pretty quickly. I have seen no log messages after it dies. 1.2.48-r1 works fine. I have tried several cycles of downgrade and upgrade and can easily duplicate the symptoms. Reproducible: Always Steps to Reproduce: Install 1.2.51. Monitor its status for a few seconds. Make sure it settles into "Idle". Change a file in some other system connected to the same dropbox account. Monitor dropbox's status -- it disappears within a few seconds. Once it did copy one of four changed files, but then died. I do have a satellite net connection with 1.5 second ping times, but that doesn't bother 1.2.48-r1. An ordinary net connection might be fast enough that it dies quicker. I am a programmer, but have done very little in Python. Still, I don't mind editing proposed fixes or debugging code and reporting the results. This is a headless ~and64 system. I ssh into it; I don't run X on it, but it does have some X components.
It also dies or stops responding for me. Once I did see a message before it dying: dropbox: ERROR: (rs_outfilebuf_drain) error draining buf to file: Resource temporarily unavailable .48-r1 works fine. Maybe using system libraries instead of bundled ones for closed source programs isn't a good idea :/
(In reply to comment #1) > It also dies or stops responding for me. Once I did see a message before it > dying: > > dropbox: ERROR: (rs_outfilebuf_drain) error draining buf to file: Resource > temporarily unavailable That's it! That's the message I got a few times at first, but not once I started downgrading and upgrading to pin i down.
Same here.
Same here + bug #404541
Same here
And here Portage 2.1.10.47 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64) ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2300_CPU_@_2.80GHz-with-gentoo-2.1 Timestamp of tree: Sat, 18 Feb 2012 13:15:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.5-r1, 1.9.6-r3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo pcsx2 lcd-filtering Chema-s-Overlay ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.udc.es/gentoo/snapshots/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="es es_ES" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pcsx2 /var/lib/layman/lcd-filtering /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr avx berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus desktopglobe djvu dri dts dvd dvdr dvdread emboss enca encode exif fam ffmpeg firefox flac foomaticdb fortran gdu gif glib hddtemp iconv imagemagick ipv6 java java6 jpeg kde lcdfilter lcms libnotify lm_sensors mad matroska mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf png policykit ppds pppd qt3support qt4 quicktime rar raw readline samba schroedinger sdl semantic-desktop session spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vdpau vim-syntax vorbis x264 xcb xcomposite xft xine xml xorg xosd xpm xv xvid zip zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon ptp2" 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="es es_ES" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(sigh) Yes, me too had to downgrade to 1.2 48-r1
Same here. It dies silently.
Same here. emerge --info Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64) ================================================================= System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.3 Timestamp of tree: Tue, 21 Feb 2012 00:45:01 +0000 ccache version 3.1.6 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo unoffical-balabit-overlay ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/_gentoo_portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.osuosl.org/" LANG="hu_HU.UTF-8" LC_ALL="hu_HU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en hu" MAKEOPTS="-j3" PKGDIR="/_gentoo_portage/packages" PORTAGE_CONFIGROOT="/" 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="/_gentoo_portage/tmp" PORTDIR="/_gentoo_portage/portage" PORTDIR_OVERLAY="/_gentoo_portage/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss exif fam firefox flac fortran ftp gdbm gdu gif gpm gtk iconv ipv6 jpeg kde kipi lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog tcpd tiff truetype udev unicode usb v4l vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel fbdev" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Well, the error message: dropbox: ERROR: (rs_outfilebuf_drain) error draining buf to file: Resource temporarily unavailable seems to be related to librsync. But I wonder what the actual cause is?
(In reply to comment #11) > Well, the error message: > > dropbox: ERROR: (rs_outfilebuf_drain) error draining buf to file: Resource > temporarily unavailable > > seems to be related to librsync. But I wonder what the actual cause is? Could you try strace it? "strace -f /opt/bin/dropbox"
Created attachment 302951 [details] strace output from "dropbox start" One needs to pass "start" to dropbox. Without args, it just prints its options. % strace -f -o dropbox.strace /usr/bin/dropbox start Starting Dropbox...Dropbox isn't running! Done! [ Process PID=5444 runs in 32 bit mode. ] [ Process PID=5443 runs in 64 bit mode. ]
(In reply to comment #13) > strace output from "dropbox start" > > One needs to pass "start" to dropbox. Without args, it just prints its > options. That's only if you have also dropbox's nautilus plugin installed. /usr/bin/dropbox is just a script that when issued 'start' calls /opt/bin/dropbox. (In reply to comment #12) strace /opt/bin/dropbox output ends with clock_gettime(CLOCK_MONOTONIC, {5993, 846537097}) = 0 poll([{fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}], 3, 0) = 0 (Timeout) poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}]) writev(10, [{"$\30\1\0&\0\2\0\16\1\0\0", 12}, {NULL, 0}, {"", 0}], 3) = 12 poll([{fd=10, events=POLLIN}], 1, -1) = 1 ([{fd=10, revents=POLLIN}]) recv(10, "\1\1*\3\0\0\0\0\16\1\0\0\313\0@\0\10\2\0\0\10\2\0\0\0\0\0\0\0\0\0\0", 4096, MSG_WAITALL) = 32 recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}]) writev(10, [{"&\30\2\0\313\0@\0", 8}, {NULL, 0}, {"", 0}], 3) = 8 poll([{fd=10, events=POLLIN}], 1, -1) = 1 ([{fd=10, revents=POLLIN}]) recv(10, "\1\1+\3\0\0\0\0\16\1\0\0\0\0\0\0\10\2\0\0\10\2\0\0\0\0\0\0\0\0\0\0", 4096, MSG_WAITALL) = 32 recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=10, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=10, revents=POLLOUT}]) writev(10, [{"%\30\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4 recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_MONOTONIC, {5993, 852466445}) = 0 poll([{fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}], 3, 0) = 0 (Timeout) recv(10, 0xa5021a0, 4096, MSG_WAITALL) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_MONOTONIC, {5993, 853822840}) = 0 poll([{fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}], 3, 490 <unfinished ... exit status 245> I can attach a full strace if you think it'd be useful.
Created attachment 302955 [details] output from strace -f dropbox
Same here on stable amd64. Yesterday there was a minor gcc update, from 4.5.3-r1 to 4.5.3-r2. After the update, and whilst I was in the process of downgrading/upgeading dropbox to test it, I saw this messages when emerging dropbox-1.2.51 not appearing for 1.2.48-r1: ===== >>> Unpacking dropbox-lnx.x86_64-1.2.51.tar.gz to /var/tmp/portage/net-misc/dropbox-1.2.51/work «libstdc++.so.6» borrado --> "borrado" means deleted in Spanish «libz.so.1» borrado «libssl.so.0.9.8» borrado «libbz2.so.1.0» borrado «libpopt.so.0» borrado «librsync.so.1» borrado «libcrypto.so.0.9.8» borrado «libpng12.so.0» borrado * Fallback PaX marking -cm * /var/tmp/portage/net-misc/dropbox-1.2.51/work/dropbox-1.2.51/src/dropbox TYPE PAX FILE ET_EXEC PemRxS /var/tmp/portage/net-misc/dropbox-1.2.51/work/dropbox-1.2.51/src/dropbox >>> Source unpacked in /var/tmp/portage/net-misc/dropbox-1.2.51/work ===== As I said before, dropbox-1.2.48-r1 does not show those lines: ===== >>> Unpacking dropbox-lnx.x86_64-1.2.48.tar.gz to /var/tmp/portage/net-misc/dropbox-1.2.48-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/dropbox-1.2.48-r1/work ===== Hope this info helps.
After an update from net-libs/librsync-0.9.7-r1 to net-libs/librsync-0.9.7-r2 dropbox-1.2.51 started working again. Before that, I saw the same errors as mentioned before...
I have to correct myself: It worked for about 10 Minutes with 10 restarts (doing straces etc...). Now it failed to sync some files, again. Same errors as before (exit status 245). Sorry for the noise.
Same here, downgrade to dropbox-1.2.48-r1 works again.
(In reply to comment #19) > Same here, downgrade to dropbox-1.2.48-r1 works again. python-updater rebuilt dropbox-1.2.51 ... now it starts OK and also accepts/survives changes. Let's see for how long ...
(In reply to comment #20) > python-updater rebuilt dropbox-1.2.51 ... now it starts OK and also > accepts/survives changes. Let's see for how long ... I tried running python-updater and letting it rebuild what it wanted to, but still dropbox dies after some seconds.
Created attachment 303077 [details] dropbox-1.3.19.ebuild This is the testing version of dropbox and it works fine for me. Can also be found in put-overlay (http://blog.ppfeufer.de/gentoo-overlay-put-overlay/)
I have a workaround described on the dropbox forums, by not dropping the bundled rsync. Create a copy of the ebuild in your local overlay. Open it in a text editor and remove the line "net-libs/rsync" from RDEPEND, and the entry "librsync.so.1" from the line starting "rm -vf". Not the optimal solution, but I needed dropbox working yesterday for classwork. http://forums.dropbox.com/topic.php?id=45949&page=4&replies=100#post-406933
I've added new USE flag librsync-bundled to dropbox-1.2.51-r1 for workaround. Please try USE=librsync-bundled emerge -1 =dropbox-1.2.51-r1
(In reply to comment #24) > I've added new USE flag librsync-bundled to dropbox-1.2.51-r1 for workaround. > Please try USE=librsync-bundled emerge -1 =dropbox-1.2.51-r1 works for me, so far. Isn't a new USE flag a rather big change to fix things?
(In reply to comment #24) > I've added new USE flag librsync-bundled to dropbox-1.2.51-r1 for workaround. > Please try USE=librsync-bundled emerge -1 =dropbox-1.2.51-r1 I tried adding this to package.use =net-misc/dropbox-1.2.51-r1 librsync-bundled and got the same symptom: as soon as a change came in from dropbox central, the daemon quit.
(In reply to comment #26) > (In reply to comment #24) > > I've added new USE flag librsync-bundled to dropbox-1.2.51-r1 for workaround. > > Please try USE=librsync-bundled emerge -1 =dropbox-1.2.51-r1 > > I tried adding this to package.use > > =net-misc/dropbox-1.2.51-r1 librsync-bundled > > and got the same symptom: as soon as a change came in from dropbox central, the > daemon quit. Ahh, sorry about that, haven't got the 1.2.51-r1 ebuild yet. I'll try again when it shows up.
(In reply to comment #24) > I've added new USE flag librsync-bundled to dropbox-1.2.51-r1 for workaround. > Please try USE=librsync-bundled emerge -1 =dropbox-1.2.51-r1 I updated the packages and yes, adding this line =net-misc/dropbox-1.2.51-r1 librsync-bundled does appear to work. Thanks, and sorry for the brain fart.
Until this is fixed there is no sense on letting the fix work behind a (default off) USE flag -> bundled library should be used ALWAYS as the alternative simply makes dropbox to not work at all
+ 12 May 2012; Pacho Ramos <pacho@gentoo.org> dropbox-1.2.51-r2.ebuild: + Use bundled rsync by default (as previous versions) because dropbox completely + breaks when using system one (#404451). +
For dropbox currently available in the tree, the problem seems to be gone. I had some longer running tests with dropbox-2.4.x, others also seemed OK. Maybe it is time to close this bug?
(In reply to Pacho Ramos from comment #30) > + 12 May 2012; Pacho Ramos <pacho@gentoo.org> dropbox-1.2.51-r2.ebuild: > + Use bundled rsync by default (as previous versions) because dropbox > completely > + breaks when using system one (#404451). > + Did you try disabling the bundled USE flag?
Yes. The easiest way to reproduce my steps might be: root@machine # USE="-librsync-bundled" emerge dropbox user@machine # dropbox stop; dropbox start
This version is long-gone from ::gentoo