Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#90 op_dump && op_time segfault

closed-invalid
Philippe Elie
None
5
2003-01-23
2002-11-13
Philippe Elie
No

problem reported by addi on irc.

this seems to be reachable only on smp,

libdb/db-insert.c use a file lock to avoid opening sample
files by post-profile until an update is in progress in
daemon
but we don't protect at all against: the samples file
is already
opened by post profile tools and an update start during
the read by libdb. Ugh

temporary fix is to insert a sleep between op_dump
op_time

I'll commit a proper fix, then addi, will test it.

I think it will imply dropping some samples in these rare
case

regards,
Phil

Discussion

  • John Levon
    John Levon
    2003-01-23

    • status: open --> closed-invalid
     
  • John Levon
    John Levon
    2003-01-23

    Logged In: YES
    user_id=53034

    not applicable any more