- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi..
i'm using Intel TBB 2.1 with OpenCV and Microsoft Visual Studio 2008 express edition.
while implementing parallel_for function, i get a run-time error that says:
An unhandled win32 exception occurred ...[5556]. Just-in-Time debugging this exception failed with the following error: No installed debugger has just-in-time debugging enabled.
express edition doesnt support JIT debugging. is it essential to have a JIT debugger to use TBB?
also, why do you think the error occurs?
this is the code snippet thats causing the problem:
//////////////////////////////////////////////////////////////////////////
class ApplyFoo {
IplImage **const my_a;
public:
void operator()( const blocked_range& r ) const {
IplImage **a = my_a;
for( size_t i=r.begin(); i!=r.end(); ++i )
DCTscramenc(a);
}
ApplyFoo( IplImage* a[] ) : my_a(a)
{}
};
void ParallelApplyFoo( IplImage* a[], size_t n ) {
printf("parallel enter\n");
parallel_for(blocked_range(0,n), ApplyFoo(a),auto_partitioner());
}
//////////////////////////////////////////////////////////////////////////////
the error pops-up as soon as there is a call to the ParallelApplyFoo function:
ParallelApplyFoo(image,4);
(where image is of Ip
can someone help me sort this out?
thanks and regards,
sindhura
i'm using Intel TBB 2.1 with OpenCV and Microsoft Visual Studio 2008 express edition.
while implementing parallel_for function, i get a run-time error that says:
An unhandled win32 exception occurred ...[5556]. Just-in-Time debugging this exception failed with the following error: No installed debugger has just-in-time debugging enabled.
express edition doesnt support JIT debugging. is it essential to have a JIT debugger to use TBB?
also, why do you think the error occurs?
this is the code snippet thats causing the problem:
//////////////////////////////////////////////////////////////////////////
class ApplyFoo {
IplImage **const my_a;
public:
void operator()( const blocked_range
IplImage **a = my_a;
for( size_t i=r.begin(); i!=r.end(); ++i )
DCTscramenc(a);
}
ApplyFoo( IplImage* a[] ) : my_a(a)
{}
};
void ParallelApplyFoo( IplImage* a[], size_t n ) {
printf("parallel enter\n");
parallel_for(blocked_range
}
//////////////////////////////////////////////////////////////////////////////
the error pops-up as soon as there is a call to the ParallelApplyFoo function:
ParallelApplyFoo(image,4);
(where image is of Ip
can someone help me sort this out?
thanks and regards,
sindhura
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - sindhura.t
hi..
i'm using Intel TBB 2.1 with OpenCV and Microsoft Visual Studio 2008 express edition.
while implementing parallel_for function, i get a run-time error that says:
An unhandled win32 exception occurred ...[5556]. Just-in-Time debugging this exception failed with the following error: No installed debugger has just-in-time debugging enabled.
express edition doesnt support JIT debugging. is it essential to have a JIT debugger to use TBB?
also, why do you think the error occurs?
this is the code snippet thats causing the problem:
//////////////////////////////////////////////////////////////////////////
class ApplyFoo {
IplImage **const my_a;
public:
void operator()( const blocked_range& r ) const {
IplImage **a = my_a;
for( size_t i=r.begin(); i!=r.end(); ++i )
DCTscramenc(a);
}
ApplyFoo( IplImage* a[] ) : my_a(a)
{}
};
void ParallelApplyFoo( IplImage* a[], size_t n ) {
printf("parallel entern");
parallel_for(blocked_range(0,n), ApplyFoo(a),auto_partitioner());
}
//////////////////////////////////////////////////////////////////////////////
the error pops-up as soon as there is a call to the ParallelApplyFoo function:
ParallelApplyFoo(image,4);
(where image is of Ip
can someone help me sort this out?
thanks and regards,
sindhura
i'm using Intel TBB 2.1 with OpenCV and Microsoft Visual Studio 2008 express edition.
while implementing parallel_for function, i get a run-time error that says:
An unhandled win32 exception occurred ...[5556]. Just-in-Time debugging this exception failed with the following error: No installed debugger has just-in-time debugging enabled.
express edition doesnt support JIT debugging. is it essential to have a JIT debugger to use TBB?
also, why do you think the error occurs?
this is the code snippet thats causing the problem:
//////////////////////////////////////////////////////////////////////////
class ApplyFoo {
IplImage **const my_a;
public:
void operator()( const blocked_range
IplImage **a = my_a;
for( size_t i=r.begin(); i!=r.end(); ++i )
DCTscramenc(a);
}
ApplyFoo( IplImage* a[] ) : my_a(a)
{}
};
void ParallelApplyFoo( IplImage* a[], size_t n ) {
printf("parallel entern");
parallel_for(blocked_range
}
//////////////////////////////////////////////////////////////////////////////
the error pops-up as soon as there is a call to the ParallelApplyFoo function:
ParallelApplyFoo(image,4);
(where image is of Ip
can someone help me sort this out?
thanks and regards,
sindhura
Hi sindhura.t,
I've always used Intel TBB with Visual Studio Team System. However, I know that Express Editionsdon't support Just-In-Time Debugging. Check this link from Microsoft: http://msdn.microsoft.com/en-us/library/5hs4b7a6.aspx
Your application is having a problem, and VS tries to launch JIT debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
are there any conditions in the code i gave above, with respect to tbb usage, that would result in such a error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some essential text seems to have disappeared near "where image is of" in the original posting.
I see nothing obvious, but, if you don't get past the printf() call ("as soon as there is a call to the ParallelApplyFoo function"), how is this related to TBB?
I see nothing obvious, but, if you don't get past the printf() call ("as soon as there is a call to the ParallelApplyFoo function"), how is this related to TBB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for replying...
i wasn't initialising task scheduler correctly... my bad. i'm very new to tbb.
i wasn't initialising task scheduler correctly... my bad. i'm very new to tbb.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page