-   Programming (
-   -   pthread segmentation fault 64-bit only (

rushmanw 04-22-2009 04:58 PM

pthread segmentation fault 64-bit only
duplicated, removed.

paulsm4 04-22-2009 05:35 PM

One of the differences between Linux and other *nix is that Linux processes *are* Linux threads:

But that's academic.

The reason you're crashing has little/nothing to do with threads, and everything to do with the fact that you've allocated 250,000 element arrays as local variables (off the stack).

As I recommended in my other post: I believe that's unwise. I would strongly urge you to allocate large objects from the heap, not the stack.


All times are GMT -5. The time now is 09:45 AM.