Please help me. I recently compiled a c++ program with gcc 3.3, hoping to run it from the terminal, but it returns a bus error. When I run it in gdb, this is the output:
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x900053e4 in strcpy ()
(gdb) edit
/bin/ex: Command not found.
(gdb) list
1539
1540 return;
1541 }
1542
1543 int main(int argc, char** argv)
1544 {
1545
1546 // first check the command line options
1547
1548 check_options(argc,argv);
(gdb)