Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIcon in system tray Pin
RoyceF7-Mar-08 8:27
RoyceF7-Mar-08 8:27 
GeneralRe: Icon in system tray Pin
JudyL_MD7-Mar-08 9:29
JudyL_MD7-Mar-08 9:29 
GeneralRe: Icon in system tray Pin
Mark Salsbery7-Mar-08 13:07
Mark Salsbery7-Mar-08 13:07 
GeneralRe: Icon in system tray Pin
Royce Fickling7-Mar-08 16:09
Royce Fickling7-Mar-08 16:09 
GeneralRe: Icon in system tray Pin
Mark Salsbery8-Mar-08 8:10
Mark Salsbery8-Mar-08 8:10 
GeneralRe: Icon in system tray Pin
Royce Fickling8-Mar-08 13:11
Royce Fickling8-Mar-08 13:11 
GeneralRe: Icon in system tray Pin
Mark Salsbery8-Mar-08 13:23
Mark Salsbery8-Mar-08 13:23 
Generalquestion to the pros: nasty ASSERTION in BOOST Pin
andreas.schaerer7-Mar-08 7:54
andreas.schaerer7-Mar-08 7:54 
Hy there!
i have a hughe problem in my company. i have a quite complex application (distributed, corba, mulithreaded, Boost, QT 3.3)
and after closing the program (int closeevent() pApp->exit())
the program closes but after ca 5 sec. there comes an ASSERTION

attached_thread_count == 0
in tss_hooks.cpp

the code in boost looks like that:

attached_threadcount == 0 in tss_hooks.cpp. the code there looks like this:

it is in on_process_exit()..

catch( ... )
{
boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex);
boost::mutex::scoped_lock lock(*threadmon_mutex);

BOOST_ASSERT(attached_thread_count == 0);
return -1;


even with the help of some c++ gurus and DevPartnerStudio we could not find the problem.
actually it isnt that annoying because only at exit it happens. but we cant deliver it to the customer like that.

does enyone has an idea what to do against it, even a trick to just dont show the assertion?

unfortunately i cant make a release-version for different reasons.

ideas? suggestions??

thanx for any input!!

p.s. someone gave me the following input in an other board:

Anyway, the assertion comes from the thread_specific_ptr machinery. It means that something registered a thread-exit handler but it wasn't called. This might happen if, for example, you use a thread_specific_ptr from a thread that wasn't created with boost::threads.


andreas
GeneralRe: question to the pros: nasty ASSERTION in BOOST Pin
Maxwell Chen7-Mar-08 8:11
Maxwell Chen7-Mar-08 8:11 
GeneralRe: question to the pros: nasty ASSERTION in BOOST Pin
Nemanja Trifunovic7-Mar-08 8:19
Nemanja Trifunovic7-Mar-08 8:19 
Generalavi file on Status bar Pin
ptr_Electron7-Mar-08 3:18
ptr_Electron7-Mar-08 3:18 
GeneralRe: avi file on Status bar Pin
toxcct7-Mar-08 3:38
toxcct7-Mar-08 3:38 
GeneralRe: avi file on Status bar Pin
ptr_Electron7-Mar-08 5:21
ptr_Electron7-Mar-08 5:21 
GeneralRe: avi file on Status bar Pin
super_ttd7-Mar-08 7:02
super_ttd7-Mar-08 7:02 
GeneralRe: avi file on Status bar Pin
led mike7-Mar-08 7:18
led mike7-Mar-08 7:18 
GeneralRe: avi file on Status bar Pin
Randor 7-Mar-08 7:08
professional Randor 7-Mar-08 7:08 
GeneralRe: avi file on Status bar Pin
super_ttd7-Mar-08 7:13
super_ttd7-Mar-08 7:13 
GeneralRe: avi file on Status bar Pin
Randor 7-Mar-08 7:29
professional Randor 7-Mar-08 7:29 
GeneralRe: avi file on Status bar Pin
ptr_Electron10-Mar-08 23:56
ptr_Electron10-Mar-08 23:56 
GeneralRe: avi file on Status bar Pin
Randor 11-Mar-08 4:05
professional Randor 11-Mar-08 4:05 
GeneralRe: avi file on Status bar Pin
Rajkumar R7-Mar-08 3:42
Rajkumar R7-Mar-08 3:42 
GeneralRe: avi file on Status bar Pin
ptr_Electron7-Mar-08 4:34
ptr_Electron7-Mar-08 4:34 
GeneralRe: avi file on Status bar Pin
Nathan Holt at EMOM7-Mar-08 5:41
Nathan Holt at EMOM7-Mar-08 5:41 
QuestionSHFileOperation file deletion using the Recycle bin is SLOW!!! Pin
Member 38546007-Mar-08 2:53
Member 38546007-Mar-08 2:53 
AnswerRe: SHFileOperation file deletion using the Recycle bin is SLOW!!! Pin
Rajkumar R7-Mar-08 3:53
Rajkumar R7-Mar-08 3:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.