Hello. Peter Jay Salzman wrote:
#0 0x080aeda4 in real_yylex (yylval=0x4d003b) at lexer.l:707
[]
Cannot access memory at address 0x4d003b
i'm a bit confused at this point. it looks like the address returned by strdup is no good, but i have no idea how that can be.
It is rather an yylval points to a wrong place (0x4d003b), so dereferencing it fails. Try: (gdb) b real_yylex (gdb) r Breakpoint 1, real_yylex (yylval=0xbfffee78) at lex.yy.c:1598 1598 if ( yy_init ) (gdb) bt
this seems to be a problem with this machine only, but nothing about this looks arch dependent to me.
Maybe optimisation? What gcc do you have? Try different versions like 2.91 (aka kgcc if it is a RedHat distro), 2.95 or 3.x.
any suggestions?
Try running dosemu under a memory debugger (I use njamd for that) - maybe it is a memory corruption somewhere. Or maybe upgrade your bison/flex? - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
