public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
@ 2009-02-22 14:33 bugzilla-daemon
  2009-02-22 14:46 ` [Bug 1000690] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-02-22 14:33 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690

           Summary: /home/lunn/eCos/work/install/tests/compat/posix/current/
                    tests/signal3 runs forever
           Product: eCos
           Version: 3.0beta1
          Platform: linux (Linux synthetic target)
        OS/Version: Other
            Status: NEW
          Severity: normal
          Priority: normal
         Component: POSIX (EL/IX)
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: andrew.lunn@ascom.ch
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


/home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3


$ /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'synth_eth0'
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x020025a0)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x02001ca0)
New domain route at 0x00000000
[cyg_net_init] Init: call_route_init(0x00000000)
[cyg_net_init] Done
INFO:<Timer initialisation is completed..>
INFO:<Calling pause()>
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>
INFO:<sigusr1() handler called>

ad infinitum

Not investigated further


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
@ 2009-02-22 14:46 ` bugzilla-daemon
  2009-02-22 16:57 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-02-22 14:46 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690





--- Comment #1 from Andrew Lunn <andrew.lunn@ascom.ch>  2009-02-22 14:45:54 ---
tests/compat/posix/current/tests/timer1

has a similar problem...

tests/compat/posix/current/tests/timer1
install/tests/compat/posix/current/tests/timer1
[cyg_net_init] Init: mbinit(0x00000000) 
[cyg_net_init] Init: cyg_net_init_devs(0x00000000) 
Init device 'synth_eth0' 
[cyg_net_init] Init: loopattach(0x00000000) 
[cyg_net_init] Init: ifinit(0x00000000) 
[cyg_net_init] Init: domaininit(0x00000000) 
[cyg_net_init] Init: cyg_net_add_domain(0x020025a0) 
New domain internet at 0x00000000 
[cyg_net_init] Init: cyg_net_add_domain(0x02001ca0) 
New domain route at 0x00000000 
[cyg_net_init] Init: call_route_init(0x00000000) 
[cyg_net_init] Done 
INFO:<Main: calling sem_wait()> 
INFO:<Thread 1 running> 
INFO:<Thread1: calling pause()> 
INFO:<Thread 2 running> 
INFO:<Thread2: calling pause()> 
INFO:<Main: calling sem_wait() again> 
INFO:<Main: calling pthread_join(thread1)> 
BOOTP[eth0] op: REQUEST 
       htype: Ethernet 
        hlen: 6 
        hops: 0 
         xid: 0xe980fe06 
        secs: 0 
       flags: 0x80 
       hw_addr: 00:01:02:03:fe:06 
     client IP: 0.0.0.0 
         my IP: 192.168.10.10 
     server IP: 192.168.10.1 
    gateway IP: 0.0.0.0 
  options: 
        DHCP message: 3 REQUEST 
        DHCP server id: 192.168.10.1 
        DHCP time 51: 600 
        DHCP time 58: 300 
        DHCP time 59: 525 
        subnet mask: 255.255.255.0 
            gateway: 192.168.10.1 
      domain server: 192.168.10.1 
        domain name: lunn.ch 
       IP broadcast: 192.168.10.255 
        DHCP option: 37/55.9: 54 51 58 59 1 3 6 15 28 
        DHCP option: 39/57.2: 576 
        DHCP requested ip: 192.168.10.10 
Route - dst: 0.0.0.0, mask: 0.0.0.0, gateway: 192.168.10.1 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr1() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 
INFO:<sigusr2() handler called> 


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
  2009-02-22 14:46 ` [Bug 1000690] " bugzilla-daemon
@ 2009-02-22 16:57 ` bugzilla-daemon
  2009-03-23 10:41 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-02-22 16:57 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690





--- Comment #2 from John Dallaway <john@dallaway.org.uk>  2009-02-22 16:57:26 ---
This issue is observed across multiple targets in the test farm. With both
timer1 and signal3 tests.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
  2009-02-22 14:46 ` [Bug 1000690] " bugzilla-daemon
  2009-02-22 16:57 ` bugzilla-daemon
@ 2009-03-23 10:41 ` bugzilla-daemon
  2009-03-23 10:46 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-23 10:41 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690





--- Comment #3 from John Dallaway <john@dallaway.org.uk>  2009-03-23 10:41:27 ---
The underlying issue is readily observed in the POSIX timer1 test. Both thread1
and thread2 wait indefinitely at the call to pause(). This issue was introduced
with the following change:

    2006-07-18  Jonathan Larmour  <jifl@eCosCentric.com>

    * src/signal.cxx (pause): Although already POSIX compliant, if we wait
      for all signals, behaviour is more Linux-like.

The patch fragment for pause() in signal.cxx revision 1.19 looks like this:

         // Check for any pending signals that can be delivered and
         // if there are none, wait for a signal to be generated
    -    if( !cyg_deliver_signals() )
    +    while( !cyg_deliver_signals() )
             signal_sigwait.wait();

    -    // Now check again for some signals to deliver
    -    cyg_deliver_signals();
    -    
         signal_mutex.unlock();

It would appear that the POSIX tests are not written to accommodate the more
Linux-like behaviour implemented by this change. I have verified that signal1
(ref Bugzilla 1000689), timer1 and signal3 all PASS on target 'psim' when this
change is reverted.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
                   ` (2 preceding siblings ...)
  2009-03-23 10:41 ` bugzilla-daemon
@ 2009-03-23 10:46 ` bugzilla-daemon
  2009-03-23 10:52 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-23 10:46 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690


John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |1000689




-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
                   ` (3 preceding siblings ...)
  2009-03-23 10:46 ` bugzilla-daemon
@ 2009-03-23 10:52 ` bugzilla-daemon
  2009-03-25  8:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-23 10:52 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690


John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickg@ecoscentric.com




--- Comment #4 from John Dallaway <john@dallaway.org.uk>  2009-03-23 10:52:42 ---
Andrew/Nick/Jifl, should we fix the various POSIX tests to accommodate the
revised behaviour described in the ChangeLog entry in comment #3 or should we
revert the change of 2006-07-18?

If the revised behaviour is desirable, someone needs to volunteer to fix the
tests.

If I don't hear from anyone, I will revert this change.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
                   ` (4 preceding siblings ...)
  2009-03-23 10:52 ` bugzilla-daemon
@ 2009-03-25  8:01 ` bugzilla-daemon
  2009-03-25  8:12 ` [Bug 1000690] signal3 test runs forever with Linux-like pause() behaviour bugzilla-daemon
  2009-03-25  8:13 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-25  8:01 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690





--- Comment #5 from John Dallaway <john@dallaway.org.uk>  2009-03-25 08:00:54 ---
Created an attachment (id=683)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=683)
posix-090325.patch

Patch to revert the change of 2006-07-18 which was causing problems with POSIX
tests signal1, signal3 and timer1.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] signal3 test runs forever with Linux-like pause() behaviour
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
                   ` (5 preceding siblings ...)
  2009-03-25  8:01 ` bugzilla-daemon
@ 2009-03-25  8:12 ` bugzilla-daemon
  2009-03-25  8:13 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-25  8:12 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690


John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|/home/lunn/eCos/work/install|signal3 test runs forever
                   |/tests/compat/posix/current/|with Linux-like pause()
                   |tests/signal3 runs forever  |behaviour
               Flag|                            |Blocking_3.0-




--- Comment #6 from John Dallaway <john@dallaway.org.uk>  2009-03-25 08:12:40 ---
Workaround checked in to the repository trunk and eCos 3.0 branch. If a more
Linux-like behaviour of pause() is desirable, the POSIX tests should be updated
to accommodate this.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 1000690] signal3 test runs forever with Linux-like pause() behaviour
  2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
                   ` (6 preceding siblings ...)
  2009-03-25  8:12 ` [Bug 1000690] signal3 test runs forever with Linux-like pause() behaviour bugzilla-daemon
@ 2009-03-25  8:13 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2009-03-25  8:13 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000690





--- Comment #7 from John Dallaway <john@dallaway.org.uk>  2009-03-25 08:13:37 ---
*** Bug 1000689 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-25  8:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22 14:33 [Bug 1000690] New: /home/lunn/eCos/work/install/tests/compat/posix/current/tests/signal3 runs forever bugzilla-daemon
2009-02-22 14:46 ` [Bug 1000690] " bugzilla-daemon
2009-02-22 16:57 ` bugzilla-daemon
2009-03-23 10:41 ` bugzilla-daemon
2009-03-23 10:46 ` bugzilla-daemon
2009-03-23 10:52 ` bugzilla-daemon
2009-03-25  8:01 ` bugzilla-daemon
2009-03-25  8:12 ` [Bug 1000690] signal3 test runs forever with Linux-like pause() behaviour bugzilla-daemon
2009-03-25  8:13 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).