OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000079INET FrameworkQuaggapublic2009-06-11 11:332009-06-11 11:33
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000079: Assertion fail in second run
DescriptionI am trying to debug the error it appeared in INET Quagga days before and others that appear in my own networks supposedly by a misconfiguration, but it does not appear any debug information in quagga code:

test_quagga [OMNeT++ Simulation]
    gdb/mi (8/06/09 19:38) (Suspended)
        Thread [0] (Suspended: Breakpoint hit.)
            162 oppsim_abort() /home/javi/omnetpp-4.0/workspace/inet-quagga/src/ 0x000000000043e59f
            161 _zlog_assert_failed() 0x000000000053489a
            160 check_bit() 0x000000000052a43e
            159 set_link() 0x000000000052a498
            158 route_node_get() 0x000000000052a8ac
            157 rib_add_ipv4() 0x000000000050d12d
            156 netlink_routing_table() 0x000000000051485b
            155 netlink_parse_info() 0x0000000000513e09
            154 netlink_route_read() 0x0000000000515284
            153 route_read() 0x00000000005163cb
            152 zebra_main_entry() 0x00000000005091d1
            151 Zebra::activity() /home/javi/omnetpp-4.0/workspace/inet-quagga/src/ 0x000000000043dda7
            150 cSimpleModule::activate() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a445d28
            149 eat() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a46e6ac
            148 eat() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a46e592
            147 eat() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a46e592
            146 eat() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a46e592
            145 eat() /home/javi/omnetpp-4.0/src/sim/ 0x00007f999a46e592

Is necesary to do any special to the build configuration in INET Quagga to get the debug information in quagga? I have the whole project with gcc-debug...
Additional InformationThe error appears when is executed line 179 of table.c (in lib directory):

 assert (prefixlen <= 128);

And prefixlen value is "-127".

This value is get from a "route table" obtained with this method:

/* Lookup route table. */
struct route_table *
vrf_table (afi_t afi, safi_t safi, u_int32_t id)
  struct vrf *vrf;

  vrf = vrf_lookup (id);
  if (! vrf)
    return NULL;

  return vrf->table[afi][safi];
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-06-11 11:33 rhornig New Issue

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker