[zeromq-dev] epgm example

Steven McCoy steven.mccoy at miru.hk
Wed Oct 12 23:32:32 CEST 2011


On 12 October 2011 17:27, Steven McCoy <steven.mccoy at miru.hk> wrote:

> On 10 October 2011 19:43, Roberto Palmer <roberto.palmer at gmail.com> wrote:
>
>> Thankyou Steve for your explanation.
>> BTW using the interface name (em2 on my system)
>> still doesn't work and the program ends with a
>> slightly different error:
>>
>> Segmentation fault (core dumped)
>>
>> So my only choice is to use the ip address/network address method.
>>
>>
> To bring the list back in on this conversation, it looks like there are
> problems with Consistent Device Naming in Fedora 15.  GDB is proving useless
> though:
>
>  Starting program:
> /home/local/libpgm/trunk/openpgm/pgm/ref/debug-Linux-x86_64/examples/purinrecv
> -i
> [Thread debugging using libthread_db enabled]
> プリン プリン
> Info: IP Configuration
> Info: lo: index=1 flags=65609<UP,LOOPBACK>
> Info: inet 127.0.0.1 netmask 255.0.0.0
> Info: p2p1: index=2 flags=69699<UP,BROADCAST,MULTICAST>
> Info: inet 10.0.2.15 netmask 255.255.255.0
> Info: lo: index=1 flags=65609<UP,LOOPBACK>
> Info: inet6 ::1 prefixlen 128 scopeid 0x0
> Info: p2p1: index=2 flags=69699<UP,BROADCAST,MULTICAST>
> Info: inet6 fe80::a00:27ff:fe91:26e2%p2p1 prefixlen 64 scopeid 0x2
> **
>

*<... insert long delay here ...>*


> *[Inferior 1 (process 1556) exited normally]*
> (gdb) bt
> No stack.
>
>
A quick break with GDB shows that it's a DNS lookup of the hostname and
Fedora 15 hasn't configured /etc/hosts to match the installer specified
name.

This implies an OpenPGM bug when the hostname fails though.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111012/f1582334/attachment.htm>


More information about the zeromq-dev mailing list