This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc v5+ generates code that cause segment faults


Johann,

gdb cjson

(gdb) run

enetering ... json->addNumber (json, [number], 123)

Program received signal SIGFPE, Arithmetic exception.
0x00007fffffffdcfb in ___ ()

(gdb) disass
No function contains program counter for selected frame.

(gdb)=20

I've tried running gdb to step through the core dump, but this is
alluding me.

Mike,

PS .. I ran this same code through Android's cppDroid, and it ran fine.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]