> I got a wierd segmentation fault when trying to read a room description from
> a room with an "alternate description" (ie based on intelegence). Here is
> the stuff gdb gave me.
>
> #0 0x804a66d in write_to_output (
> txt=0x73696854 <Address 0x73696854 out of bounds>, t=0x80ec438)
^^^^^^^^^^^^^
this here!
> at comm.c:961
> 961 size = strlen(txt);
>
> The string is like two lines long, any ideas?
Jep!
Seems like you're writing into an array-of-char, e.g.
char ar_o_c[10];
and try to write into it more characters than it can keep.
- Chris
>
> Chuck Reed
> |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
> |Chuck Reed - Ash of Dark Horizon |
> |telnet://pentrel.com:6001 |
> |http://www.i-55.com/~twingo/horizon |
> |http://www.geocities.com/Eureka/Plaza/9298/ |
> |creed@i-55.com -=- dragos_elec@geocities.com |
> |"If you don't stand for something, you are bound |
> | to fall for anything." |
> |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
>
--
/----------------------------------------------------------------------------\
| Christian Loth | Meet me as the >Shadowdancer< in the |
| Shadowdancer@unidui.uni-duisburg.de | REALM OF MAGIC |
| http://privat.schlund.de/Loth | telnet rom.mud.de 4000 |
| | http://rom.mud.de/ |
| "The road goes ever on and on!" - Bilbo Baggins |
\----------------------------------------------------------------------------/
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST