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

Members: 0
Guests: 15
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
614
BenitoVirg
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » General Discussions » Odd crash
Forum Rules | Mark all | Recent Posts

Odd crash
< Newer Topic :: Older Topic > obj_update

Pages:<< prev 1 next >>
Post is unread #1 Sep 5, 2005, 5:58 pm   Last edited Jul 8, 2010, 3:51 pm by Samson
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

This is the backtrace:
#0  0x00895402 in __kernel_vsyscall ()
#1  0x00979118 in raise () from /lib/libc.so.6
#2  0x0097a888 in abort () from /lib/libc.so.6
#3  0x009ae22a in __libc_message () from /lib/libc.so.6
#4  0x009b4124 in _int_free () from /lib/libc.so.6
#5  0x009b465f in free () from /lib/libc.so.6
#6  0x081564e1 in obj_update () at update.c:1788
#7  0x08157ac6 in update_handler () at update.c:2561
#8  0x080bcc1e in game_loop () at comm.c:1245
#9  0x080bbf8b in main (argc=5, argv=0xbf9e9e04) at comm.c:590

Frame 6:
(gdb) info local
buf = "The corpse of Male Shopper lies here.\000 [EDIT by Samson: BIG nasty buffer that won't behave with UTF-8]"
bufptr = 0xa366886 "Male Shopper"
timerfrac = Variable "timerfrac" is not available.


The obj:
(gdb) p *obj
$3 = {next = 0xa296968, prev = 0xa397ce0, next_content = 0xa296968,
  prev_content = 0x0, first_content = 0x0, last_content = 0x0, in_obj = 0x0,
  carried_by = 0x0, first_extradesc = 0x0, last_extradesc = 0x0,
  first_affect = 0x0, last_affect = 0x0, pIndexData = 0xa11c758,
  in_room = 0xa21e550, name = 0xa360eb8 "corpse Male Shopper",
  short_descr = 0xa366878 "the corpse of Male Shopper",
  description = 0xa3a56c8 "", action_desc = 0xa027108 "", item_type = 23,
  mpscriptpos = 0, extra_flags = {bits = {0, 0, 0, 0}}, magic_flags = 0,
  wear_flags = 1, mpact = 0x0, mpactnum = 0, wear_loc = -1, weight = 100,
  cost = -4708, level = 0, timer = 6, value = {0, 0, 5, 1, 0, 0}, count = 1,
  serial = 1663, room_vnum = 4745, ashards = 0, creator = 0xa118138 "Stock"}


I don't see anything wrong.... At all.
       
Pages:<< prev 1 next >>