Bug 133411 - Amarok crashes when an iPod (nano) is mounted
Summary: Amarok crashes when an iPod (nano) is mounted
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Collections/iPod iPhone (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 22:12 UTC by Vincent Ramos
Modified: 2011-12-20 11:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Ramos 2006-09-01 22:12:41 UTC
Version:           1.4.2 (gentoo: 1.4.2-r1) (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.6 Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8
OS:                Linux

Whenever Amarok is started *and* my iPod Nano is mounted (/dev/sdb2 on /media/ipod type vfat rw,noexec,nosuid,nodev,umask=0000; also tried with other options), it crashes (SIGSEGV). If my iPod is not already mounted, Amarok also crashes when I try to mount it with Amarok's interface (with mount command "mount /dev/sda2" or "mount /media/ipod").  If  my iPod is plugged but not mounted, Amarok, at startup, mounts it then crashes. In the three cases, after Amarok's crash, the iPod stays/gets mounted. This happens always like that: I've never been able not to make Amarok crash with my iPod mounted.

However, I can access my music with gtkpod or konqueror (kio_slaves "media:/" or "ipod:/" both work fine).

My compilation options for Amarok are: 
-aac -arts -debug -ifp +ipod +kde +linguas_fr (- all other linguas) +mysql -njb -noamazon +opengl -postgres +real +visualization -xinerama +xmms. 

Maybe relevant programs' versions:
-- hal 0.5.5.1;
-- udev 087;
-- hotplug 20040923;
-- dbus 0.61;
-- libgpod  0.3.2 (also tried with 0.3.0);
-- ipodslave 0.7.3;
-- Qt 3.3.4;
-- Amarok: also tried with 1.4.0.

dmesg when plugging the iPod:
usb 1-3: new high speed USB device using ehci_hcd and address 18
usb 1-3: configuration #1 chosen from 2 choices
scsi15 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 18
usb-storage: waiting for device to settle before scanning
  Vendor: Apple     Model: iPod              Rev: 1.62
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 1999872 512-byte hdwr sectors (1024 MB)
sdb: Write Protect is off
sdb: Mode Sense: 68 00 00 08
sdb: assuming drive cache: write through
SCSI device sdb: 1999872 512-byte hdwr sectors (1024 MB)
sdb: Write Protect is off
sdb: Mode Sense: 68 00 00 08
sdb: assuming drive cache: write through
 sdb: sdb1 sdb2
Attached scsi removable disk sdb at scsi15, channel 0, id 0, lun 0
usb-storage: device scan complete

Additionnal information from /var/log/message:
usb.agent[23618]: Keeping default configuration with /sys//devices/pci0000:00/0000:00:03.3/usb1/1-3
scsi.agent[23685]: disk at /devices/pci0000:00/0000:00:03.3/usb1/1-3/1-3:1.0/host17/target17:0:0/17:0:0:0

Here are the last lines of an strace of amarokapp (from the first "ipod"'s occurrence to the end; I can send the whole trace if needed):
access("/home/<user>/.kde/lib/kde3/libamarok_ipod-mediadevice.la", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/kde3/libamarok_ipod-mediadevice.la", R_OK) = 0
stat64("/usr/lib/kde3/libamarok_ipod-mediadevice.la", {st_mode=S_IFREG|0755, st_size=2359, ...}) = 0
open("/usr/lib/kde3/libamarok_ipod-mediadevice.la", O_RDONLY) = 17
fstat64(17, {st_mode=S_IFREG|0755, st_size=2359, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb3e99000
read(17, "# libamarok_ipod-mediadevice.la "..., 131072) = 2359
read(17, "", 131072)                    = 0
close(17)                               = 0
munmap(0xb3e99000, 131072)              = 0
open("/usr/lib/kde3/libamarok_ipod-mediadevice.so", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\314"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=119936, ...}) = 0
mmap2(NULL, 118476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e9c000
mmap2(0xb3eb8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x1c) = 0xb3eb8000
close(17)                               = 0
open("/usr/kde/3.5/lib/libgpod.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libgpod.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgpod.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgpod.so.0", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pI\0\000"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=148092, ...}) = 0
mmap2(NULL, 145980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e78000
mmap2(0xb3e9b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x23) = 0xb3e9b000
close(17)                               = 0
open("/usr/kde/3.5/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgdk_pixbuf-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P2\0\000"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=92532, ...}) = 0
mmap2(NULL, 94136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e61000
mmap2(0xb3e77000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x15) = 0xb3e77000
close(17)                               = 0
open("/usr/kde/3.5/lib/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgmodule-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgmodule-2.0.so.0", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\r\0"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=10316, ...}) = 0
mmap2(NULL, 12936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e5d000
mmap2(0xb3e60000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x2) = 0xb3e60000
close(17)                               = 0
open("/usr/kde/3.5/lib/libgobject-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libgobject-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libgobject-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgobject-2.0.so.0", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P^\0\000"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=210152, ...}) = 0
mmap2(NULL, 208556, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e2a000
mmap2(0xb3e5c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x32) = 0xb3e5c000
close(17)                               = 0
open("/usr/kde/3.5/lib/libdbus-glib-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libdbus-glib-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libdbus-glib-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdbus-glib-1.so.2", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240h\0"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=111496, ...}) = 0
mmap2(NULL, 113632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e0e000
mmap2(0xb3e29000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x1a) = 0xb3e29000
close(17)                               = 0
open("/usr/kde/3.5/lib/libhal.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libhal.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libhal.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libhal.so.1", O_RDONLY)  = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\36\0\000"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=30596, ...}) = 0
mmap2(NULL, 29172, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3e06000
mmap2(0xb3e0d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x7) = 0xb3e0d000
close(17)                               = 0
open("/usr/kde/3.5/lib/libdbus-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libdbus-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libdbus-1.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdbus-1.so.2", O_RDONLY) = 17
read(17, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pD\0\000"..., 512) = 512
fstat64(17, {st_mode=S_IFREG|0755, st_size=166992, ...}) = 0
mmap2(NULL, 167924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0) = 0xb3ddd000
mmap2(0xb3e05000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x27) = 0xb3e05000
close(17)                               = 0
open("/usr/kde/3.5/lib/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/qt/3/lib/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libglib-2.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libglib-2.0.so.0", O_RDONLY) = 18
read(18, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\300"..., 512) = 512
fstat64(18, {st_mode=S_IFREG|0755, st_size=552560, ...}) = 0
mmap2(NULL, 547472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 18, 0) = 0xb3d37000
mmap2(0xb3dbc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 18, 0x85) = 0xb3dbc000
close(18)                               = 0
gettimeofday({1157137970, 82421}, NULL) = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
write(3, "\n\0\2\0008\4\200\2\n\0\2\0=\4\200\2\f\0\4\0:\4\200\2@"..., 1268) = 1268
write(3, "\2\0\4\0E\4\200\2\2\0\0\0\377\377\377\377\2\0\4\0E\4\200"..., 72) = 72
gettimeofday({1157137970, 88402}, NULL) = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
gettimeofday({1157137970, 89138}, NULL) = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [17, 18]) = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(18, F_SETFD, FD_CLOEXEC)        = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [19, 20]) = 0
fcntl64(19, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
geteuid32()                             = 1000
pipe([21, 22])                          = 0
fork()                                  = 21510
close(18)                               = 0
close(20)                               = 0
close(22)                               = 0
read(21, "", 1)                         = 0
close(21)                               = 0
select(20, [7 17 19], NULL, NULL, NULL) = 2 (in [17 19])
--- SIGCHLD (Child exited) @ 0 (0) ---
write(8, "\0", 1)                       = 1
sigreturn()                             = ? (mask now [RTMIN])
read(17, "", 1024)                      = 0
close(17)                               = 0
read(19, "", 1024)                      = 0
close(19)                               = 0
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, "\0", 16)                       = 1
waitpid(21510, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 21510
write(8, "\0", 1)                       = 1
open("/etc/mtab", O_RDONLY)             = 17
fstat64(17, {st_mode=S_IFREG|0644, st_size=786, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb40b8000
read(17, "/dev/hda5 / ext3 rw,noatime,acl "..., 4096) = 786
read(17, "", 4096)                      = 0
close(17)                               = 0
munmap(0xb40b8000, 4096)                = 0
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
access("/media/ipod/iPod_Control", F_OK) = 0
access("/media/ipod/iPod_Control/iTunes", F_OK) = 0
access("/media/ipod/iPod_Control/iTunes/iTunesDB", F_OK) = 0
access("/media/ipod/iPod_Control/iTunes/iTunesDB", F_OK) = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 17
fstat64(17, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
ioctl(17, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb987c0) = -1 EINVAL (Invalid argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb40b8000
read(17, "\251\266\305\316(\16\305/\372\"\314\310\265\n\362{3T\31"..., 4096) = 4096
close(17)                               = 0
munmap(0xb40b8000, 4096)                = 0
open("/media/ipod/iPod_Control/iTunes/iTunesDB", O_RDONLY|O_LARGEFILE) = 17
fstat64(17, {st_mode=S_IFREG|0777, st_size=1288, ...}) = 0
read(17, "mhbdh\0\0\0\10\5\0\0\1\0\0\0\r\0\0\0\2\0\0\0\0\0\0\0\0"..., 1288) = 1288
close(17)                               = 0
access("/media/ipod/iPod_Control/iTunes/Play Counts", F_OK) = -1 ENOENT (No such file or directory)
open("/media/ipod/iPod_Control/iTunes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 17
fstat64(17, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
getdents64(17, /* 7 entries */, 4096)   = 216
getdents64(17, /* 0 entries */, 4096)   = 0
close(17)                               = 0
access("/media/ipod/iPod_Control/iTunes/iTunesStats", F_OK) = -1 ENOENT (No such file or directory)
open("/media/ipod/iPod_Control/iTunes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 17
fstat64(17, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
getdents64(17, /* 7 entries */, 4096)   = 216
getdents64(17, /* 0 entries */, 4096)   = 0
close(17)                               = 0
gettimeofday({1157137970, 667515}, NULL) = 0
gettimeofday({1157137970, 667774}, NULL) = 0
access("/media/ipod/iPod_Control/iTunes/OTGPlaylistInfo", F_OK) = -1 ENOENT (No such file or directory)
open("/media/ipod/iPod_Control/iTunes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 17
fstat64(17, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
getdents64(17, /* 7 entries */, 4096)   = 216
getdents64(17, /* 0 entries */, 4096)   = 0
close(17)                               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 17
connect(17, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"}, 33) = 0
fcntl64(17, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(17, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(17, F_GETFD)                    = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
getuid32()                              = 1000
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
poll([{fd=17, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
write(17, "\0", 1)                      = 1
write(17, "AUTH EXTERNAL 31303030\r\n", 24) = 24
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(17, "OK 2285f844aa50cbfe05e92fe1000be"..., 2048) = 37
poll([{fd=17, events=POLLOUT, revents=POLLOUT}], 1, -1) = 1
write(17, "BEGIN\r\n", 7)               = 7
poll([{fd=17, events=POLLIN|POLLOUT, revents=POLLOUT}], 1, -1) = 1
writev(17, [{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 128}, {"", 0}], 2) = 128
gettimeofday({1157137970, 686098}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\t\0\0\0\1\0\0\0=\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 258
read(17, 0x8502c18, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\30\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org"..., 144}, {"\23\0\0\0org.freedesktop.Hal\0", 24}], 2) = 168
gettimeofday({1157137970, 687809}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0\3\0\0\0=\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 84
read(17, 0x8502c18, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1{\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/f"..., 144}, {"v\0\0\0type=\'signal\',interface=\'org"..., 123}], 2) = 267
gettimeofday({1157137970, 688658}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\0\0\0\0\4\0\0\0005\0\0\0\6\1s\0\4\0\0\0:1.2\0\0"..., 2048) = 72
read(17, 0x8502c18, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\0\0\0\0\4\0\0\0\206\0\0\0\1\1o\0\34\0\0\0/org/"..., 152}, {"", 0}], 2) = 152
gettimeofday({1157137970, 689840}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\366\22\0\0g\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0"..., 2048) = 2048
read(17, "m_floppy_0_storage\0\0.\0\0\0/org/fre"..., 2048) = 2048
gettimeofday({1157137970, 690190}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "/org/freedesktop/Hal/devices/net"..., 2048) = 822
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1$\0\0\0\5\0\0\0\230\0\0\0\1\1o\0\34\0\0\0/org/f"..., 168}, {"\f\0\0\0block.device\0\0\0\0\v\0\0\0/media/i"..., 36}], 2) = 204
gettimeofday({1157137970, 692423}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0h\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1(\0\0\0\6\0\0\0\230\0\0\0\1\1o\0\34\0\0\0/org/f"..., 168}, {"\22\0\0\0volume.mount_point\0\0\v\0\0\0/med"..., 40}], 2) = 208
gettimeofday({1157137970, 693589}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1;\0\0\0i\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0\0"..., 2048) = 123
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\0017\0\0\0\7\0\0\0\217\0\0\0\1\1o\0\34\0\0\0/org"..., 160}, {"2\0\0\0/org/freedesktop/Hal/devices"..., 55}], 2) = 215
gettimeofday({1157137970, 694569}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0j\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\26\0\0\0\10\0\0\0\247\0\0\0\1\1o\0002\0\0\0/or"..., 184}, {"\21\0\0\0volume.is_mounted\0", 22}], 2) = 206
gettimeofday({1157137970, 695457}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0k\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\26\0\0\0\t\0\0\0\257\0\0\0\1\1o\0002\0\0\0/org"..., 192}, {"\21\0\0\0volume.is_mounted\0", 22}], 2) = 214
gettimeofday({1157137970, 696348}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0l\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\21\0\0\0\n\0\0\0\247\0\0\0\1\1o\0002\0\0\0/org"..., 184}, {"\f\0\0\0block.device\0", 17}], 2) = 201
gettimeofday({1157137970, 697112}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0m\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\21\0\0\0\v\0\0\0\257\0\0\0\1\1o\0002\0\0\0/org"..., 192}, {"\f\0\0\0block.device\0", 17}], 2) = 209
gettimeofday({1157137970, 697984}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\16\0\0\0n\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 78
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\27\0\0\0\f\0\0\0\247\0\0\0\1\1o\0002\0\0\0/org"..., 184}, {"\22\0\0\0volume.mount_point\0", 23}], 2) = 207
gettimeofday({1157137970, 698763}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0o\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\27\0\0\0\r\0\0\0\257\0\0\0\1\1o\0002\0\0\0/org"..., 192}, {"\22\0\0\0volume.mount_point\0", 23}], 2) = 215
gettimeofday({1157137970, 699495}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\20\0\0\0p\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 80
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\20\0\0\0\16\0\0\0\247\0\0\0\1\1o\0002\0\0\0/or"..., 184}, {"\v\0\0\0volume.size\0", 16}], 2) = 200
gettimeofday({1157137970, 700307}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0q\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\20\0\0\0\17\0\0\0\257\0\0\0\1\1o\0002\0\0\0/or"..., 192}, {"\v\0\0\0volume.size\0", 16}], 2) = 208
gettimeofday({1157137970, 701191}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\10\0\0\0r\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 72
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\20\0\0\0\20\0\0\0\247\0\0\0\1\1o\0002\0\0\0/or"..., 184}, {"\v\0\0\0volume.uuid\0", 16}], 2) = 200
gettimeofday({1157137970, 701922}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0s\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\20\0\0\0\21\0\0\0\257\0\0\0\1\1o\0002\0\0\0/or"..., 192}, {"\v\0\0\0volume.uuid\0", 16}], 2) = 208
gettimeofday({1157137970, 702610}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\16\0\0\0t\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 78
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\21\0\0\0\22\0\0\0\247\0\0\0\1\1o\0002\0\0\0/or"..., 184}, {"\f\0\0\0volume.label\0", 17}], 2) = 201
gettimeofday({1157137970, 703407}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\4\0\0\0u\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 68
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
writev(17, [{"l\1\0\1\21\0\0\0\23\0\0\0\257\0\0\0\1\1o\0002\0\0\0/or"..., 192}, {"\f\0\0\0volume.label\0", 17}], 2) = 209
gettimeofday({1157137970, 704129}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\2\1\1\t\0\0\0v\1\0\0-\0\0\0\6\1s\0\4\0\0\0:1.2\0\0\0"..., 2048) = 73
read(17, 0x8503920, 2048)               = -1 EAGAIN (Resource temporarily unavailable)
open("/media/ipod/iPod_Control/iTunes/DeviceInfo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/ipod", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 18
fstat64(18, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(18, F_SETFD, FD_CLOEXEC)        = 0
getdents64(18, /* 6 entries */, 4096)   = 176
stat64("/media/ipod/iPod_Control", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 19
fstat64(19, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(19, F_SETFD, FD_CLOEXEC)        = 0
getdents64(19, /* 6 entries */, 4096)   = 176
stat64("/media/ipod/iPod_Control/iTunes", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/iTunes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 20
fstat64(20, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
getdents64(20, /* 7 entries */, 4096)   = 216
stat64("/media/ipod/iPod_Control/iTunes/firsttime", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/firsttime", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesDB", {st_mode=S_IFREG|0777, st_size=1288, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesDB", {st_mode=S_IFREG|0777, st_size=1288, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesSD", {st_mode=S_IFREG|0777, st_size=18, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesSD", {st_mode=S_IFREG|0777, st_size=18, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesDB.ext", {st_mode=S_IFREG|0777, st_size=77, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesDB.ext", {st_mode=S_IFREG|0777, st_size=77, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/Play Counts.bak", {st_mode=S_IFREG|0777, st_size=5584, ...}) = 0
stat64("/media/ipod/iPod_Control/iTunes/Play Counts.bak", {st_mode=S_IFREG|0777, st_size=5584, ...}) = 0
getdents64(20, /* 0 entries */, 4096)   = 0
close(20)                               = 0
stat64("/media/ipod/iPod_Control/Device", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Device", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 20
fstat64(20, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
getdents64(20, /* 7 entries */, 4096)   = 208
stat64("/media/ipod/iPod_Control/Device/SysInfo", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/SysInfo", {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/Preferences", {st_mode=S_IFREG|0777, st_size=2912, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/Preferences", {st_mode=S_IFREG|0777, st_size=2912, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/clock", {st_mode=S_IFREG|0777, st_size=133, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/clock", {st_mode=S_IFREG|0777, st_size=133, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/radio", {st_mode=S_IFREG|0777, st_size=128, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/radio", {st_mode=S_IFREG|0777, st_size=128, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/timer", {st_mode=S_IFREG|0777, st_size=140, ...}) = 0
stat64("/media/ipod/iPod_Control/Device/timer", {st_mode=S_IFREG|0777, st_size=140, ...}) = 0
getdents64(20, /* 0 entries */, 4096)   = 0
close(20)                               = 0
stat64("/media/ipod/iPod_Control/Accessories", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Accessories", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 20
fstat64(20, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
getdents64(20, /* 2 entries */, 4096)   = 48
getdents64(20, /* 0 entries */, 4096)   = 0
close(20)                               = 0
stat64("/media/ipod/iPod_Control/Music", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 20
fstat64(20, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
getdents64(20, /* 22 entries */, 4096)  = 528
stat64("/media/ipod/iPod_Control/Music/f00", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f00", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f01", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f01", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f02", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f02", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f03", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f03", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f04", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f04", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f05", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f05", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f06", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f06", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f07", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f07", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f08", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f08", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f09", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f09", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f10", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f10", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f11", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f11", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f12", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f12", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f13", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f13", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f14", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f14", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f15", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f15", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f16", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f16", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f17", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f17", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f18", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f18", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
stat64("/media/ipod/iPod_Control/Music/f19", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Music/f19", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
getdents64(21, /* 2 entries */, 4096)   = 48
getdents64(21, /* 0 entries */, 4096)   = 0
close(21)                               = 0
getdents64(20, /* 0 entries */, 4096)   = 0
close(20)                               = 0
getdents64(19, /* 0 entries */, 4096)   = 0
close(19)                               = 0
stat64("/media/ipod/Contacts", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/Contacts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 19
fstat64(19, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(19, F_SETFD, FD_CLOEXEC)        = 0
getdents64(19, /* 4 entries */, 4096)   = 152
stat64("/media/ipod/Contacts/ipod_created_instructions.vcf", {st_mode=S_IFREG|0777, st_size=104, ...}) = 0
stat64("/media/ipod/Contacts/ipod_created_instructions.vcf", {st_mode=S_IFREG|0777, st_size=104, ...}) = 0
stat64("/media/ipod/Contacts/ipod_created_sample.vcf", {st_mode=S_IFREG|0777, st_size=676, ...}) = 0
stat64("/media/ipod/Contacts/ipod_created_sample.vcf", {st_mode=S_IFREG|0777, st_size=676, ...}) = 0
getdents64(19, /* 0 entries */, 4096)   = 0
close(19)                               = 0
stat64("/media/ipod/Calendars", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/Calendars", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 19
fstat64(19, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(19, F_SETFD, FD_CLOEXEC)        = 0
getdents64(19, /* 2 entries */, 4096)   = 48
getdents64(19, /* 0 entries */, 4096)   = 0
close(19)                               = 0
stat64("/media/ipod/Notes", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/Notes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 19
fstat64(19, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
fcntl64(19, F_SETFD, FD_CLOEXEC)        = 0
getdents64(19, /* 3 entries */, 4096)   = 80
stat64("/media/ipod/Notes/Instructions", {st_mode=S_IFREG|0777, st_size=14, ...}) = 0
stat64("/media/ipod/Notes/Instructions", {st_mode=S_IFREG|0777, st_size=14, ...}) = 0
getdents64(19, /* 0 entries */, 4096)   = 0
close(19)                               = 0
getdents64(18, /* 0 entries */, 4096)   = 0
close(18)                               = 0
stat64("/media/ipod/iPod_Control/iTunes", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/iTunes/iTunesDB", O_RDWR|O_APPEND|O_CREAT, 0666) = 18
close(18)                               = 0
stat64("/media/ipod/iPod_Control/iTunes/iTunesDB", {st_mode=S_IFREG|0777, st_size=1288, ...}) = 0
stat64("/media/ipod/iPod_Control/Music", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
open("/media/ipod/iPod_Control/Device/SysInfo", O_RDONLY) = 18
fstat64(18, {st_mode=S_IFREG|0777, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb40b8000
read(18, "", 4096)                      = 0
close(18)                               = 0
munmap(0xb40b8000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
fork()                                  = 21512
alarm(0)                                = 0
waitpid(21512, NULL, 0)                 = 21512
--- SIGCHLD (Child exited) @ 0 (0) ---
write(8, "\0", 1)                       = 1
sigreturn()                             = ? (mask now [SEGV RTMIN])
exit_group(253)                         = ?

Thanks.
Comment 1 Vincent Ramos 2006-09-01 22:14:01 UTC
Forgot to mention that the current version of Amarok used is 1.4.2.
Comment 2 Seb Ruiz 2006-09-02 01:20:33 UTC
strace isn't so helpful.  Can you get a backtrace with gdb please.
Comment 3 Vincent Ramos 2006-09-02 01:36:04 UTC
I'm afraid I don't know how to use gdb correctly (or, at least, something is missing); all I get is this:

(no debugging symbols found)
[repeted]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26001)]
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
[New Thread 32769 (LWP 26003)]
[New Thread 16386 (LWP 26004)]
[Thread 16386 (LWP 26004) exited]

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 16384 (LWP 26001)]
0xb3d7cf85 in g_strdup () from /usr/lib/libglib-2.0.so.0

When starting Amarok crashes, I get this mail to send:
======== DEBUG INFORMATION  =======
Version:    1.4.2
Engine:     xine-engine
Build date: Sep  1 2006
CC version: 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
KDElibs:    3.5.2
Qt:         3.3.4
TagLib:     1.4.0
CPU count:  1
NDEBUG:     true
==== file `which amarokapp` =======
/usr/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 26048)]
[New Thread 32769 (LWP 26050)]
0xb5fd783b in waitpid () from /lib/libpthread.so.0
#0  0xb5fd783b in waitpid () from /lib/libpthread.so.0
#1  0x08064870 in ?? ()
#2  0x00000000 in ?? ()
#0  0xb5fd783b in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x08064870 in ?? ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 2 (Thread 32769 (LWP 26050)):
#0  0xb5c92b7a in poll () from /lib/libc.so.6
#1  0xb5fd0a37 in __pthread_manager () from /lib/libpthread.so.0
#2  0xb5c9ad4a in clone () from /lib/libc.so.6
Thread 1 (Thread 16384 (LWP 26048)):
#0  0xb5fd783b in waitpid () from /lib/libpthread.so.0
#1  0x08064870 in ?? ()
#2  0x00000000 in ?? ()
#0  0xb5fd783b in waitpid () from /lib/libpthread.so.0


==== kdBacktrace() ================
[Nothing else]
Comment 4 Alexandre Oliveira 2006-09-02 01:43:27 UTC
"Program received signal SIGSEGV, Segmentation fault."
You should use the "bt" command at this point.
Comment 5 Vincent Ramos 2006-09-02 01:53:31 UTC
OK, thanks. I get: 
0xb3d8af85 in g_strdup () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb3d8af85 in g_strdup () from /usr/lib/libglib-2.0.so.0
#1  0xb3eabb4a in ?? () from /usr/lib/libgpod.so.0
#2  0xb3eabb4a in ?? () from /usr/lib/libgpod.so.0
#3  0xb3eabb4a in ?? () from /usr/lib/libgpod.so.0
#4  0xb3ead5b4 in ?? () from /usr/lib/libgpod.so.0
#5  0x00000000 in ?? ()

So, I guess the problem comes from libgpod. I'm running 0.3.2 (gentoo: 0.3.2-r1) and have already tried with 0.3.0 (0.3.2 and 0.3.2-r1 are masked).
Comment 6 Vincent Ramos 2006-09-02 01:57:49 UTC
Looking around in libgpod's documentation, I've found this:
"gtkpod crashes when reading the iTunesDB (Fedora)

It appears that crashes were observed with kernel version
2.6.11-1.35_FC3. An upgrade to 2.6.12-1.1376_FC3 got rid of the
problem. This was with gtkpod-0.94.0 and Athlon64 3000+."
<http://www.gtkpod.org/TROUBLESHOOTING>

It's not really my problem: my kernel is 2.6.15 (gentoo: 2.6.15-r1) and gtkpod is running fine with my iPod.
Comment 7 Vincent Ramos 2006-09-02 16:30:25 UTC
As in Bug 123404 <http://bugs.kde.org/show_bug.cgi?id=123404>, it's a Hal problem: Amarok doesn't crash anymore if I stop hal before launching it. I'm using version 0.5.5.1 of Hal.

It may be interesting to inform users that they need > 0.5.5.1 to make iPod's interface work (and to avoid crashes).

I'll upgrade Hal ASAP (I need to compile a more recent kernel for that) and will post the results here.
Comment 8 Vincent Ramos 2006-09-03 11:05:45 UTC
I upgraded Hal to 0.5.7 a few hours ago. Amarok still crashes if Hal is running and my iPod is plugged.

I have no other idea of what may be the problem between Hal and Amarok.
Comment 9 Martin Aumueller 2006-09-06 05:01:55 UTC
Does gtkpod work? Do you use a 64bit system?
Comment 10 Vincent Ramos 2006-09-06 14:07:33 UTC
Yes, gtkpod does work fine, either with or without hal running. I do not use a 64bit system (uname -a --> Linux goun 2.6.15-gentoo-r1 #1 SMP Sun Sep 3 03:24:47 CEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux).
Comment 11 Christian Schafmeister 2006-09-23 12:46:29 UTC
I had the same problem with my Gentoo system. 

I re-emerged the hal ebuild (sys-apps/hal-0.5.7-r3) and upgraded to libgpod-0.3.2. 
Then I restarted hald (/etc/init.d/hald restart) and now everything works fine. It really seems to be a hald problem. The strange thing: when I stop hald ... amarok crashes again ... strange bug anyway...
Comment 12 Vincent Ramos 2006-09-23 14:34:11 UTC
I already use libgpod-0.3.2(-r1) and hal-0.5.7(-r3) (see comment #8). I could try with masked versions of hal (~0.5.7.1 ~0.5.7.1-r1).
Comment 13 Martin Aumueller 2006-09-25 23:33:34 UTC
This is a libgpod problem: your ipod firmware is rather new and only creates an empty iPod_Control/Device/SysInfo file. Upgrading to libgpod 0.4.0 should fix this problem.
Comment 14 Vincent Ramos 2006-09-26 00:06:56 UTC
I'll try that.
Comment 15 Vincent Ramos 2006-09-26 06:53:16 UTC
It stops crashing libgpod 0.4.0.
Comment 16 Martin Aumueller 2006-09-26 09:44:12 UTC
Thank you for the feedback!
Comment 17 Vincent Ramos 2006-09-26 18:42:13 UTC
*Update*

In fact, neither does it crash anymore nor does it *work* anymore... Files copied to the iPod with Amarok cannot be listened anymore (but are displayed in the iPod's own menus). They get classified as "orphan" when I use the "reparation" function of Amarok.

It's worse than before: I'll have to downgrade libgpod. I still do not know whether it's a libgpod or an Amarok issue.

Comment 18 Vincent Ramos 2006-09-26 20:29:06 UTC
I've tried many versions of libgpod: 
-- 0.3.0: makes Amarok crash, whether hal is running or not;
-- 0.3.2-r1: works nicely only if hal is not running;
-- 0.4.0: does not make Amarok crash (whether hal is running or not) but the database is not valid and the files will not be played.

So, I think it's definitively a libgpod issue, not an Amarok's one. The bug may be closed. I thank every person who's tried to help me find a way to make me use my iPod with Amarok, which I do really love.
Comment 19 Martin Aumueller 2006-09-27 11:12:38 UTC
Could you please help fixing libgpod? To do this, please send an email to gtkpod-devel@lists.sourceforge.net and include:
- a description of your problem, including all related information and versions of the involved software
- the versions of libgpod versions you tried and with what level of success
- the contents of your iPod_Control/Device/SysInfo file on your ipod - if it should be empty, then please state this
- the version of your ipod firmware
- a description of your ipod model
Comment 20 Martin Aumueller 2006-09-27 12:34:09 UTC
I can't remember if I mentioned this: you absolutely have to recompile amarok after upgrading/downgrading libgpod.
Comment 21 Vincent Ramos 2006-09-27 14:29:48 UTC
I hadn't recompiled Amarok after having upgraded/downgraded libgpod. 

I'll try again. 
Comment 22 Vincent Ramos 2006-09-27 16:50:24 UTC
Yeah! It works: libgpod-0.4.0 and a freshly recompiled amarok-1.4.3-r1. Neither crashes nor orphan files.

Thank you, Martin, for your wise advices. This bug may be definitively closed.

P.-S. No need, IMHO, to send a bug report to gtkpod-devel.
Comment 23 Valent Turkovic 2006-12-20 11:03:27 UTC
I now use libgpod 0.3 and amarok 1.4.4 and it doesn't crash anymore!

Be carefull because when using libgpod 0.4 because when I tested it for my fedora core 6 from freshrpms it didn't crash but all songs I transfered with amarok to my ipod nano wouldn't play!!! There is somwwhere a serious bug, in libgpod or in amarok!
Comment 24 Martin Aumueller 2006-12-20 12:59:41 UTC
To #23: this report is completely unrelated to the original reporter's problem.
And the problems are neither because of bugs in Amarok nor in libgpod, but because of using a different version of the libgpod library than the one Amarok was compiled with.