[haiku-bugs] Re: [Haiku] #6736: [Network stack] crashes while trying to quit Fuppes

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Tue, 25 Oct 2011 08:25:09 -0000

#6736: [Network stack] crashes while trying to quit Fuppes
----------------------------------------+----------------------------
   Reporter:  diver                     |      Owner:  axeld
       Type:  bug                       |     Status:  closed
   Priority:  normal                    |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:  fixed                     |   Keywords:  multicast
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by siarzhuk):

 Looks like it is just partially fixed. Unfortunately it is still observed
 with my sis19x network driver on revisions after r42899. Typical stack
 crawl is looking like one in attached fuppes_kdl2.png (JoinGroup +
 0x00f6). One time it was crashed in the same place as shown in
 fuppes_kdl3.png (Clear() + 0x0060). Note that sis19x is '''native'''
 driver so freebsd compat layer could not be taken into account - so r42899
 changes are unrelated in this exact case.

 I have tried to catch the case some week ago but failed. Looks like the
 suspect is the "MultiHashTable<MulticastStateHash>* sMulticastState"
 object. At least commenting it out forces the KDLs to disappear.

 Note that typical reproduce sequence is:[[BR]]
 a) start fuppes;[[BR]]
 b) Ctrl-C to quit fuppes;[[BR]]
 c) start fuppes -> fall through into KDL;[[BR]]

 Sometime it is required to repeat b) and c) some times to receive the KDL.

 Are there any suggestion to trace or debug?

 PS: Test was performed with version of sis19x just answering B_OK on
 B_ETHER_ADDMULTI / B_ETHER_REMMULTI ioctl requests.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6736#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: