Re: gnome-pilot and pilot-xfer restore don't work



Hello again,

[gnome-pilot specific so I'm not copying pilot-link-devel]

On Mon, 2007-04-30 at 07:28 -0400, Adam C Powell IV wrote:
> Greetings,
> 
> I'm having trouble restoring a Treo 600 (PalmOS V5.2H) using gnome-pilot
> and pilot link in Debian etch (2.0.15-2 and 0.12.1-5 respectively).
> 
> First, the Restore... menu item in the gnome-pilot applet menu seems
> completely useless.  The ellipsis suggests a follow-on dialog, but there
> is none, nor any menu item check, nor any other indication that it has
> been selected.  Furthermore, whether I use it or not, it tries to sync
> the pilot, unless it has just been blanked, in which case it tries to
> restore it, so Restore... has no discernible effect whatsoever.
> 
> Second, gnome-pilot always hangs while restoring the device, going up to
> 100% CPU and sitting there until the Treo times out.  If I move aside
> the file which seemed to cause this, it hangs on another file, and so
> on.  This behavior is identical to that reported by Krzysztof Porowski
> four years ago, and nobody followed up to his questions, nor has this
> problem been addressed since.  This is also Debian bug #146346 reported
> five years ago next week, and forwarded to this list, but with no
> helpful or corrective replies.  gnome-pilot restore is very broken.

My Treo hard crashed again yesterday (replacement on the way), so I got
a chance to try this out with strace.  It is hanging on "Installing
Blazer Cache..." and strace leading up to that shows:

open("/home/hazelsct/MyNewPilot/Blazer Cache.pdb", O_RDONLY) = 41
fstat64(41, {st_mode=S_IFREG|0644, st_size=2821647, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6c8e000
fstat64(41, {st_mode=S_IFREG|0644, st_size=2821647, ...}) = 0
_llseek(41, 2818048, [2818048], SEEK_SET) = 0
read(41, "5\0\0 \250\354\2\1\0\0\0 \0\0\0)\0\0\0\0\0\0\0\26\0\0\0"..., 3599) = 3599
_llseek(41, 0, [0], SEEK_SET)           = 0
read(41, "Blazer Cache\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
read(41, "\211\f\300\215!m\0\0\211\f\300\215!n\0\0\211\f\300\215"..., 4096) = 4096
read(41, "\211\f\300\215#y\0\0\211\f\300\215#z\0\0\211\f\300\215"..., 4096) = 4096
read(41, "\211\f\300\215%\231\0\0\211\f\300\215%\232\0\0\211\f\300"..., 4096) = 4096
read(41, "\346\367 \215\'\260\0\7\366\367 \215\'\261\0\10\6\367@"..., 4096) = 4096
read(41, "\346(@\215)\307\0\24\366(@\215)\310\0\25\6(@\215)\311\0"..., 4096) = 4096
read(41, "p\207\300\215+\322\0\34p\207\300\215+\323\0\34p\207\300"..., 4096) = 4096
read(41, "\253\362\300`\235\342\0!\253\362\300`\235\343\0!\253\362"..., 4096) = 4096
read(41, "\24\354 `\237\366\0*\24\364@`\237\367\0*#\t `\237\370\0"..., 4096) = 4096
_llseek(41, 36864, [36864], SEEK_SET)   = 0
fcntl64(39, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(39, F_SETFL, O_RDWR|O_NONBLOCK) = 0
recv(39, 0xbfd4931c, 256, 0)            = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(39, F_SETFL, O_RDWR)            = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\1\250\0\0\0\23", 6)         = 6
nanosleep({0, 16000}, NULL)             = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\32\1 \17\0\0Blazer Cache\0", 19) = 19
nanosleep({0, 29000}, NULL)             = 0
brk(0x81eb000)                          = 0x81eb000
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {30, 0})
read(39, "\1\250\0\0\0\4", 6)           = 6
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {29, 996000})
read(39, "\232\0\0\5", 4)               = 4
brk(0x81db000)                          = 0x81db000
fcntl64(39, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(39, F_SETFL, O_RDWR|O_NONBLOCK) = 0
recv(39, 0xbfd4930c, 256, 0)            = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(39, F_SETFL, O_RDWR)            = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\1\251\0\0\0\37", 6)         = 6
nanosleep({0, 16000}, NULL)             = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\30\1 \33BLZ4CACH\0\0\0\0\0\3Blazer Cache\0", 31) = 31
nanosleep({0, 41000}, NULL)             = 0
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {29, 964000})
read(39, "\1\251\0\0\0\7", 6)           = 6
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {30, 0})
read(39, "\230\1\0\0 \1H", 7)           = 7
fcntl64(39, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(39, F_SETFL, O_RDWR|O_NONBLOCK) = 0
recv(39, 0xbfd4931c, 256, 0)            = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(39, F_SETFL, O_RDWR)            = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\1\252\0\0\10B", 6)          = 6
nanosleep({0, 16000}, NULL)             = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\34\1\240\0\10<H\0\0108\1\0\0\0s&\215\0\2\0\0\0\206&\215"..., 2114) = 2114
nanosleep({0, 2124000}, NULL)           = 0
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {29, 984000})
read(39, "\1\252\0\0\0\4", 6)           = 6
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {30, 0})
read(39, "\234\0\0\0", 4)               = 4
write(2, "fileconduit-Message: Installing "..., 96) = 96
writev(38, [{"GIOP\1\2\1\0\227\0\0\0", 12}, {"\220\220\324\277\0\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0c\274"..., 151}], 2) = 163
_llseek(41, 36864, [36864], SEEK_SET)   = 0
fcntl64(39, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(39, F_SETFL, O_RDWR|O_NONBLOCK) = 0
recv(39, 0xbfd4931c, 256, 0)            = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(39, F_SETFL, O_RDWR)            = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "\1\253\0\0\0\30", 6)         = 6
nanosleep({0, 16000}, NULL)             = 0
select(40, NULL, [39], NULL, {30, 0})   = 1 (out [39], left {30, 0})
write(39, "!\1 \24H\200\0`\240\0 \0\0\0\0\0\1\240`\0\324\330\0\0", 24) = 24
nanosleep({0, 34000}, NULL)             = 0
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {30, 0})
read(39, "\1\253\0\0\0\n", 6)           = 6
select(40, [39], NULL, NULL, {30, 0})   = 1 (in [39], left {30, 0})
read(39, "\241\1\0\0 \4\0`\240\0", 10)  = 10
writev(38, [{"GIOP\1\2\1\0\200\0\0\0", 12}, {"\220\220\324\277\0\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0c\274"..., 128}], 2) = 140
_llseek(41, 36864, [36864], SEEK_SET)   = 0
_llseek(41, 36864, [36864], SEEK_SET)   = 0
_llseek(41, 36864, [36864], SEEK_SET)   = 0
_llseek(41, 36864, [36864], SEEK_SET)   = 0
_llseek(41, 36864, [36864], SEEK_SET)   = 0
_llseek(41, 36864, [36864], SEEK_SET)   = 0

then the llseek() repeats indefinitely.  If I move Blazer Cache out of
the way, it hangs on another file.

Any ideas?

Cheers,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]