segfault with two joysticks

Re: segfault with two joysticks

Postby sj04736 » 29 Dec 2011, 01:39

You should create a new folder to check-out into. Not an existing supertuxkart folder. e.g. a new empty folder called C:\Users\Me\My Documents\stk-trunk
Also, use the "SVN Checkout..." menu item that is right above TortoiseSVN when you right click on the folder. If you "Export", then you lose the ability to quickly update the game.
Stephen
Role: STK-Addons Developer

Image
User avatar
sj04736
 
Posts: 146
Joined: 07 Dec 2009, 02:56
Location: Western Canada

Re: segfault with two joysticks

Postby mwcmwc » 29 Dec 2011, 02:46

Ok, gotcha. Have been having a little problem with getting it to do what it is supposed to. Followed your instructions, created new file, used SVN Checkout. So far i have gotten 'Program not responding'. Reinstalled Tortoise, tried again, same. So i will play around with it and try to get it to work. Will let you know how it goes.....
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby sj04736 » 29 Dec 2011, 03:40

The initial check-out will take a very long time. Leave it for at least an hour.
Stephen
Role: STK-Addons Developer

Image
User avatar
sj04736
 
Posts: 146
Joined: 07 Dec 2009, 02:56
Location: Western Canada

Re: segfault with two joysticks

Postby mwcmwc » 30 Dec 2011, 03:51

Ok, well having problems with SVN Checkout, still freezes and dies when I put in the http you gave me. Gonna see if the export works, just to have the files. Any other way?
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby sj04736 » 30 Dec 2011, 05:03

Stephen
Role: STK-Addons Developer

Image
User avatar
sj04736
 
Posts: 146
Joined: 07 Dec 2009, 02:56
Location: Western Canada

Re: segfault with two joysticks

Postby mwcmwc » 30 Dec 2011, 06:35

Ok, It must be tortoise then. Is there another way to download this, or maybe FTP?
(in win 7)
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby Auria » 30 Dec 2011, 16:41

You can go to http://supertuxkart.svn.sourceforge.net ... ain/trunk/ and click "Download gnu tarball"
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: segfault with two joysticks

Postby mwcmwc » 30 Dec 2011, 18:54

Hurrah! Tried Svn checkout on another computer and got it to work! :D
OK, next step? :think:
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby Auria » 30 Dec 2011, 19:39

Then follow the instructions on our wiki, http://supertuxkart.sourceforge.net/How ... ws_version
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: segfault with two joysticks

Postby mwcmwc » 04 Jan 2012, 00:29

Hello Hiker! I saw you posted something, hope you are back? They say you are the windows guy, got a windows problem, and can't figure out how to make program as suggested. If there is an easier way to fix this, much appreciated.

-The not-so-techie-me ;) thanks you.
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 04 Jan 2012, 00:50

Hi,
mwcmwc {l Wrote}:Hello Hiker! I saw you posted something, hope you are back? They say you are the windows guy, got a windows problem, and can't figure out how to make program as suggested. If there is an easier way to fix this, much appreciated.

please follow Auria's latest instruction (i.e. our wiki). We don't have much debugging options in windows unless you can compile it. What problems do you have at this stage?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: segfault with two joysticks

Postby mwcmwc » 04 Jan 2012, 02:52

I am completely lost. Downloaded everything she suggested me to. Opened visual c++ did that stage, then right-clicked on new folder with tortoise, did Svn check out. after that tried step with NSIS, it asks me to install a plug-in, then opens up a text document giving me instructions, but me and my computer guy sat down and tried to make sense of it to no avail.
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby Auria » 04 Jan 2012, 22:33

Oh you don't need to create the installer with NSIS, follow the instructions on the wiki but first part only, you don't need to make an installer

After you built the solution, simply press the button in visual studio to run STK
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: segfault with two joysticks

Postby mwcmwc » 04 Jan 2012, 23:05

Well, that is good. What a relief, was beginning to get tired of all these new programs, now that I know that I have renewed enthusiasm to fix it.. (haha) Let you know,
Thank you,
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 04 Jan 2012, 23:13

Auria {l Wrote}:Oh you don't need to create the installer with NSIS, follow the instructions on the wiki but first part only, you don't need to make an installer

I've updated the wiki page to make this a bit clearer.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: segfault with two joysticks

Postby mwcmwc » 04 Jan 2012, 23:16

hiker {l Wrote}:
Auria {l Wrote}:Oh you don't need to create the installer with NSIS, follow the instructions on the wiki but first part only, you don't need to make an installer

I've updated the wiki page to make this a bit clearer.

Cheers,
Joerg



Thank you so much...
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby mwcmwc » 05 Jan 2012, 01:10

Hello,
Got into Visual c++. Started from the top, extracted dependency file into the main file i got from SVN checkout. Ran through debug (F5) in visual c++ got these two messages.
First enet - "These projects are out of date
debug Win32
supertuxkart - debug Win32"
Ok'ed it to debug, then got 2nd message saying
The application was unable to start correctly (0xc0150002). Click OK to close the application.
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 05 Jan 2012, 04:05

mwcmwc {l Wrote}:The application was unable to start correctly (0xc0150002). Click OK to close the application.

Can you make sure that the dll from the dependency package are in the same directory (the 'root' directory of the stk sources) as the executable (supertuxkart_d.exe)?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: segfault with two joysticks

Postby mwcmwc » 05 Jan 2012, 04:19

