[haiku-bugs] Re: [Haiku] #5296: KDL in team_get_controlling_tty()

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Tue, 19 Jan 2010 21:10:14 -0000

#5296: KDL in team_get_controlling_tty()
---------------------------+------------------------------------------------
 Reporter:  axeld          |       Owner:  bonefish      
     Type:  bug            |      Status:  new           
 Priority:  blocker        |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |   Blockedby:                
 Platform:  All            |    Blocking:                
---------------------------+------------------------------------------------

Comment(by axeld):

 Just ran into it again. This time I had the pleasure being able to look
 into it ;-)

 Anyway, the team's group member is already NULL. What happens is that the
 team is already destructed while its threads aren't yet.

 I've attached a short test program that one can use to reproduce the issue
 100%: when run it launches another thread and waits for user input. Then
 you have to attach GDB to that second thread, and quit GDB. Say welcome to
 KDL.

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

Other related posts: