#15 ObexFTP Fails when puting big files

closed-fixed
None
5
2004-03-06
2003-04-03
Anonymous
No

Hi!

I'm using ObexFTP 0.10.2/OpenObex 1.0.0 (old versions
are also affected) and Siemens SL45i (56 FW).

Six of ten tries, when putting big (~1.5 Meg) file
obexftp fails:
~/mp3$ strace obexftp -d /dev/ttyS0 -c MP3 -p 1.mp3
===
bfb_write_packets() Wrote 35 bytes (expected 35)
bfb_write_packets() Wrote 35 bytes (expected 35)
bfb_write_packets() Wrote 35 bytes (expected 35)
bfb_write_packets() Wrote 10 bytes (expected 10)
bfb_send_data() Wrote 33 packets
cobex_write() Wrote 33 packets (1024 bytes)
|obexftp_sync() OBEX_HandleInput = 1
cobex_handleinput() There is something (0)
obexftp_sync() OBEX_HandleInput = 0
failed: 1.mp3
obexftp_visit() returning -1
obexftp_cli_disconnect()
cli_sync_request()
obexftp_sync()
cobex_handleinput() There is something (0)
obexftp_sync() OBEX_HandleInput = 0
Disconnecting...failed: disconnect
obexftp_cli_close()
cobex_disconnect()
bfb_io_close()
===

and strace output:

...
write(3, "\26
6H\236\337\337\377\351O\377\377\376\323\0065f\305\271"...,
35) = 35
write(3, "\26\7\21g;\266\366\332M\24", 10) = 10
write(1, "\10/", /) = 2
select(4, [3], NULL, NULL, {20, 0}) = 1 (in [3],
left {19, 790000})
read(3, "\26\2\24\1\376", 500) = 5
select(4, [3], NULL, NULL, {20, 0}) = 1 (in [3],
left {19, 940000})
read(3, "\26\n\34\3\374\370\0\3\220\0\3[\210", 500) =
13
write(3, "\26\2\24\1\376", 5) = 5
read(4,
"G\327\336\206~\272-^c\242\226\205\f\322\260\n\35\214\342"...,
4096) = 4096
write(3, "\26
6\3\374\371\4\0\2\4\0H\3\375\261\276\357\327\223>\271"...,
35) = 35
...
write(3, "\26
6OR\317-\353\372\366I\222G\327\336\206~\272-^c\242"...,
35) = 35
write(3, "\26\7\21\346J\244\360\374Sp", 10) = 10
write(1, "\10-", -) = 2
select(4, [3], NULL, NULL, {20, 0}) = 0 (Timeout)
write(1, "failed: 1.mp3\n", 14failed: 1.mp3
) = 14
chdir("/home/login/mp3") = 0
select(4, [3], NULL, NULL, {20, 0}) = 0 (Timeout)
write(1, "Disconnecting...failed: disconne"...,
35Disconnecting...failed: disconnect
) = 35
close(3) = 0
munmap(0x40015000, 4096) = 0
semget(IPC_PRIVATE, 4096, IPC_CREAT|0x40161120|0440)
= -1 ENOSYS (Function not implemented)
_exit(0) = ?
===

It happens randomly, e.g. sometimes it puts ~800 Kb
and then fails, sometimes ~500 Kb, sometimes it puts
whole file without errors.

It is not cable trouble, because in Windows using
official Siemens software it's all ok.

Thanks.

Discussion

  • Christian W. Zuckschwerdt

    Logged In: YES
    user_id=136432

    The bug in bfb is fixed. Please confirm with 0.10.4. Is
    anyone still using bfb?

     
  • Christian W. Zuckschwerdt

    • assigned_to: nobody --> zany
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks