Georgetown-IR-Lab / QuickUMLS

System for Medical Concept Extraction and Linking
MIT License
369 stars 95 forks source link

Installation failed when disk I/O is slow.[BUG] #58

Open createrfang opened 4 years ago

createrfang commented 4 years ago

Describe the bug Multithread dead lock when destination path is other disk on mac os.

unqlite.UnQLiteError: Another process or thread hold the requested lock Another process or thread have a reserved lock on this database xOpen() method of the underlying KV engine 'hash' failed

To Reproduce execute pip -m quickumls.install

Environment

  • OS: [macOS]
  • QuickUMLS version [neweast]
  • UMLS version [2020AA]

Additional context succeed after change the path to internal disk, so i think the multithread related code lack of deadlock protection.