Mail Archives: djgpp/1996/08/18/08:27:58
On Thu, 15 Aug 1996, Aldenir Galdino Pereira wrote:
> I'm having problems with the gettext() function, when I run the
> program I get the following mensage:
>
> ting due to signal SIGSEGV
> General Protection Fault at eip=00018071
You are trying to do something that is not allowed in protected mode
(like derefrencing a null pointer or referencing an address outside your
address space).
There are no known bugs in `gettext', so please try first to debug your
program. There is a program called `symify' in your bin/ subdirectory
that should help you make sense from the stack dump which gets printed
when the program crashes. If you don't know how to use `symify' please
read section 9.2 of the DJGPP FAQ list (available as v2/faq201b.zip from
the same place you get DJGPP). This will help you pinpoint the line in
your program where it crashes; you can then debug the problem using one of
the available debuggers.
If the above doesn't help you to figure out the cause of the crash,
please post the code fragment where the program crashes, and somebody
will find the solution.
- Raw text -