Opened 15 years ago

Closed 14 years ago

Last modified 8 years ago

#163 closed defect (fixed)

Not accessible or not a regular file (Internal error / Success)

Reported by: rainer Owned by: rainer
Priority: major Milestone: 2.5.10
Component: main Version: 2.5.5
Keywords: Cc:

Description

Reported by U. Melzer (and actually others earlier, but with less details, since diagnostics has been improved meanwhile):

<log sev="ERRO" tstamp="2009-08-19T09:28:51+0200" 
msg="Not accessible or not a regular file (Internal error / Success)" 
path="/usr/src/linux-2.6.16.60-0.39.3/arch/ppc/kernel/setup.c" />
<log sev="CRIT" \
tstamp="2009-08-19T09:28:51+0200" 
msg="POLICY [ReadOnly] C---------" path="/usr/src/linux-2.6.16.60-0.39.3/arch/ppc/kernel/setup.c" 
chksum_old="96A3707BC7CC42C23B79193A98E16940052B383AD66A61E5" 
chksum_new="000000000000000000000000000000000000000000000000"  />

Change History (6)

comment:1 by rainer, 15 years ago

Status: newassigned

Added more diagnostics to pinpoint originating site (changeset [243]).

comment:2 by rainer, 15 years ago

As reported by sergey, it is internal error 09, i.e. the file handle to be allocated is not NULL. This could be a race condition at closing the file. Fix for this in changeset [247], which is released as 2.5.9a.

comment:3 by rainer, 15 years ago

Did not change anything, need to track down originating site of stale file handle. Added code for this with changeset [248].

comment:4 by rainer, 14 years ago

Milestone: 2.5.10
Resolution: fixed
Status: assignedclosed

The likely cause seems to be a race condition caused by close() on a file descriptor -and- fclose() on the associated stream. Added code to track streams and modified sl_close() to do the fclose() if there is an open stream, changeset [252].

comment:5 by root, 14 years ago

Milestone: 2.5.10

Milestone 2.5.10 deleted

comment:6 by rainer, 14 years ago

Milestone: 2.5.10
Note: See TracTickets for help on using tickets.