Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236730 - media-libs/libmtp-0.3.1 has problems transferring files from amarok
Summary: media-libs/libmtp-0.3.1 has problems transferring files from amarok
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 17:41 UTC by Roberto Bertolusso
Modified: 2008-09-25 12:31 UTC (History)
0 users

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 Roberto Bertolusso 2008-09-04 17:41:11 UTC
When syncronizing amarok with mtp device, 
media-libs/libmtp-0.3.1 fails to do it
media-libs/libmtp-0.3.0 works ok. 

Running amarok from a console, when syncronizing, at certain point slows down dramatically and quits sending files to the device.
From the console, the following messages appear:
PTP: Opening session
PTP: Sequence number mismatch 247 vs expected 248.
PTP: Sequence number mismatch 248 vs expected 249.
PTP: Sequence number mismatch 249 vs expected 250.
PTP: Sequence number mismatch 250 vs expected 251.
PTP: Sequence number mismatch 251 vs expected 252.
PTP: Sequence number mismatch 252 vs expected 253.
PTP: Sequence number mismatch 253 vs expected 254.
....

I first downgraded amarok to previous version, and no change on behaviour.
Then downgraded mptlib to 0.3.0 and it's working flawlessly.

Probably version 0.3.1 should be blocked and developers notified.

Reproducible: Always

Steps to Reproduce:
1. From amarok, connect to the device
2. Select from the collection say 100 files to transfer. Click transfer
3. After a while amarok stops sending the files and gets very slow.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-05 00:21:58 UTC
Please attach your emerge --info.
Comment 2 Roberto Bertolusso 2008-09-05 00:59:04 UTC
(In reply to comment #1)
> Please attach your emerge --info.
> 

# emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-tuxonice x86_64)
=================================================================
System uname: Linux-2.6.26-tuxonice-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-glibc2.2.5
Timestamp of tree: Thu, 04 Sep 2008 16:33:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.3-r4, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe"
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=k8 -mtune=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ansi apache2 arts asf avi berkdb bitmap-fonts blas blender-game bluetooth bonobo bootsplash branding bzip2 cairo ccs cdr cli cpudetection cracklib crypt cups curl dba dbus decss dga divx dri dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif gnome gpm gstreamer gtk hal hardened iconv id3tag imagemagick imagemagik imlib ipv6 isdnlog ithreads java jpeg kde kerberos lapack ldap libg++ libnotify mad midi mikmod mmx mmxext motif mp3 mp4 mpeg mpm-worker msn mtp mudflap multilib ncurses nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf pdflib perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection regex rtc samba scanner sdl session slang slp sndfile soap spell spl sse sse2 ssl startup-notification svg swat sysfs tcltk tcpd tetex tex threads threadsafe tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis wavpack wine wmf xine xinerama xml xorg xulrunner xv xvid xvmc 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-23 22:09:35 UTC
*loki_val looks around
We forgot about this one, it seems. Anyway...
Please report this upstream and add the URL to the upstream bug to the URL field of this bug. You'll probably be asked to provide device information, etc. If they already have a patch, we'll import it and close this bug.
Upstream issue tracker:
http://sourceforge.net/tracker/?group_id=158745&atid=809061
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-25 12:00:36 UTC
Resolving bug, hoping it's fixed with libmtp-0.3.2 which brought a slew of improvements for creative devices. Though we don't know if that's what you have cause you never told us :-)
Comment 5 Roberto Bertolusso 2008-09-25 12:31:55 UTC
Yes! It is a Creative Zen Vision:M 30GB. Sorry for not mentioning it!