Turns out stack size on linux was too small.
This commit is contained in:
parent
920d5aaaf9
commit
e20c8d6dd1
|
@ -14,13 +14,15 @@ typedef unsigned char u_char;
|
||||||
#include "cmsg_private.h"
|
#include "cmsg_private.h"
|
||||||
#include "harness.h"
|
#include "harness.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
/* Bollocks. Looks like OS X chokes unless STACK_SIZE is a multiple of 32k. */
|
/* Bollocks. Looks like OS X chokes unless STACK_SIZE is a multiple of 32k. */
|
||||||
#define STACK_SIZE 32768
|
#define STACK_SIZE 32768
|
||||||
#elif linux
|
#elif linux
|
||||||
#define STACK_SIZE 4096
|
#define STACK_SIZE 32768
|
||||||
#else
|
#else
|
||||||
#error Define STACK_SIZE for your platform.
|
#error Define STACK_SIZE for your platform. It should probably not be less than 32k?
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Process *current_process = NULL;
|
Process *current_process = NULL;
|
||||||
|
|
Loading…
Reference in New Issue