Charserver

Put your bugs you find in osRose here

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Charserver

Postby Rifke on Wed Oct 03, 2007 4:50 pm

When I start the charserver, I get the following error:
  1.  
  2. Wed Oct 03 17:50:02 2007 - Connecting to MySQL
  3. Wed Oct 03 17:50:02 2007 - SQL timeout set to 2678400 seconds
  4. Wed Oct 03 17:50:02 2007 - Connected to MySQL server
  5. Wed Oct 03 17:50:02 2007 - Initialized loginserver connection
  6. Wed Oct 03 17:50:02 2007 - Signal received: SIGSEGV, Server will be closed, Trying to save...
  7.  


I get it when I run the exe provided when you update it. And when I recompile it myself.

I am running Windows XP Pro, SP 2
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: Charserver

Postby rl2171 on Wed Oct 03, 2007 5:02 pm

I get this too at times.

What I do in Dev C++ is I do a Clean, then Rebuild All, then Compile. That has always resolved all issues after that.

Hope it helps you too!

Rob


Rifke wrote:When I start the charserver, I get the following error:
  1.  
  2. Wed Oct 03 17:50:02 2007 - Connecting to MySQL
  3. Wed Oct 03 17:50:02 2007 - SQL timeout set to 2678400 seconds
  4. Wed Oct 03 17:50:02 2007 - Connected to MySQL server
  5. Wed Oct 03 17:50:02 2007 - Initialized loginserver connection
  6. Wed Oct 03 17:50:02 2007 - Signal received: SIGSEGV, Server will be closed, Trying to save...
  7.  


I get it when I run the exe provided when you update it. And when I recompile it myself.

I am running Windows XP Pro, SP 2
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: Charserver

Postby Rifke on Wed Oct 03, 2007 10:25 pm

Tried it many times, no success. When I try it within Dev C++, (debug module), I get an access violation (see screenshot)

Any suggestions?
Capture21-08-2007-20.39.493-10-2007-23.24.01.jpg



(And I tried it with the loginserver running aswel, same thing.)
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: Charserver

Postby lmame on Wed Oct 03, 2007 11:40 pm

Even with a new SVN?
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Charserver

Postby Drakia on Wed Oct 03, 2007 11:52 pm

Hey, Rifke, do you think you could run it in GDB to show us exactly which function is crashing? :) That'd be a great help in figuring out what's wrong.
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: Charserver

Postby Crashinside on Thu Oct 04, 2007 11:23 am

You need start FIRST LoginServer,SECOND CharServer and THIRD WorldServer
Image
User avatar
Crashinside
Pomic
Pomic
 
Posts: 97
Joined: Wed Sep 19, 2007 12:53 pm

Re: Charserver

Postby Rifke on Thu Oct 04, 2007 4:43 pm

Crashinside wrote:You need start FIRST LoginServer,SECOND CharServer and THIRD WorldServer

I knew someone would ask that question. That's why I have posted it in my 2nd post
rifke wrote:...
(And I tried it with the loginserver running aswel, same thing.)


Drakia wrote:Hey, Rifke, do you think you could run it in GDB to show us exactly which function is crashing? :) That'd be a great help in figuring out what's wrong.

GDB, you mean: GDB: The GNU Project Debugger
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: Charserver

Postby Drakia on Thu Oct 04, 2007 5:00 pm

Yeah, it tells you which function is causing the sigsegv
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Re: Charserver

Postby Rifke on Thu Oct 04, 2007 5:55 pm

Took me some time to figure out the program. Had no idea where to find it. But I hope this is what you where looking for.

[ Not usefull image ]
Last edited by Rifke on Thu Oct 04, 2007 7:13 pm, edited 1 time in total.
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: Charserver

Postby Drakia on Thu Oct 04, 2007 6:18 pm

Once you get to the point where it crashes, type
info stack
and then take a screenshot from where you typed info stack to where it ends, should give us a list of function calls, cause strcat isn't used in the char server
My favorite skill is scaring new users away.
If you haven't SEARCHED expect me to yell at you.
Image
Drakia
ospRose dev team
ospRose dev team
 
Posts: 1614
Joined: Tue Sep 18, 2007 6:53 am
Location: Nanaimo, BC, Canada

Next

Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests