When some tests fail in test_writer_starvation.js, it goes in infinite loop.

NEW
Unassigned

Status

()

P5
normal
6 years ago
8 months ago

People

(Reporter: glandium, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The loop is:
   while (callbackCount < readerCount) {
     executeSoon(function() { testGenerator.next(); });
     yield;
   }

When errors happen during the test, callbackCount is never incremented, and thus can't be higher than readerCount.
(Reporter)

Comment 1

6 years ago
FYI, an "easy" way to end up in this infinite loop is to use an sqlite that doesn't have -DSQLITE_MAX_SCHEMA_RETRY=25.

Updated

8 months ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.