This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
./tracemodel.sh -f -Idwarf/mysql-5.0.18/include dwarf/mysql-5.0.18/sql/sql_acl.cc gives OOM
The problem is with file .\include\my_sys.h (lines 324-331) typedef struct st_my_tmpdir { char **list; uint cur, max; #ifdef THREAD pthread_mutex_t mutex; #endif } MY_TMPDIR; something wrong with include directories => "max" was defined as macros and wasn't undefined (#undef max is in file ./ndb/src/kernel/blocks/dbtux/Dbtux.hpp) => may be trying to expand macros looks for balanced "(" and ")" and failed on this.
The problem is following: there is in system: #define bcopy(src,dst,len) memcpy((dst),(src),(len)) #define memcpy(dst,src,len) bcopy((src),(dst),(len)) in code we have: memcpy(dst, buffer, 10) This cause infinite re expanding of macros: memcpy->bcopy->memcpy and so on.
fixed. Updated callback/callbackimpl Updated lexer and macroExpander