Looking at it now, think so. you have ogg.dll libcurl.dll openal32.dll pthreadvc2.dll Irrlichit.dll Irrlichit.dll.debug irrilicht.dll.release and supertuxkart_d (exe) in same main folder

is this right?
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby mwcmwc » 09 Jan 2012, 17:32

Hey guys hope you are enjoying vacation time. If anybody has any suggestions, let me know.
Thank you for patience...
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 09 Jan 2012, 23:56

Hi,

sorry for the delay.

Do you get a window open when you start it? Or does nothing happen? If you get a window, any messages in there?

mwcmwc {l Wrote}:Looking at it now, think so. you have ogg.dll libcurl.dll openal32.dll pthreadvc2.dll Irrlichit.dll Irrlichit.dll.debug irrilicht.dll.release and supertuxkart_d (exe) in same main folder

That sounds right. Unfortunately it's a bit hard to find out what is happening. You can try using the dependency walker (http://www.dependencywalker.com/). Install this, run the supertuxkart_d.exe in this (after loading press F7 iirc). Note that some error messages are normal (see the FAQ of the dependency walker).

Googling for this error messages finds a few more suggestions: have a look at the windows event log (http://support.microsoft.com/kb/308427), on XP it's in the control panel, then administrative tools. Other pages suggest to re-install VS (not sure how this is supposed to help, but you never know with STK).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: segfault with two joysticks

Postby mwcmwc » 10 Jan 2012, 01:35

ok, got a question, when i 'build' I get this a lot during build supertuxkart_d.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
Also Build started: Project: enet, Configuration: debug Win32 ------
1> enet.vcxproj -> C:\Users\Finca\Desktop\tux\src\ide\vc10\debug\enet.lib
2>------ Build started: Project: supertuxkart, Configuration: debug Win32 ------
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========

Ran dependency walker this is what I got:

MSVCR90d.dll Error opening file. The system cannot find the file specified (2).
GPSVC.DLL "
IESHIMS.DLL "


Everything else seems to go well.
Where do I get these, and how?
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 10 Jan 2012, 04:12

mwcmwc {l Wrote}:ok, got a question, when i 'build' I get this a lot during build supertuxkart_d.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file

Is this during build or run? Are you sure you have not modified any settings in the project file? Run "svn status" to make sure there are no changes.


Also Build started: Project: enet, Configuration: debug Win32 ------
1> enet.vcxproj -> C:\Users\Finca\Desktop\tux\src\ide\vc10\debug\enet.lib
2>------ Build started: Project: supertuxkart, Configuration: debug Win32 ------
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========

This all looks normal.

Ran dependency walker this is what I got:

MSVCR90d.dll Error opening file. The system cannot find the file specified (2).
GPSVC.DLL "
IESHIMS.DLL "


Everything else seems to go well.
Where do I get these, and how?

Googling gave:
http://social.msdn.microsoft.com/Forums ... 26ffc4b235

Does any of this help (esp. the last entry)?

Otherwise try compiling the non-debug version, and see if this works (projects->supertuxkart properties, then configuration manager, change active solution configuration to release).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: segfault with two joysticks

Postby mwcmwc » 10 Jan 2012, 06:22

Is this during build or run? Are you sure you have not modified any settings in the project file? Run "svn status" to make sure there are no changes.

Pretty sure I followed instructions correctly, and not modify anything should not have. :)

Googling gave:
http://social.msdn.microsoft.com/Forums ... 26ffc4b235

Does any of this help (esp. the last entry)?

Sent me to a site that recommended downloading Dllsuite, but would not allow to download unless paying $29.99. But it sent me in right track. Found a MSVCR90d.dll download, and got it but want to know exactly which file to put it into. I have a copy I found from other files on my computer of IEShims.dll and gpsvc.dll - I assume I could put those in too and make it work. Just thinking is there a copy of these from STK?
BTW how long until vs 8 is released?

Thank you,
MWC
mwcmwc
 
Posts: 52
Joined: 11 Dec 2011, 05:53

Re: segfault with two joysticks

Postby hiker » 10 Jan 2012, 13:10

mwcmwc {l Wrote}:Sent me to a site that recommended downloading Dllsuite, but would not allow to download unless paying $29.99. But it sent me in right track. Found a

Sorry, I didn't check the links any further.

MSVCR90d.dll download, and got it but want to know exactly which file to put it into. I have a copy I found from other files on my computer of

You mean directory?

First of all - did you check that you don't already have those files installed? Esp. msvcr90d.dll should already be there (which is the puzzling thing), it's part of VS, search for it using the windows search tool somewhere (it should be under Program Files/Microsoft*VS*.

msvcr90d.dll is not part of the windows redistributable (i.e. you can not redistribute a debug version of a program), so I am not even sure how legal that file is.

IEShims.dll and gpsvc.dll - I assume I could put those in too and make it work. Just thinking is there a copy of these from STK?

I have no idea what those are. I _think_ ieshims.dll is part of Internet Explorer, and it shouldn't matter if you don't have it (false positive from dependency walker?), see http://social.msdn.microsoft.com/Forums ... e3547e68b; similarly gspvc might be a false positive as well. So I'd try msvcr90d.dll first - but as I have said, it should already be installed (please check this before copying the dll anywhere).

BTW how long until vs 8 is released?

Quite some time (more like months than weeks I'd guess).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Who is online

Users browsing this forum: Google [Bot] and 1 guest