Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-04

When compiling with gdb and dwarf code works, no gdb and dwarf, segfault

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I have this weird problem, that when I compile my code (FPC 2.5.1) with debug information (gdb, dwarf) my code works properly. When I remove the debug information, sometimes the code works well, and sometimes on the same code, I have segfult based on libc6.

How can I figure out what/where things are going wrong ?

Thanks,

Ido

Reply by email