Ticket #11866

assertion stop
Eröffnet am: 2008-02-13 10:59 Letztes Update: 2008-02-14 10:56

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine

Details

I(tosnoz) register a report in substitution for
Teddy.

-----

I tried to use the clientUtil.c files. I compil it
successfully with the
makefile in the OpenRoads_nerve.alpha_1.tgz, but when
I launch the
program I receive a connection refused message. I
tried to connect on
the #6809 port. I tried to use my own program to
connect to the robot
with the same error message as result. Do I use the
good port ?

Thank you for your help

Teddy Gommard.



# cat /var/log/scifTrafCtl.log
assertion "len <= iovec[PcData].iov_len" failed:
file "libutil.c", line
210, function "readPacket"
Copyright (C) 2006 - 2007 Speecys(TM) Corporation
Toshiaki Nozawa
All rights reserved.
Speecys(TM) Dec 26 2007 11:00:50

Ticket-Verlauf (2/2 Historien)

2008-02-13 11:03 Aktualisiert von: tosnoz
  • Ticket Close date is changed to 2008-02-13 11:03
  • Lösung Update from Keine to Gefixt
  • Status Update from Offen to Geschlossen
Kommentar
Logged In: YES
user_id=32517

I added
+ receive buffer define to scifTrafMain.h
+ comment to sample code of client/scifTrafClient.c
+ documentation comment to libutil.c

It will fix at next release.
2008-02-14 10:56 Aktualisiert von: tosnoz
  • Ticket Close date is changed to 2008-02-14 10:56
Kommentar
Logged In: YES
user_id=32517

sorry, I forgeted my reply to Teddy.

-----

> I tried to use the clientUtil.c files. I compil it
successfully with the
> makefile in the OpenRoads_nerve.alpha_1.tgz, but when I
launch the
> program I receive a connection refused message. I tried
to connect on
> the #6809 port. I tried to use my own program to connect
to the robot
> with the same error message as result. Do I use the good
port ?

I think that connection successful just for once.
However, reception data buffer overflow occurs
because transmission of a message data size was big.
The next line shows it.

> assertion "len <= iovec[PcData].iov_len" failed:
file "libutil.c", line 210, function "readPacket"

The reception data buffer fixed 512 bytes.
I estimated that we are enough for one transmission of a
message size.
Do not you send bigger size?

Or you should confirm whether the seventh argument of the
function like "writeReqOncePacket()" is true.

And did you run the sample program?
Is not there difference between the sample program?

Best Regards,
nozawa

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden