[IRCServices Coding] Bug with memoserv SAVE (beta0)

Andrew Church achurch at achurch.org
Thu May 30 19:16:34 PDT 2002


     Fixed, thanks.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Runnign the services 5.0beta0 release
>
>My ircd:
>Unreal3.1.3-Komara(JetIRC). saturn.jetirc.net CFhiInXSs [Linux
>localhost.localdomain 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686
>unknown=2302(H)]
>
>The problem:
>At any time, if ANYone uses the Memoserv SAVE command to save a memo from
>expiry, services immediately terminates with no entry to the normal log file
>for a reason.
>
>I ran the -debug option....
>In the log file, the last relavant entry is:
>  [May 29 08:34:54.511303 2002] debug: Received: :Saturn PRIVMSG
>MemoServ at services.jetirc.net :save 1
>Then the file ends.
>
>using GDB, i got the following, right after using the memoserv save command:
>#0  save_memo_callback (u=0x8173ed0, num=6, args=0xbffff4c0) at main.c:544
>#1  0x08053611 in process_numlist (numstr=0xbffff63c "",
>count_ret=0xbffff4dc,
>    callback=0x40214f14 <save_memo_callback>, u=0x8173ed0) at misc.c:537
>#2  0x40215b30 in do_save (u=0x8173ed0) at main.c:885
>#3  0x0804e191 in run_cmd (service=0x8171af8 "", u=Cannot access memory at
>address 0xbffff534) at commands.c:175
>#4  0x4021468c in memoserv (source=Cannot access memory at address
>0xbffff560) at main.c:153
>#5  0x080545de in call_callback_5 (module=Cannot access memory at address
>0xbffff5a0) at modules.c:632
>#6  0x080528b9 in m_privmsg (source=Cannot access memory at address
>0xbffff5f0) at messages.c:177
>#7  0x08054b43 in process () at process.c:131
>#8  0x0805624f in check_sockets () at sockets.c:392
>#9  0x080522be in main (ac=Cannot access memory at address 0xbffffa30) at
>main.c:248
>#10 0x40053507 in __libc_start_main (main=Cannot access memory at address
>0xbffffa70)
>    at ../sysdeps/generic/libc-start.c:129
>Cannot access memory at address 0xbffffa68
>
>----
>
>I hope this is enough to go on....
>
>
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding