Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
607
MGatz
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » General Discussions » Seg. Fault / Hang During Colo...
Forum Rules | Mark all | Recent Posts

Seg. Fault / Hang During Color Selection
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 May 22, 2017, 5:54 pm   Last edited May 22, 2017, 5:56 pm by Zavor
Go to the top of the page
Go to the bottom of the page

Zavor
Fledgling
GroupMembers
Posts5
JoinedSep 8, 2016

Hey folks!

I'm in a bit of a bind with an experiment, and I was hoping to be pointed in a direction as to how to fix this. Here's the situation: LOP v1.44 and smaugfuss v1.9.2 both hang and crash, but only on one machine, which happens to be a Pi Model 3 running Ubuntu MATE (my other server, running Ubuntu Server, runs these just fine). Both MUDs compiled pretty clean and didn't seem to have any glaring issues.

The crash occurs in both codebases during character creation. I can set name, password, class and race- then, when I attempt to select the color support (RIP/ANSI/No Color), any option I choose hangs the MUD.

I have tried multiple classes/races/names/etc., just to make sure I'm not making some kind of funky combo that's throwing the MUD for a loop (unlikely anyway, but still worthy of ruling out).

I have attempted to trace this back with GDB, and here is the output that I encounter:
Core was generated by `▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00037096 in ?? ()
(gdb) bt
#0 0x00037096 in ?? ()
#1 0x76cfc2b0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


Then, when I try to inspect the frame:

(gdb) frame 1
#1 0x76cfc2b0 in ?? ()


From my limited experience with this, what I understand of this output is that even GDB can't find the location of the issue. Either that or I lack the know-how to trace it back with the info given.

Can anyone point me in the right direction, or has anyone encountered this before? If other info is needed, please let me know.

Thank you so much!
-Zavor
       
Post is unread #2 May 26, 2017, 8:46 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

can you check and see if it crashes based on each of the choices you can make, see if it only crashes on RIP or ANSI or no color might help find it a bit faster. if its on all three then might be just other stuff that happens after that part.
       
Post is unread #3 May 26, 2017, 9:31 pm   Last edited May 26, 2017, 9:32 pm by Zavor
Go to the top of the page
Go to the bottom of the page

Zavor
Fledgling
GroupMembers
Posts5
JoinedSep 8, 2016

Hey Remcon, thanks for your input.
-BOTH games crash no matter what option I choose: RIP, ANSI, or None.

One thing I'm noticing in the logfiles for smaugfuss:
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/vampire.gui.vault
Fri May 26 22:18:08 2017 :: druid.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/druid.gui.vault
Fri May 26 22:18:08 2017 :: warrior.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/warrior.gui.vault
Fri May 26 22:18:08 2017 :: augurer.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/augurer.gui.vault
Fri May 26 22:18:08 2017 :: thief.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/thief.gui.vault
Fri May 26 22:18:08 2017 :: cleric.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/cleric.gui.vault
Fri May 26 22:18:08 2017 :: mage.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/mage.gui.vault
Fri May 26 22:18:08 2017 :: ranger.gui
Fri May 26 22:18:08 2017 :: Cannot open vault - ../clans/ranger.gui.vault

I'm also noticing that LOP in its log throws this:
Fri May 26 10:21:09PM 2017 :: [*****] BUG: load_pers_table: Can't open system/personal.dat

These may be related, as well; it's still odd that the exact same codebases work just fine on the normal server. I even downloaded and compiled them separately to make sure there was an even comparison.

Thanks!
-Zavor
       
Post is unread #4 May 27, 2017, 12:44 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

those messages are actually normal so no worries there.

ok ill see if i can't figure out what possible issue it might be hitting that is crashing, hard to do without a similar server for checking lol but maybe ill get lucky and find something.
       
Post is unread #5 May 27, 2017, 4:22 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

what if you put in another thing that isn't an option to see if it gives the actual message about invalid selection. if that goes ok then its just when you get past that point.
       
Post is unread #6 May 27, 2017, 7:59 pm
Go to the top of the page
Go to the bottom of the page

Zavor
Fledgling
GroupMembers
Posts5
JoinedSep 8, 2016

It does give me the invalid selection error. I can even put in an invalid selection multiple times. Doesn't hang until I make a valid selection.

       
Post is unread #7 May 28, 2017, 8:45 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

in the comm.c nanny function case con_get_want_ansi add some output strings that directly output to the log file to see at which point it stops doing anything. it will help point out which area the issue may be found.
       
Pages:<< prev 1 next >>