bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30863] Segfault problem on windows (all applications) NSTask/threa


From: Fred Kiefer
Subject: [bug #30863] Segfault problem on windows (all applications) NSTask/thread
Date: Tue, 24 Aug 2010 08:31:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8

Update of bug #30863 (project gnustep):

                Category:                    None => Base/Foundation        
              Item Group:                    None => Bug                    

    _______________________________________________________

Follow-up Comment #1:

This could be related to Richard's change in NSTask a few days ago. The
change 31108 looks basically correct to me. It must be a special case that is
causing trouble here.
>From your back trace I expect that what is happening is that an NSTask gets
freed before the it is removed from the activeTasks map. I don't have an idea
how this is possible and it is most certainly a bug somewhere else. But you
could try to add a breakpoint in [NSTask finialize] or even try to put the old
code back in there:

   [tasksLock lock];
   NSMapRemove(activeTasks, (void*)(intptr_t)_taskId);   
   [tasksLock unlock];   

Nut more important would be to find out where finalize gets called without
the task being properly removed before. We may have to wait for Richard to
analyse this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30863>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]