This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange error with fopen


I can't reproduce this error under strace bacause each thead of my app. hang:

[pid 12551] 15:58:35 write(10, "\212(\240\2\212(\240\2\212(\240\2\212(\240\2\212(\240\2"..., 2485 <unfinished ...>
[pid 12551] 15:58:35 <... write resumed> ) = 2485
[pid 12551] 15:58:35 close(10 <unfinished ...>
[pid 12551] 15:58:35 <... close resumed> ) = 0
[pid 12551] 15:58:35 munmap(0x40003000, 4096 <unfinished ...>
[pid 12551] 15:58:35 <... munmap resumed> ) = 0
[pid 12551] 15:58:35 rt_sigprocmask(SIG_SETMASK, NULL,  <unfinished ...>
[pid 12551] 15:58:35 <... rt_sigprocmask resumed> [], 8) = 0
[pid 12551] 15:58:35 --- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
[pid 12551] 15:58:35 sigreturn()        = ? (mask now [])
[pid 12551] 15:58:35 rt_sigsuspend([] <unfinished ...>
---HANG HERE---

I'm not a guru so i don't understand what happen, i hope in some suggest :)
Saluti Carlo!



Il Tue, 6 Apr 2004 16:37:31 +0300
Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> scrisse:

> On Tuesday 06 April 2004 13:07, Devel wrote:
> > Hi all,
> > on my redhat 7.3 and kernel 2.4.22 i received a strange error from fopen in
> > my application. When system is on heavy disk load the function:
> >
> > picture=fopen(filename, "wb");
> >
> > return null and  strerror(errno) print :No such file or directory.
> > The file is new so is natural the doesn't exist. Furthermore  more is the
> > load of the disk more are this error message. I can't understand this error
> > message, any suggest?.
> 
> please run your program under strace and show result
> -- 
> vda
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]