This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

tcl sql problem

Old posts that have not been replied to for several years.
Locked
j
javiergonzalez
Voice
Posts: 2
Joined: Sat Dec 18, 2004 7:30 am

tcl sql problem

Post by javiergonzalez »

Hi,

I'm writing a tcl script that makes requests to a mysql db, it works ok, but i have a problem, when i do a few requests it crash (7 or more).

The crash error is:

alloc: invalid block: 0x8191f28: ef ef 0

Abortado (core dumped)

or

[12:19] * Last context: tclhash.c/684 [Tcl proc: pub:catch_topic, param: $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]
[12:19] * Please REPORT this BUG!
[12:19] * Check doc/BUG-REPORT on how to do so.
[12:19] * Wrote DEBUG
[12:19] * SEGMENT VIOLATION -- CRASHING!
Violación de segmento (core dumped)

What could happend? the is only a code that make request, i have a few lines for check if can connect to db for not crash.

Anybody can help me? Thanks
j
javiergonzalez
Voice
Posts: 2
Joined: Sat Dec 18, 2004 7:30 am

Post by javiergonzalez »

This is de DEBUG file:

Code: Select all

Debug (eggdrop v1.6.17) written Sat Dec 18 12:19:45 2004
Full Patch List:
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.9 (header version 8.4.7)
Tcl is threaded
Compile flags: gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc -pipe
Strip flags: touch
Context: tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:msg, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: pub:catch_topic, param:  $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]
         tclhash.c/688, []
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:PRIVMSG, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/688, []
         tclhash.c/680, []
         tclhash.c/684, [Tcl proc: *raw:irc:msg, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/680, []
         tclhash.c/684 [Tcl proc: pub:catch_topic, param:  $_pub1 $_pub2 $_pub3 $_pub4 $_pub5]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
7    7F000001  3333 (telnet)  *                 lstn  3333
8    00000000     0 (dns)                       dns   (ready)
10   7F000001 17341 (script)  phpbb2eggaccept   lstn  17341
12   D4CCD672  6666 (server)  irc.debian.org    serv  (lag: 0)

Compiled without extensive memory debugging (sorry).
Open sockets: 7 (listen), 8 (passed on), 10 (listen), 12, 25 (file), done.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: tcl sql problem

Post by demond »

you are on the wrong forum
javiergonzalez wrote: [12:19] * Please REPORT this BUG!
[12:19] * Check doc/BUG-REPORT on how to do so.
do so
javiergonzalez wrote: Anybody can help me? Thanks
the people who can help you are the eggdrop development team; they need your feedback (error report) to fix the bug and therefore to help you
Locked