Overview
| Artifact ID: | 4376b56dcda1e14eaa623e5eb70e2b00e8ec27b1 |
|---|---|
| Ticket: | 3536840fffffffffffffffffffffffffffffffff
Crash on exit on Fedora 17 |
| User & Date: | julien9330 on 2012-06-22 17:28:32 |
Changes
- icomment:
Correction: The crash does not seems to depend on the fact that the other threads allocate or free some memory (I also had the crash when the other threads do not allocate or free memory). Regarding the possibility of a violation of the apartment model, I guess that if something was wrong here, we would have experienced some crashes on other Linux distributions. But crashes only occur on Fedora 17. Basically, the architecture of our application is as follow: The main thread (thread 1) creates a new thread (thread 2). In this new thread, the Tcl interpreter is created. It seems that Tcl creates another thread at this moment (thread 3) to execute the NotifierThreadProc function. The Tcl commands are executed in thread 2 (where the Tcl interpreter was created) until the user decides to exits the application. On exit, the Tcl_DeleteInterp and Tcl_Finalize functions are called in thread 2. Then this thread exits and is deleted. The crash occurs in thread 3 during the exit process of the main thread (so after the thread 2 was deleted). Is there something wrong with our architecture ? Any idea or suggestion ?
- login: "julien9330"
- mimetype: "text/plain"
- username: "julien9330"