Menu

#18 Possible crash if SQLiteConnection.dispose() is called from a different thread

Delivered
nobody
None
Critical
Defect
201
2014-02-13
2010-08-21
Anonymous
No

Originally created by: ser...@gmail.com
Originally owned by: ser...@gmail.com

Access violation/segmentation fault is possible in the following scenario:

1. T1: open connection
2. T1: start any method that use sqlite3* handle
3. T1: method checks handle/state for validity, releases lock
4. T2: dispose is called, handle is now invalid
5. T1: method uses now-invalid handle - crash

Discussion

  • Anonymous

    Anonymous - 2010-08-21

    Originally posted by: ser...@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2010-08-23

    Originally posted by: ser...@gmail.com

    (No comment was entered for this change.)

    Labels: FixVersion-201

     
  • Anonymous

    Anonymous - 2010-08-23

    Originally posted by: ser...@gmail.com

    (No comment was entered for this change.)

    Status: Delivered

     
  • Anonymous

    Anonymous - 2014-02-12

    Originally posted by: dongsh...@gmail.com

    what happen to the connection when this happens? Will the connection to linger around

     
  • Anonymous

    Anonymous - 2014-02-13

    Originally posted by: ser...@gmail.com

    The behavior is not specified. It could linger. The library may take best effort to shut it down.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.