Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Majestic-12

Members: 0
Guests: 7
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » global boards crash
Forum Rules | Mark all | Recent Posts

global boards crash
< Newer Topic :: Older Topic > do_nwrite

Pages:<< prev 1 next >>
Post is unread #1 Jun 12, 2003, 4:23 am
Go to the top of the page
Go to the bottom of the page

CTA

GroupMembers
Posts5
JoinedApr 24, 2003

Samson,

This crash only happens once in a while, and seems to have
something to do with this line in do_nwrite. Has anyone else
reported this crash with global boards?

if (get_trust(ch) pcdata->board->write_level)

Core was generated by `13C 5050 copyover 6 -1'.
Program terminated with signal 11, Segmentation fault.
#0 0x08092774 in do_nwrite (ch=0x86dd138, argument=0xbfffdaa9 "";)
at board.c:486
486 if (get_trust(ch) pcdata->board->write_level)
#0 0x08092774 in do_nwrite (ch=0x86dd138, argument=0xbfffdaa9 "";)
at board.c:486
#1 0x08092fac in do_global_note (ch=0x86dd138, argument=0xbfffdaa9 "";)
at board.c:788
#2 0x080e20b3 in interpret (ch=0x86dd138, argument=0xbfffdaa4 "write";)
at interp.c:577
#3 0x080b42e1 in game_loop () at comm.c:672
#4 0x080b3b6a in main (argc=5, argv=0xbfffded0) at comm.c:316
#5 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
       
Post is unread #2 Jun 12, 2003, 12:32 pm
Go to the top of the page
Go to the bottom of the page

CTA

GroupMembers
Posts5
JoinedApr 24, 2003

Well I believe part of the problem is I used the patch and didn't double check that it all took.

I have found a part in comm.c just before players go link-dead that was missing.
       
Post is unread #3 Jun 12, 2003, 3:04 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Should also be noted that the global board code isn't mine, so I wouldn't have been able to fix it anyway
       
Post is unread #4 Jun 12, 2003, 10:09 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,868
JoinedJul 26, 2005

First off, I like the global boards code so don't get me wrong on anything I say about it

It wouldn't have mattered if you used the patch or did it all by hand. It has a few crashing issues here and there that I have ran into since using it. Like everything else you will just have to fix the problems as you run into them unless someone keeps a good history of the changes they have done to it to fix the crashing problems lol. Good luck with it.

here is the only problem I remember right now lol.
It crashes if you type gnote read 0
Now there were alot more, but I don't remember them right now
       
Pages:<< prev 1 next >>