TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

I get a lot of random crashes

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
chosig



Joined: 02 Feb 2012
Posts: 19

PostPosted: Mon Dec 01, 2014 6:03 am    Post subject: I get a lot of random crashes Reply with quote

tt++ randomly crashes for me, especially if there's a lot of text coming or i run too fast.

Code:
DEBUG_STACK[000] = poll_sessions(void)
DEBUG_STACK[001] = read_buffer_mud(0x1c7dd10)
DEBUG_STACK[002] = translate_telopts(0x1c7dd10,0x7fff6c10c6e0,299)
DEBUG_STACK[003] = check_all_events(0x1c7dd10,65,1,1, ...)
DEBUG_STACK[004] = script_driver(0x1c7dd10,5,0x7fff6c0ef070)
DEBUG_STACK[005] = do_line(0x1c7dd10,0x1cc22a0)
DEBUG_STACK[006] = script_driver(0x1c7dd10,-1,0x7fff6c0e04f0)
DEBUG_STACK[007] = do_variable(0x1c7dd10,0x1cc2390)


That is the message I get.
_________________
chosig@Discworld MUD
Back to top
View user's profile Send private message
chosig



Joined: 02 Feb 2012
Posts: 19

PostPosted: Mon Dec 01, 2014 7:32 am    Post subject: Reply with quote

I also get this crash somethings, that makes tt++ block the terminal so I have to open another to really kill off tt++ shotgun style...

Code:
*** Error in `tt++': realloc(): invalid next size: 0x00000000024dc7f0 ***

_________________
chosig@Discworld MUD
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Tue Dec 02, 2014 9:28 pm    Post subject: Reply with quote

Hard to fix unless you can reproduce it.

Also make sure you performed a clean compile by executing rm *.o before make.
Back to top
View user's profile Send private message Send e-mail
chosig



Joined: 02 Feb 2012
Posts: 19

PostPosted: Thu Dec 04, 2014 6:13 am    Post subject: Reply with quote

It happens all the time to the point that it is not fun to use TinTin (the first bug, the second has just happend a couple of times).

It is a clean instal. Do you think I can have done some bad scripting?
_________________
chosig@Discworld MUD
Back to top
View user's profile Send private message
chosig



Joined: 02 Feb 2012
Posts: 19

PostPosted: Thu Dec 04, 2014 6:23 am    Post subject: Reply with quote

This is the latest - after a clean install from scratch.
I'll update this post as crashes keep coming.

Code:
DEBUG_STACK[000] = poll_sessions(void)
DEBUG_STACK[001] = read_buffer_mud(0x1ee25a0)
DEBUG_STACK[002] = translate_telopts(0x1ee25a0,0x7fffdb3f8ea0,116)
DEBUG_STACK[003] = check_all_events(0x1ee25a0,65,1,1, ...)
DEBUG_STACK[004] = script_driver(0x1ee25a0,5,0x7fffdb3db830)
DEBUG_STACK[005] = do_line(0x1ee25a0,0x1f1d6d0)
DEBUG_STACK[006] = script_driver(0x1ee25a0,-1,0x7fffdb3cccb0)
DEBUG_STACK[007] = do_variable(0x1ee25a0,0x1f1d9c0)


Code:
DEBUG_STACK[000] = poll_sessions(void)
DEBUG_STACK[001] = read_buffer_mud(0x26e55a0)
DEBUG_STACK[002] = translate_telopts(0x26e55a0,0x7fffb8dc5ea0,336)
DEBUG_STACK[003] = check_all_events(0x26e55a0,65,1,1, ...)
DEBUG_STACK[004] = script_driver(0x26e55a0,5,0x7fffb8da8830)
DEBUG_STACK[005] = do_line(0x26e55a0,0x275d1e0)
DEBUG_STACK[006] = script_driver(0x26e55a0,-1,0x7fffb8d99cb0)
DEBUG_STACK[007] = do_variable(0x26e55a0,0x275d730)


Code:
DEBUG_STACK[000] = poll_sessions(void) 00000000 00:00 0                  [vsyscall]d-2.20.so.1.2.4soso
DEBUG_STACK[001] = read_buffer_mud(0x151a6f0)
DEBUG_STACK[002] = translate_telopts(0x151a6f0,0x7fffb78f8950,391)
DEBUG_STACK[003] = check_all_events(0x151a6f0,65,1,1, ...)
DEBUG_STACK[004] = script_driver(0x151a6f0,5,0x7fffb78db2e0)
DEBUG_STACK[005] = do_line(0x151a6f0,0x153f410)
DEBUG_STACK[006] = script_driver(0x151a6f0,-1,0x7fffb78cc760)
DEBUG_STACK[007] = do_variable(0x151a6f0,0x153f9a0)

_________________
chosig@Discworld MUD
Back to top
View user's profile Send private message
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Thu Dec 04, 2014 1:39 pm    Post subject: Reply with quote

things like this happened to me when my scripts started an infinite loop, have you tried to activate the DEBUG options ?
Back to top
View user's profile Send private message
chosig



Joined: 02 Feb 2012
Posts: 19

PostPosted: Sat Dec 06, 2014 9:19 am    Post subject: Reply with quote

Yup.

When I get more time I'll try running through gdb to see if I can find out more.

I'm guessing that it is my ZMP parser that is spooking.
_________________
chosig@Discworld MUD
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sat Dec 06, 2014 12:27 pm    Post subject: Reply with quote

Looks like you might be storing a variable that somehow crashes tintin.

Could try using #debug all log and #log to figure out what's going on.

Code:

         #debug {listname} {log} will silently write debugging information to
         the log file, you must be logging in order for this to work.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group