Programs compiled by gnat hangs

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

 



Hi,

I create a really simple Ada program:

-- test.adb --
procedure Test is

   task T;

   task body T is
   begin
      null;
   end T;

begin
   null;
end Test;
-- 

When I compile it with gcc-gnat (gnatmake hello), and try to run the
resulting  binary it hangs immediately. strace says it blocks on 
futex(0x804b798,FUTEX_WAIT,0,NULL

The same program works on Red Hat 8.0. Howver, if I don't create any
tasks it doesn't block on 9. What gives? Is it caused by the new pthreads
implementation?

-- 
Johannes Eriksson




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux