Re: text/binmode endless loop

2004-07-30 Thread Pierre A. Humblet
On Fri, Jul 30, 2004 at 12:14:54PM +0200, Corinna Vinschen wrote: > On Jul 30 09:33, Alexander Gottwald wrote: > > Christopher Faylor wrote: > > > > > > This shows write() being called repeatedly. The fact that > > > setmode_helper shows up a bunch of time doesn't mean that it is caught > > > in

Re: text/binmode endless loop

2004-07-30 Thread Corinna Vinschen
On Jul 30 09:33, Alexander Gottwald wrote: > Christopher Faylor wrote: > > > > This shows write() being called repeatedly. The fact that > > setmode_helper shows up a bunch of time doesn't mean that it is caught > > in a loop. You can't infer that from strace. You'd need to confirm > > that wit

Re: text/binmode endless loop

2004-07-30 Thread Alexander Gottwald
Christopher Faylor wrote: > > This shows write() being called repeatedly. The fact that > setmode_helper shows up a bunch of time doesn't mean that it is caught > in a loop. You can't infer that from strace. You'd need to confirm > that with gdb. But why does it change repeatedly from text to

Re: text/binmode endless loop

2004-07-29 Thread Christopher Faylor
On Thu, Jul 29, 2004 at 10:20:44PM +0200, Alexander Gottwald wrote: >from an strace of XWin > > 63 1636203 [main] Xwin 1404 writev: 1 = write (3, 0x22ED50, 1), errno 2 > 63 1636266 [main] Xwin 1404 fhandler_base::set_flags: flags 0x120601, supplied_bin > 0x0 > 62 1636328 [main] Xwin 1404 fha

text/binmode endless loop

2004-07-29 Thread Alexander Gottwald
from an strace of XWin 63 1636203 [main] Xwin 1404 writev: 1 = write (3, 0x22ED50, 1), errno 2 63 1636266 [main] Xwin 1404 fhandler_base::set_flags: flags 0x120601, supplied_bin 0x0 62 1636328 [main] Xwin 1404 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x2 62 1636390