I have done as you suggested, yet this STILL crashes for the exact same reason. My "new" code. if (!(fl = fopen(buf2, "a"))) // line 1981 { log("Error opening registration file."); STATE(d) = CON_CLOSE; return; } The backtrace: #0 0x4009d0e4 in chunk_free (ar_ptr=0x40128a40, p=0x82a3743) at malloc.c:3097 #1 0x4009ce6b in chunk_alloc (ar_ptr=0x40128a40, nb=184) at malloc.c:2594 #2 0x4009c670 in __libc_malloc (bytes=176) at malloc.c:2696 #3 0x40095d83 in _IO_new_fopen ( filename=0x81933c0 "reg.txt", mode=0x80e8127 "a") at iofopen.c:42 #4 0x80900a2 in nanny (d=0x82eda60, arg=0xbffff8c0 "test@email.com") at interpreter.c:1982 I also tried with fopen(buf2, "w") just incase and it still spits out the same error. Any other help? -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT