Re: [MYSQL] Crash in parse_object after reading triggers for mobs

From: Artovil (artovil@arcanerealms.org)
Date: 11/13/01


At 06:55 2001-11-13 -0800, you wrote:
>On Sun, 11 Nov 2001, Artovil wrote:
>
> >I do not have, not sure about the name, Electric Fence, on my server,
> >since I have it hosted.  I will see what I can do about that though.  I
> >am downloading right now to see if I can run it there...  I have now
> >added the library (I *think*) by doing this:
> >
> >-L/home/a/arcanere/utils/ElectricFence-2.1/libefence.a
>
>LIBS='-L/home/a/arcanere/utils/ElectricFence-2.1 -lefence'

Took me a while to figure out that -L was a path, and -l was the lib name
without the lib prefixed to it, I am not so good at these things.  But I am
learning quick. *chuckles*  I even grasp what a pointer is now, after two
years of coding C.  Though, I started without any previous experience, and
without any documentation, except for the comments in the code and the
Ceramic mouse site.

> >That might be wrong, if so, tell me how to set it, perhaps I can add it
> >to .tcshrc somewhere?  I also added EF_PROTECT_BELOW=1 to my .tcshrc.  I
> >couldn't use -lefence since I installed it myself...
>
>Run it without that first.  PROTECT_BELOW does underruns ("array[-1]")
>where non-BELOW does overruns (array[5billion]).

Yes sir!  I've been running with, will try without. *cowers*

> >Well, with some tracing I solved it now, and I appear to have everything
> >working.
>
>You know how maddening it is when people fix something and don't say what
>they did? :)

Well, basically; I copied a function, forgot to rename one recordset in one
place, and then referred to said recordset somewhere else, and also, even,
did a free on this recordset in a function to which it was passed.  Not
really better than being drunk.  I code better drunk. *grumbles*

I figured you didn't want to hear a long tedious explanation, and, I didn't
want to look completely stupid. ;)

Thanks for all the help!

Kind regards,
/Torgny Bjers

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST