mrd6sh hangs mrd6 when lauched with "show mrib" option

Bug #72653 reported by Goldenear
4
Affects Status Importance Assigned to Milestone
mrd6 (Ubuntu)
Fix Released
Undecided
Jérémie Corbier

Bug Description

Binary package hint: mrd6

I'm using mrd6 0.9.5 ($Rev: 1553 $) under dapper (server).
When I launch "mrd6sh show mrib" or "mrd6sh show all", it stops after a few lines and then mrd6 is crashed ( it's not running in the background anymore).

The latest version of mrd6 solves that problem and so the package should be updated.

Revision history for this message
Hugo Santos (hugo-fivebits) wrote :

What version did you use that didn't have this problem? What were the expected contents of the MRIB when it hanged?

Revision history for this message
Goldenear (goldenear) wrote : Re: [Bug 72653] Re: mrd6sh hangs mrd6 when lauched with "show mrib" option

I'm using mrd6 0.9.5 on Ubuntu Dapper (server) : This is `goldenear' running
mrd6 0.9.5 ($Rev: 1553 $) the IPv6 Multicast Routing Daemon, in Linux
2.6.15-27-server

This is what happens, I hope it can help you :

admin@goldenear:~$ sudo /etc/init.d/mrd6 restart
 * Stopping Multicast routing daemon: mrd6
[ ok ]
 * Starting Multicast routing daemon: mrd6
[ ok ]
admin@goldenear:~$ ps -ax | grep mrd6
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
13078 ? Ss 0:00 /usr/sbin/mrd6 -D
13081 pts/1 S+ 0:00 grep mrd6
admin@goldenear:~$ sudo mrd6sh show mrib
MRIB
  Prefix 2000::/3 Cost: 1/100, Static L
    Nexthop: fe80::c239:aefe
admin@goldenear:~$ ps -ax | grep mrd6
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
13084 pts/1 S+ 0:00 grep mrd6

Le Mardi 13 Mars 2007 21:47, Hugo Santos a écrit :
> What version did you use that didn't have this problem? What were the
> expected contents of the MRIB when it hanged?

Revision history for this message
Hugo Santos (hugo-fivebits) wrote :

Hi,

  I'm sorry for the late reply. Is it possible for you to test me
something? Execute '/etc/init.d/mrd6 stop' and instead run mrd6 using
gdb (if you don't have it installed, the package name is 'gdb' as
well), like this:

  # gdb /usr/sbin/mrd6

  After you get to the gdb prompt, just type "run". Then execute the
"show mrib" command as you did in this example. gdb should have a
prompt again, type "bt" and paste here the output.

  Thank you,
    Hugo

On 3/14/07, Goldenear <email address hidden> wrote:
> I'm using mrd6 0.9.5 on Ubuntu Dapper (server) : This is `goldenear' running
> mrd6 0.9.5 ($Rev: 1553 $) the IPv6 Multicast Routing Daemon, in Linux
> 2.6.15-27-server
>
> This is what happens, I hope it can help you :
>
> admin@goldenear:~$ sudo /etc/init.d/mrd6 restart
> * Stopping Multicast routing daemon: mrd6
> [ ok ]
> * Starting Multicast routing daemon: mrd6
> [ ok ]
> admin@goldenear:~$ ps -ax | grep mrd6
> Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
> 13078 ? Ss 0:00 /usr/sbin/mrd6 -D
> 13081 pts/1 S+ 0:00 grep mrd6
> admin@goldenear:~$ sudo mrd6sh show mrib
> MRIB
> Prefix 2000::/3 Cost: 1/100, Static L
> Nexthop: fe80::c239:aefe
> admin@goldenear:~$ ps -ax | grep mrd6
> Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
> 13084 pts/1 S+ 0:00 grep mrd6
>
>
> Le Mardi 13 Mars 2007 21:47, Hugo Santos a écrit:
> > What version did you use that didn't have this problem? What were the
> > expected contents of the MRIB when it hanged?
>
> --
> mrd6sh hangs mrd6 when lauched with "show mrib" option
> https://launchpad.net/bugs/72653
>

Revision history for this message
Hugo Santos (hugo-fivebits) wrote :

Jeremie,

  The following change to the upstream might fix this bug. Even if it doesn't fix this particular one, there was a segfault in some occasions when listing the MRIB. This change fixes it. This was commited to upstream an year ago.

  http://fivebits.net/proj/mrd6/changeset/1593

Changed in mrd6:
assignee: nobody → jcorbier
status: Unconfirmed → In Progress
Changed in mrd6:
status: In Progress → Fix Committed
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

mrd6 (0.9.5-release-1ubuntu2) feisty; urgency=low

  * debian/patches:
    -> 003_PIM_check_for_path.patch: fix a potential problem when handling a
       PIM Join if there was no upstream path available (LP: #94153).
    -> 004_safer_module_unloading.patch: fix a potential segfault when
       unloading module (LP: #94143).
    -> 005_mrib_display_fix.patch: fix a segfault when listing the MRIB
       (LP: #72653).
    -> 999_upstream_info_update.patch: update upstream homepage and author
       contact information (LP: #94142).
  * debian/control: updated upstream homepage.
  * debian/copyright: updated upstream copyright and contact information as
    per upstream author request.

Changed in mrd6:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.