Bug 7672

Summary: madman не находит файлы
Product: Sisyphus Reporter: Vladimir V. Kamarzin <vvk>
Component: madmanAssignee: Nick S. Grechukh <gns>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
пофиксил
none
исправленный патч
none
madman-0.93-gns-scanfix2.patch none

Description Vladimir V. Kamarzin 2005-08-14 11:16:05 MSD
Сабж внезапно перестал находить новые файлы при попытке сканирования. При
создании  базы заново, выяснилось, что он не находит вообще ни одного файла. При
запуске под strace видно только одно обращение к директории с музыкой:

open("/home/music", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=1936, ...}) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40f2f000
getdents64(10, /* 61 entries */, 131072) = 2168
gettimeofday({1124002767, 114954}, NULL) = 0
write(4, "\22\0\30\0\350\2 \2(\0\0\0)\0\0\0 \0\23\0\22\0\0\0\n\2"..., 216) = 216
read(4, "\22\0U#-\1 \2-\1 \2\0\235\n\t-\1 \2\0\0\0\0\30/\376\277"..., 32) = 32
read(4, "\n\3U#-\1 \2\2\0\0\0\2\0\0\0p\360=\10\340.\376\277\370"..., 32) = 32
read(4, "\t\3U#\1\0 \2\2-\376\277U\r\f\10\30\353\231\10\300\312"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\f2U#,\1 \2\3\0\26\0\333\0\4\0\0\0\0\0\20\2379\10\310-"..., 32) = 32
read(4, "\f2U#g\0 \2\3\0\0\0\333\0\2\0\0\0\0\0\20\2379\10\310-\376"..., 32) = 32
read(4, "\f\377U#j\0 \2\1\0\0\0\333\0\2\0\1\0\336\377\240-\376\277"..., 32) = 32
read(4, "\f2U#j\0 \2\1\0\2\0\1\0\270\0\0\0\0\0\20\2379\10\310-\376"..., 32) = 32
read(4, "\f\377U#k\0 \2\0\0\0\0\332\0\2\0\1\0\336\377\240-\376\277"..., 32) = 32
read(4, "\f2U#k\0 \2\0\0\2\0\2\0\266\0\0\0\0\0\20\2379\10\310-\376"..., 32) = 32
read(4, "\f2U#n\0 \2\0\0\0\0\330\0\266\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f\262U#\257\0 \2\3\0\0\0\333\0\1\0\2\0\0\0\0\4\0\3\030"..., 32) = 32
read(4, "\f\377U#\257\0 \2\t\0\1\0\1\0\36\0\1\0\336\377\240-\376"..., 32) = 32
read(4, "\f2U#\257\0 \2\3\0\37\0\333\0\1\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\274\0 \2\0\0\0\0\20\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\273\0 \2\0\0\0\0\10\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\272\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\271\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\270\0 \2\0\0\0\0\10\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\267\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\266\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\265\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\264\0 \2\0\0\0\0\36\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\f2U#\247\0 \2\2\0\0\0\6\0\36\0\0\0\0\0\20\2379\10\310"..., 32) = 32
read(4, "\10\3U#\214\27c1\216\0\0\0-\1 \2\0\0\0\0I\0\267\0F\0\216"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0\1\0 \2g\0 \2I\0\267\0I\0\244"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0g\0 \2h\0 \2I\0\267\0I\0j\0\20"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0h\0 \2i\0 \2I\0\267\0G\0h\0\20"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0i\0 \2j\0 \2I\0\267\0G\0h\0\20"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0j\0 \2k\0 \2I\0\267\0G\0h\0\20"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\4U#\214\27c1\216\0\0\0k\0 \2n\0 \2I\0\267\0E\0f\0\20"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\7\3U#\214\27c1\216\0\0\0n\0 \2\0\0\0\0I\0\267\0C\0d\0"..., 32) = 32
read(4, "\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\34.\345#\350\2 \2(\0\0\0\220\27c1\0\2 \2H\235\n\t\350"..., 32) = 32
read(4, "\34.\347#\350\2 \2(\0\0\0\220\27c1\0\0\0\0\220\27c1\350"..., 32) = 32
read(4, "\26\0\350#\353\2 \2\353\2 \2\352\2 \2z\0<\0D\0\30\0\0\0"..., 32) = 32
read(4, "\26\0\351#\351\2 \2\351\2 \2\0\0\0\0\n\0\0\0\264\0\31\0"..., 32) = 32
read(4, "\26\0\352#\352\2 \2\352\2 \2\351\2 \2\n\0\35\0\264\0\27"..., 32) = 32
read(4, "\21\213\353#\353\2 \2\353\2 \2\0\0\0\0\34.\347#\350\2 "..., 32) = 32
read(4, "\34.\354#\350\2 \2(\0\0\0\220\27c1\0\2 \2H\235\n\t\350"..., 32) = 32
read(4, "\34.\356#\350\2 \2(\0\0\0\220\27c1\0\0\0\0\220\27c1\350"..., 32) = 32
read(4, "\34.\357#\350\2 \2\205\1\0\0\224\27c1\0\2 \2p\360=\10\350"..., 32) = 32
read(4, "\26\0\357#\350\2 \2\350\2 \2-\1 \2\0\1\346\0\310\0Z\0\0"..., 32) = 32
read(4, "\26\0\357#\350\2 \2\350\2 \2-\1 \2\0\1\346\0\310\0>\0\0"..., 32) = 32
read(4, "\34.\360#\350\2 \2(\0\0\0\224\27c1\0\2 \2H\235\n\t\350"..., 32) = 32
read(4, "\34.\361#\350\2 \2(\0\0\0\224\27c1\0\0\0\0\224\27c1\350"..., 32) = 32
read(4, "\1 \362#\4\0\0\0\6\0\0\0@\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\0\0\0\0\0\0\0\0\0\4\0\0\347\2\0\0", 16) = 16
write(4, "\17\0\2\0\1\0 \2", 8)         = 8
read(4, "\1\0\363#\10\0\0\0\216\0\0\0\252T\v\1\10\0\0\0\0\0\0\0"..., 32) = 32
read(4, "\5\0 \2\6\0 \2\7\0 \2\10\0 \2\t\0 \2g\0 \2d\0 \2,\1 \2"..., 32) = 32
write(4, "\24\0\6\0\252T\v\1\31\1\0\0\6\0\0\0\0\0\0\0\1\0\0\0", 24) = 24
read(4, "\1\0\364#\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0"..., 32) = 32
write(4, "\17\0\2\0\252T\v\1", 8)       = 8
read(4, "\1\0\365#\1\0\0\0\216\0\0\0\251T\v\1\1\0\0\0\0\0\0\0(\0"..., 32) = 32
read(4, "\1\0 \2", 4)                   = 4
write(4, "\24\0\6\0\251T\v\1\31\1\0\0\6\0\0\0\0\0\0\0\1\0\0\0", 24) = 24
read(4, "\1\0\366#\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0"..., 32) = 32
write(4, "\17\0\2\0\251T\v\1", 8)       = 8
read(4, "\1\0\367#\3\0\0\0\216\0\0\0\216\0\0\0\3\0\0\0\0\0\0\0("..., 32) = 32
read(4, "\271T\v\1\252T\v\1b\2\0\2", 12) = 12
write(4, "(\0\4\0\252T\v\1\251T\v\1\0\0\0\0", 16) = 16
read(4, "\1\1\370#\0\0\0\0\252T\v\1\0\0\23\0\0\0\0\0\0\0\0\0(\0"..., 32) = 32
write(4, "\3\0\2\0\251T\v\1\16T\2\0\251T\v\1", 16) = 16
read(4, "\1\0\371#\3\0\0\0!\0\0\0\1\0\0\1\377\377\377\377\0\0\0"..., 32) = 32
read(4, "\177\340{\0\0\0\0\0\0\0\215\10", 12) = 12
read(4, "\1\30\372#\0\0\0\0\216\0\0\0\0\0\0\0\0\4\347\2\0\0\0\0"..., 32) = 32
write(4, "(\0\4\0\1\0 \2\216\0\0\0\0\0\0\0", 16) = 16
read(4, "\1\1\373#\0\0\0\0\251T\v\1\0\0\23\0\0\0\0\0\0\0\0\0(\0"..., 32) = 32
write(4, "\22\0\30\0\350\2 \2(\0\0\0)\0\0\0 \0\0\0\22\0\0\0\17\2"..., 148) = 148
read(4, 0xbff2ed70, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\34.\374#\350\2 \2(\0\0\0\230\27c1\0\2 \2H\235\n\t\350"..., 32) = 32
read(4, "\1 \376#\t\0\0\0#\0\0\0\0\0\0\0\t\0\0\0\0\0\0\0d\204\244"..., 32) = 32
read(4, "C\0\0\0\1\0\0\0\1\0\0\0\3148(@ \347!\10@X\'\0100\362\362"..., 36) = 36
write(4, "\22\0\17\0\350\2 \2#\0\0\0#\0\0\0 \0\0\0\t\0\0\0g\0\0\0"..., 84) = 84
read(4, "\26\0\376#\350\2 \2\350\2 \2-\1 \2\222\0016\1\310\0>\0"..., 32) = 32
read(4, "\34.\377#\350\2 \2#\0\0\0\230\27c1\0\0\0\0\230\27c1\350"..., 32) = 32
read(4, "\23\0\0$\351\2 \2\351\2 \2\0\235\n\t\351\2 \2\0\0\0\0\30"..., 32) = 32
read(4, "\23\0\1$\352\2 \2\352\2 \2\0\235\n\t\352\2 \2\0\0\0\0\30"..., 32) = 32
read(4, "\1\235\2$\2\0\0\0\216\0\0\0\216\0\0\0\2\0\n\t\0\0\0\000"..., 32) = 32
read(4, "\351\2 \2\352\2 \2", 8)        = 8
write(4, "(\0\4\0\350\2 \2\350\2 \2\0\0\0\0", 16) = 16
read(4, "\1\1\3$\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0(\0\0\0"..., 32) = 32
write(4, "\3\0\2\0\350\2 \2\16\2\2\0\350\2 \2", 16) = 16
read(4, "\1\0\4$\3\0\0\0!\0\0\0\1\0\1\1\377\377\377\377\0\0\0\0"..., 32) = 32
read(4, "\177\340b\0\177\340b\0\0\0\215\10", 12) = 12
read(4, "\1\30\5$\0\0\0\0\216\0\0\0\222\0016\1\310\0>\0\0\0\0\0"..., 32) = 32
write(4, "\22\0\30\0\350\2 \2(\0\0\0)\0\0\0 \0\0\0\22\0\0\0\17\2"..., 120) = 120
read(4, "\34.\6$\350\2 \2(\0\0\0\232\27c1\0\0\0\0\232\27c1\350."..., 32) = 32
read(4, "\1 \7$\t\0\0\0#\0\0\0\0\0\0\0\t\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
read(4, "g\0\0\0\1\0\0\0\1\0\0\0\n\0 \2 \347!\10@X\'\0100\362\362"..., 36) = 36
gettimeofday({1124002767, 123420}, NULL) = 0
brk(0x82ef000)                          = 0x82ef000
brk(0x82f6000)                          = 0x82f6000
brk(0x82f7000)                          = 0x82f7000
brk(0x82f8000)                          = 0x82f8000
brk(0x82f9000)                          = 0x82f9000
brk(0x82fa000)                          = 0x82fa000
brk(0x82fb000)                          = 0x82fb000
brk(0x82fc000)                          = 0x82fc000
open("/usr/share/fonts/default/TrueType-ms/verdanab.ttf", O_RDONLY) = 11
Comment 1 Nick S. Grechukh 2005-08-17 18:59:21 MSD
Created attachment 1057 [details]
пофиксил

в сизиф пока не выкладываю, т.к. там есть и другие проблемы. залью уже все
сразу.
Comment 2 Nick S. Grechukh 2005-08-17 19:05:16 MSD
Created attachment 1058 [details]
исправленный патч

упс. не то продифил.
Comment 3 Vladimir V. Kamarzin 2005-08-18 14:38:39 MSD
Created attachment 1061 [details]
madman-0.93-gns-scanfix2.patch

Гм. Твой патч у меня прикладываться отказался, пришлось маленько поправить.
Comment 4 Nick S. Grechukh 2005-08-19 15:11:44 MSD
резолвед