Re: Calls to malloc during an exception

2006-01-24 Thread Paolo Carlini
Geoffrey Keating wrote: This is Still, can you have a look to the last messages in the audit trail, in particulat #6-8? I'm under the impression that the problem is already fixed for targets using TLS. Paolo.

Re: Calls to malloc during an exception

2006-01-24 Thread Geoffrey Keating
This is The difficulty is thread-safety. If we had some reliable way of allocating memory whenever a new thread was created on platforms that don't have TLS, it would be easy to fix.

Re: Calls to malloc during an exception

2006-01-18 Thread Mike Stump
On Jan 18, 2006, at 9:41 AM, Perry Smith wrote: In the course of doing my work last week to get exception handling working in my device driver, I learned that the exception processing code calls malloc during the exception. This seems weak to me. It seems like one of the most critical time

Re: Calls to malloc during an exception

2006-01-18 Thread Perry Smith
On Jan 18, 2006, at 12:07 PM, Andrew Pinski wrote: On Wed, Jan 18, 2006 at 11:41:39AM -0600, Perry Smith wrote: In the course of doing my work last week to get exception handling working in my device driver, I learned that the exception processing code calls malloc during the exception. This s

Re: Calls to malloc during an exception

2006-01-18 Thread Andrew Pinski
> > On Wed, Jan 18, 2006 at 11:41:39AM -0600, Perry Smith wrote: > > In the course of doing my work last week to get exception handling > > working in my device driver, I learned that the exception processing > > code calls malloc during the exception. This seems weak to me. It > > seems l

Re: Calls to malloc during an exception

2006-01-18 Thread H. J. Lu
On Wed, Jan 18, 2006 at 11:41:39AM -0600, Perry Smith wrote: > In the course of doing my work last week to get exception handling > working in my device driver, I learned that the exception processing > code calls malloc during the exception. This seems weak to me. It > seems like one of th

Calls to malloc during an exception

2006-01-18 Thread Perry Smith
In the course of doing my work last week to get exception handling working in my device driver, I learned that the exception processing code calls malloc during the exception. This seems weak to me. It seems like one of the most critical times to throw an exception is when malloc fails.