Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - RE: [Systemc-forum] Quickthreads problems on Linux platform using Pthrea Message Thread: Previous | Next
  • To: "Carey, Patrick" <patrick.carey@xxxxxxxxx>, <systemc-forum@xxxxxxxxxxx>
  • From: "Xinan Tang" <Xinan@xxxxxxxxxxx>
  • Date: Wed, 4 Feb 2004 09:42:14 -0800
Send Email to systemc-forum@osci.kavi.com:
Send new message
Reply to this message
Hi
 
This type of errors is normally caused by memory corruption  and is
shown in malloc() or free(). You can use a memory check tool to identify
the source of the error. If the system runs on Linux, valgrind is a good
free tool to use.
 
 
Xinan Tang
Senior MTS
Xambala Inc
 
-----Original Message-----
From: systemc-forum-admin@xxxxxxxxxxxxxxxxxxx
[mailto:systemc-forum-admin@xxxxxxxxxxxxxxxxxxx] On Behalf Of Carey,
Patrick
Sent: Wednesday, February 04, 2004 8:40 AM
To: systemc-forum@xxxxxxxxxxx
Subject: [Systemc-forum] Quickthreads problems on Linux platform using
Pthreads
 
 
Has anyone had any success in getting SystemC threads (SC_THREADS) to
work on top of a system running Pthreads on Linux?  I know from the past
few years that there was an issue with the Linux Pthread library in its
handling of certain pointers on the stack that causes errors with
malloc.  We have a validation system where the base executable is
running Pthreads and this program kicks off other tools, one of which is
a SystemC design that has test threads in it.  The test threads seg
fault with malloc due to the incompatibility described above.  Does
anyone know if it is possible to reimplement the Pthreads library or any
other workaround so these two thread systems can coexist?
Thanks, 
Patrick Carey 

By Date: Previous | Next Current Thread By Thread: Previous | Next


  Mail converted by the most-excellent MHonArc 2.6.10