Re: Segmentation fault

From: Acido (
Date: 02/21/99

At 10:18 PM 2/21/99 -0500, you wrote:
>GDB stuff
>gdb bin/circle lib/core
>GNU gdb 4.17
>Copyright 1998 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "i386-redhat-linux"...
>Core was generated by `bin/circle -q 5000'.
>Program terminated with signal 11, Segmentation fault.
>find_solib: Can't read pathname for load map: Input/output error
>#0  0x80889d4 in str_dup (source=0x0) at utils.c:84
>84        CREATE(new_z, char, strlen(source) + 1);

if you had given us some stack info from the core it would be of more help
dosn't have to be this line it crashed on!

>Straight fro utils.c str_dup
>/* Create a duplicate of a string */
>char *str_dup(const char *source)
>  char *new_z;
>  CREATE(new_z, char, strlen(source) + 1);
>  return (strcpy(new_z, source));

Looks fine to me

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST