Friday, 2010-04-30

*** tpb has joined #freeorion00:00
GeofftheMediohow does it know what line the crash is at then, if the code changed since the symbols were generated?00:00
kr0ddnnoMobilthe crash is in GiGi00:00
kr0ddnnoMobilthe debug symbols of gigi didnt change00:00
GeofftheMediomissing the point, but nevermind00:01
kr0ddnnoMobilyes, i know what you mean00:01
kr0ddnnoMobilwe dont need updated symbols for that00:02
kr0ddnnoMobilcubathy: please download again00:02
kr0ddnnoMobilnow it shouldnt crash on line 288, maybe we now get a crash on another line00:03
GeofftheMedioone can only hope...00:03
kr0ddnnoMobilif not, then FO is known to not run on ATI open source and intel drivers :-)00:03
kr0ddnnoMobilfor the moment00:03
cubathywe have menu00:04
kr0ddnnoMobilthats the point where my notebook freezes00:04
cubathyi'm into a game - no idea what I'm doing but randomly clicking stuff seems ok :)00:05
kr0ddnnoMobilthats imposible! grrrrr00:05
kr0ddnnoMobiland why does my notebook freeze?00:05
cubathyblame acer - usually a safe bet00:05
kr0ddnnoMobilGeofftheMedio: i disabled the two lines00:06
kr0ddnnoMobil   //    if (glUseProgramARB)00:06
kr0ddnnoMobil    //    glUseProgramARB(0);00:06
GeofftheMedioI was just about to ask that00:06
GeofftheMediohmm.00:06
kr0ddnnoMobilthats what i did some days before when we where diskussing here00:06
GeofftheMedioI know00:07
kr0ddnnoMobilI think on my notebook its a sound card problem00:07
GeofftheMedioI've asked tzlaine about them00:07
kr0ddnnoMobilBut i cannot find out00:07
GeofftheMediohe says they're important00:07
GeofftheMedioI think it may only matter when switching between 2d and 3d mode00:07
GeofftheMediowhich doesn't happen if just running without combat enabled00:07
GeofftheMediokroddn: try disabling sound and music in the options?00:07
kr0ddnnoMobilaha00:07
kr0ddnnoMobili did00:07
GeofftheMediohmm00:07
kr0ddnnoMobilbut it seems to be using sound nevertheless00:07
GeofftheMedioit will still start up and initialize the sound system even if they're turned off00:08
GeofftheMediobut just won't try to output any sounds00:08
kr0ddnnoMobilyes00:08
GeofftheMedioprobably there needs to be a --no-sound command line flag00:08
kr0ddnnoMobilAs I said, i am not sure about what leads to the freeze00:08
kr0ddnnoMobilThe systems lags for some seconds and then freezes00:09
*** kr0ddnnoMobil has quit IRC00:10
*** kroddnoMobil has joined #freeorion00:10
*** ChanServ sets mode: +o kroddnoMobil00:10
kroddnoMobilI'll do experiments tomorrow, no its time to sleep00:11
GeofftheMedionight00:11
cubathythanks a lot00:12
GeofftheMediocubathy: could you try running "freeorion --test-3d-combat" and then starting a game with 10 stars and 3 AIs, and then hitting turn a few times until a combat happens?00:12
kroddnoMobilcubathy: its would be interesting to know if you can play a game without crash/freeze00:12
GeofftheMediokroddn: I'm assuming that cubathy can hit turn a few times without a crash, since there was no mention of doing so causing a crash00:13
cubathyyep, i can, running 3d now...00:13
cubathyok - it came up resolving combat or something, and now is showing a half empty screen, just see buttons "Turn" and "End Combat"00:15
cubathydoesn't seem to let me out when I click end combat00:16
GeofftheMedioyou can zoom with the scrollwheel, double click to recenter, and rotate the view with middle-button and mouse move00:16
cubathyno trace00:16
GeofftheMedioit's not supposed to let you out of combat... work in progress00:16
cubathyit doesn't show anything to rotate/zoom00:16
GeofftheMediono background, no star, no wormhole swirly things?00:17
cubathynoope00:17
GeofftheMediohmm00:18
GeofftheMedioodd00:18
GeofftheMediohaven't tried it in a few days though, so it might be normal00:18
GeofftheMedionot a major issue at the moment either way, as it's still being set up00:18
cubathyok, I'll try and debug it a bit tomorrow if I can get my build working00:21
cubathyis it maybe because of the shader language API change?00:26
GeofftheMediothere's nothing fancy happening on the line in question... it's just telling the driver to disable all shaders00:26
GeofftheMedioglUseProgram(0) should always work on GL 2.0 or greater, as far as I know00:28
cubathyI'd presume glXGetProcAddress((const GLubyte* )"glUseProgramARB") is NULL00:28
cubathythats what I'm saying - should it use glUseProgram instead of glUSeProgramARB00:28
GeofftheMediothere's a if () before the function pointer is called.  if it was null, it wouldn't be called00:29
cubathy...true :)00:29
GeofftheMedioyou can try removing the ARB on those lines00:29
GeofftheMedioI think I suggested that to kroddn, and it didn't help00:29
cubathyI'll play around with it tomorrow, my build still isn't working00:30
cubathyanyway. thanks for all the help00:31
cubathynight00:31
*** cubathy has quit IRC00:36
*** mithro has joined #freeorion00:51
*** bernardh has quit IRC01:18
*** tomboy65 has quit IRC02:32
*** STalKer-X has quit IRC03:20
*** STalKer-Y has joined #freeorion03:20
CIA-76FreeOrion: tzlaine * r3565 /trunk/FreeOrion/ (UI/CombatWnd.cpp combat/OpenSteer/CombatShip.cpp):03:27
CIA-76FreeOrion: Three fixes to bugs uncovered by Valgrind:03:27
CIA-76FreeOrion: - Initialized CombatShip::m_enter_starlane_start_turn.03:27
CIA-76FreeOrion: - Initialized CombatWnd::m_star_brightness_factor.03:27
CIA-76FreeOrion: - In CombatWnd::CombatTurnUpdate(), moved the call to03:27
CIA-76FreeOrion: PathingEngine::TurnStarted() outside the loop it was mistakenly placed in.03:27
*** kr0ddnoMobil has joined #freeorion03:44
*** ChanServ sets mode: +o kr0ddnoMobil03:44
*** kroddnoMobil has quit IRC03:48
CIA-76FreeOrion: tzlaine * r3566 /trunk/FreeOrion/combat/OpenSteer/PathingEngine.cpp: Fixed the PathingEngine dtor, which was intermittently crashing the AI clients.04:02
CIA-76FreeOrion: tzlaine * r3567 /trunk/FreeOrion/UI/CombatWnd.cpp: Removed certain bits of testing cruft from CombatWnd.04:03
CIA-76FreeOrion: tzlaine * r3568 /trunk/FreeOrion/server/ServerApp.cpp:04:19
CIA-76FreeOrion: Increased the minumum number of server-side PathingEngine update iterations, to04:19
CIA-76FreeOrion: increase agreement between the client and server object positions.04:19
*** aleksil has joined #freeorion05:56
kr0ddnoMobilGeofftheMedio: could it be possible that calling glUseProgram(0) is possible only after a prior call to it with a valid program? I don't know exactly why tzlaine calls it, as in the whole source there is never an own program added by glUseProgram (or an according ARB funciton)07:19
*** enigmatic has joined #freeorion07:23
GeofftheMedioI don't see any mention of that anywhere07:28
kr0ddnoMobilMaybe in ogre itself? Would you ask tzlaine again if we could skip this code for the current 0.3.14?07:34
kr0ddnoMobilit would make have sense to call it if a subprogram would have called it with an own programm, but that would be dirty too07:35
kr0ddnoMobilas far as I understand what I read you would use glUseProgramARB(0) only after you have added your own Programm before07:36
kr0ddnoMobiland that has to be done by the code that adds it, not by this function Enter2DMode()07:36
GeofftheMedioit's much simpler to have all rendering code not need to worry about cleaning up its shader programs, and instead have every bit of code set up the rendering state for itself07:40
GeofftheMedioenter2dmode doesn't assume anything about the previous rendering state, so calls useprogram(0) to set things up for 2D rendering07:41
GeofftheMediothis isn't an ogre issue, unless something very weird is going on07:41
GeofftheMediowhat happens if you remove all this code:07:44
GeofftheMediotypedef void (*BindBufferARBFn)(GLenum, GLuint);07:44
GeofftheMedio#if OGRE_PLATFORM == OGRE_PLATFORM_WIN3207:44
GeofftheMedio    BindBufferARBFn glBindBufferARB = (BindBufferARBFn)wglGetProcAddress("glBindBufferARB");07:44
GeofftheMedio#elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE07:44
GeofftheMedio    BindBufferARBFn glBindBufferARB = (BindBufferARBFn)aglGetProcAddress("_glBindBufferARB");07:44
GeofftheMedio#else07:44
GeofftheMedio    BindBufferARBFn glBindBufferARB = (BindBufferARBFn)glXGetProcAddress((const GLubyte* )"glBindBufferARB");07:44
GeofftheMedio#endif07:44
GeofftheMedio    if (glBindBufferARB) {07:44
GeofftheMedio        glBindBufferARB(GL_ARRAY_BUFFER_ARB, 0);07:44
GeofftheMedio        glBindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, 0);07:45
GeofftheMedio        glBindBufferARB(GL_PIXEL_PACK_BUFFER_ARB, 0);07:45
GeofftheMedio        glBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, 0);07:45
GeofftheMedio    }07:45
GeofftheMedio    typedef void (*UseProgramARBFn)(GLuint);07:45
GeofftheMedio#if OGRE_PLATFORM == OGRE_PLATFORM_WIN3207:45
GeofftheMedio    UseProgramARBFn glUseProgramARB = (UseProgramARBFn)wglGetProcAddress("glUseProgramARB");07:45
GeofftheMedio#elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE07:45
GeofftheMedio    UseProgramARBFn glUseProgramARB = (UseProgramARBFn)aglGetProcAddress("_glUseProgramARB");07:45
GeofftheMedio#else07:45
GeofftheMedio    UseProgramARBFn glUseProgramARB = (UseProgramARBFn)glXGetProcAddress((const GLubyte* )"glUseProgramARB");07:45
GeofftheMedio#endif07:45
GeofftheMedio    if (glUseProgramARB)07:45
GeofftheMedio        glUseProgramARB(0);07:45
GeofftheMedioand replace with07:45
GeofftheMedio    glBindBuffer(GL_ARRAY_BUFFER_ARB, 0);07:45
GeofftheMedio    glBindBuffer(GL_ELEMENT_ARRAY_BUFFER_ARB, 0);07:45
GeofftheMedio    glBindBuffer(GL_PIXEL_PACK_BUFFER_ARB, 0);07:45
GeofftheMedio    glBindBuffer(GL_PIXEL_UNPACK_BUFFER_ARB, 0);07:45
GeofftheMedio    glUseProgram(0);07:45
GeofftheMedio(maybe remove the _ARB in those GL constants too)07:45
kr0ddnoMobilthose calls without _ARB are not existing07:54
GeofftheMediook, try adding07:54
GeofftheMedio# include <GL/gl.h>07:54
GeofftheMedio# include <GL/glu.h>07:54
kr0ddnoMobildamn, i should have a look at those things before i post ^^07:55
kr0ddnoMobilbut that doesnt change anything07:56
kr0ddnoMobilglBindBuffer is available only if the GL version is 1.5 or greater.07:56
GeofftheMedioand glUseProgram is only available in GL 2.0 or greater07:56
GeofftheMediowhat gl version are you running?07:58
kr0ddnoMobili am RUNNING gl 1.507:58
kr0ddnoMobilbut on the system I compile I use the dummy framework07:58
kr0ddnoMobilhm, maybe i sould install a winxp on my notebook to see if win32 version of FO is running properly08:00
GeofftheMedioif you want...08:00
kr0ddnoMobilto much work ^^08:10
GeofftheMediocould you have a look what ogre does to get gluseprogram so that it can work even if the gl version is less than 2.0 ?08:10
*** tomboy64 is now known as MacBash08:13
kr0ddnoMobilGeofftheMedio: seems that they do it the same way as tzlaine did it08:13
kr0ddnoMobil(glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram"))08:14
kr0ddnoMobilhm, they use glewXXX08:14
*** tomboy65 has joined #freeorion08:15
GeofftheMedioI think glew is win32 only?08:15
kr0ddnoMobilglew is a extendet framework, isnt it�08:16
GeofftheMedioI seem to recall "GL Extension Wrangler"08:16
*** MacBash has quit IRC08:19
kr0ddnoMobilGeofftheMedio: i changed the call to glXGetProcAddress((const GLubyte*)"glUseProgram")08:20
kr0ddnoMobilno crash08:20
*** kroddnoMobil has joined #freeorion08:22
*** ChanServ sets mode: +o kroddnoMobil08:22
kroddnoMobilGeofftheMedio: guess what...08:24
GeofftheMediouseful for does  glXGetProcAddress((const GLubyte*)"glUseProgram") return a NULL pointer, though?08:25
GeofftheMedio(ignore the "useful for")08:25
kroddnoMobilI think glXGetProcAddress((const GLubyte*)"glUseProgram") returns NULL, so no crash happens. Bzt then I encounter that problem that my notebook encounters08:25
*** kr0ddnoMobil has quit IRC08:25
kroddnoMobilHm, it returns a valid object08:27
kroddnoMobil$1 = (GG::OgreGUI::UseProgramARBFn) 0x99a4a0 <glUseProgramObjectARB>08:27
GeofftheMedioisn't the other problem audio related?08:27
kroddnoMobili do not know08:28
kroddnoMobilThe main menu comes up, and then it freezes after some seconds08:28
kroddnoMobilno errors, no output, no syslog entries08:28
GeofftheMediotry commenting out all the contents of all the functions in Sound.cpp08:29
kroddnoMobilApr 30 10:20:58 natter kernel: [519632.517831] evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http:08:29
kroddnoMobilhm08:29
kroddnoMobildidn't realize that syslog error before08:30
kroddnoMobilApr 30 10:30:28 natter pulseaudio[1622]: ratelimit.c: 136 events suppressed08:30
kroddnoMobilso my intention seems to be right08:31
GeofftheMedio?08:31
kroddnoMobilpulseaudio is audio ^^08:31
GeofftheMedioah.08:32
GeofftheMedioso yeah: comment out code in Sound.cpp08:32
GeofftheMedioif that works, we can add a --no-sound command line flag as well08:32
kroddnoMobilmaybe you can look at http://userweb.kernel.org/~dtor/eviocgbit-bug.html08:37
tpb<http://ln-s.net/6-UF> (at userweb.kernel.org)08:37
kroddnoMobilthis exolains something about that bug08:37
kroddnoMobiland maybe we can find the problem08:37
kroddnoMobilif it is not a bug in openAL08:38
GeofftheMedioI don't find  ioctl in sound.cpp08:39
GeofftheMediois that call within openal?08:41
*** kr0ddnoMobil has joined #freeorion08:43
*** ChanServ sets mode: +o kr0ddnoMobil08:43
kr0ddnoMobilguess what08:44
GeofftheMedio...?08:44
kr0ddnoMobilI could start a game08:45
GeofftheMedioafter doing what?08:45
kr0ddnoMobilBut as soon as the main screen appeard, it froze again08:45
*** kroddnoMobil has quit IRC08:46
kr0ddnoMobilstill entries in my syslog08:46
GeofftheMedioafter what changes?08:46
kr0ddnoMobilafter disabling the functions in sound.cpp08:46
kroddnI'll try to find out what this syslog messages come from08:49
kroddnmaybe its not only sound08:49
GeofftheMediocan you pastebin your sound.cpp08:49
GeofftheMedio?08:49
kroddnis there other places where sound is initialized?08:49
GeofftheMedioI don't think so08:50
planetmakerjust a comment from the off: pulseaudio is known to cause freezes / hangs on some systems08:51
planetmakerespecially ubuntu08:51
*** kr0ddnoMobil has quit IRC08:51
GeofftheMedioare you sure the evdev.c thing is sound related?08:52
kroddnOkay, this was my fault... i commented out the wrong way08:52
GeofftheMedioI'm finding some references to it that appears to be OIS related08:52
kroddnGeofftheMedio: there are other log lines like that: Apr 30 10:30:28 natter pulseaudio[1622]: ratelimit.c: 136 events suppressed08:53
GeofftheMediohmm08:53
kroddnthats why I thought of sound08:53
kroddnmaybe its ois08:53
GeofftheMedioagain: could you pastebin your sound.cpp ?08:53
planetmakerhttp://paste.openttd.org/225721 <-- explanation08:54
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)08:54
kroddnhttp://freeorion.psitronic.de/src/Sound.cpp08:55
GeofftheMedioyou still need to return 0 from RefillBuffer08:57
*** bernardh has joined #freeorion09:07
*** kroddnoMobil has joined #freeorion09:35
*** ChanServ sets mode: +o kroddnoMobil09:35
*** kroddnoMobil has quit IRC10:15
*** kroddnoMobil has joined #freeorion10:28
*** ChanServ sets mode: +o kroddnoMobil10:28
kroddnoMobilGeofftheMedio: this all didn't make a difference10:30
kroddnoMobilWhere did you find the infos according OIS ?10:30
GeofftheMediohttp://www.orxonox.net/changeset/5695/code/trunk/src10:31
GeofftheMediosearch page for ioctl10:31
tpbTitle: Changeset 5695 for code/trunk/src – Orxonox (at www.orxonox.net)10:31
kroddnoMobilthere are a lots of them :-)10:35
GeofftheMediofirst10:37
kroddnoMobillenny has ois 0.9910:39
kroddnoMobili will try upgrading to 1.210:39
kroddnoMobilits easy to upgrade that, so I'll give it a try10:40
kroddnoMobilthats not fixed in 1.2.0 :-(10:56
*** kroddnoMobil has quit IRC11:12
*** kroddnoMobil has joined #freeorion11:13
*** ChanServ sets mode: +o kroddnoMobil11:13
kroddnoMobilGeofftheMedio: I now fixed the errors that syslog reported by fixing the code in ois itself11:16
GeofftheMedioI'm surprised that worked11:17
kroddnoMobilBut it still freezes, although I am now able to move the mouse11:17
kroddnoMobilMeans: its not freezing completely, the mouse will move every 3-5 seconds11:17
GeofftheMedioit would probably be good to post a bit about the changes you're making11:17
GeofftheMedioso google can index them, and anybody else trying to compile freeorion can duplicate them11:18
planetmakerkroddnoMobil, is that SDL + pulseaudio you're using?11:18
kroddnoMobilno, we are using ogre instead of SDL11:19
planetmakerhttp://paste.openttd.org/225721 <-- did you check wether it still might be related to the pulseaudio behaviour described there? Wether that exactly might be the difference between "now" and "earlier"?11:21
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)11:21
planetmakerit's mainly a pulseaudio thing - so it might show with other front-ends, too11:21
planetmakerbasically some change in handling the scheduling of audio changed...11:22
planetmakers/changed/was introduced/11:23
kroddnoMobili'll try tha11:24
kroddnoMobilSaying goodby, until later ;-)11:24
planetmakerenjoy11:25
planetmakerit's just an idea and might be completely off. But I see a bug report about that every week.11:25
*** kroddnoMobil has quit IRC11:25
*** kroddnoMobil has joined #freeorion11:33
*** ChanServ sets mode: +o kroddnoMobil11:33
kroddnoMobildid not work11:34
kroddnoMobilOne thing is possitive - we now know that FO can run on ATI or Intel systems with open source drivers11:36
kroddnoMobilplanetmaker: which OS do you have?11:36
kroddnoMobilHm, i could try running FO on a Knoppix11:37
planetmakerkroddnoMobil, the only one I can run FO on is OSX. But I know that bug from yeah.. OpenTTD forums and bug tracker where it shows with ubuntu and pulseaudio11:39
planetmakermy linux has too old OpenGL unfortunately. And... I shouldn't mess too much with this system ;-)11:39
*** mithro has quit IRC11:40
kroddnoMobilDo you have a linux?11:41
kroddnoMobilThe version I provide does not need any messing up :-)11:41
kroddnoMobiljust extract in /tmp and run ./freeorion11:41
planetmakerI do have linux here at university11:41
planetmakerYes... but opengl?11:41
kroddnoMobilbut maybe without opengl :-)11:42
kroddnoMobilgive it a try11:42
kroddnoMobilmaybe a software renderer is available11:42
planetmakerI tried to compile the last year's stable - which failed due to that reason11:42
kroddnoMobilIt won't be playable, but maybe a positive feedback11:42
planetmakerit will be on suse 11.011:43
planetmakercan you give me the svn URL?11:45
planetmakernvm ... https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk11:47
tpb<http://ln-s.net/1MR4> (at freeorion.svn.sourceforge.net)11:47
kroddnoMobilhttp://freeorion.psitronic.de/download/nightly/11:49
tpbTitle: Index of /download/nightly (at freeorion.psitronic.de)11:49
kroddnoMobilbut wait some minutes, i'll release a new one11:50
planetmakerjust highlight me11:50
kroddnoMobilAnd I'll try knoppix11:53
kroddnoMobilplanetmaker12:00
kroddnoMobilhttp://freeorion.psitronic.de/download/nightly/12:00
tpbTitle: Index of /download/nightly (at freeorion.psitronic.de)12:00
kroddnoMobildownload the freeorion_rev3568_i386_static.tar.gz12:00
kroddnoMobiland I'll boot knoppix12:00
*** kroddnoMobil has quit IRC12:00
planetmakerseems like an insuccessful re-boot?12:16
planetmakeranyway... the provided version seems to run fine.12:17
planetmakerMostly that is as I can't figure out how to send ships around and the sensor area around the HW doesn't show either.12:17
planetmakerBut it's not more sluggish than I'd expect on this machine12:17
planetmaker(and most things are sluggish here :-P )12:17
*** kroddnoMobil has joined #freeorion12:22
*** ChanServ sets mode: +o kroddnoMobil12:22
planetmakerwelcome back :-)12:25
planetmaker<planetmaker> anyway... the provided version seems to run fine.12:25
planetmaker<planetmaker> Mostly that is as I can't figure out how to send ships around and the sensor area around the HW doesn't show either.12:25
planetmaker<planetmaker> But it's not more sluggish than I'd expect on this machine12:25
planetmaker<planetmaker> (and most things are sluggish here :-P )12:25
planetmakerin turn two the ships seem accessible, too. But maybe I was just stupid12:25
kroddnoMobilThere are two fleets12:26
planetmakerwell. yes12:26
kroddnoMobilone with scouts and colony ship12:26
planetmakerboth are accessible12:26
kroddnoMobilyou can drag&drop the scouts into the new fleet field and then send each scout to a system12:26
kroddnoMobilto a unexplored system i mean12:26
kroddnoMobilIf i remember right you have to left-click on the fleet and then left click on the target syste,12:27
kroddnoMobilKnoppix doesnt run properly, i couldnt test :(12:27
planetmakeryes.. actually there's one problem: I don't see the starlanes12:28
kroddnoMobilthat can be enabled in the options12:28
GeofftheMediouh... no it can't12:29
GeofftheMediomore so, it can't be disabled12:29
kroddnoMobilah, i understand^^12:29
GeofftheMedioyou should always be able to see lanes12:29
GeofftheMediomaybe this is a side effect of not calling glUseProgram(0) ?12:29
kroddnoMobilplanetmaker: can you paste the output from glxinfo ?12:29
GeofftheMedioplanetmaker: if you open the options screen and to to the galaxy map tab...12:29
GeofftheMedio... is fog of war scanlines enabled?12:30
GeofftheMedioalso, you CAN enable the visibility circles on that page12:30
planetmakerhttp://paste.openttd.org/22572212:30
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)12:30
planetmakerGeofftheMedio, how can I do that? Options?12:30
GeofftheMediomenu, options12:30
kroddnoMobilopen GL 1.412:30
planetmakeryes. That's what I said: old crappy opengl :-)12:31
GeofftheMedioif GL is that low, various rendering options will have been disabled12:31
GeofftheMediosuch as the scanlines12:31
planetmakerscan radius found.12:34
kroddnoMobilIf i remember right i didnt have starlanes before my crashes too12:35
*** bernardh has quit IRC12:35
planetmakerhm... it was no good idea to try to enable galaxy gas:12:35
planetmaker./freeorion: line 143: 14693 Segmentation fault      ${FO_TRACE} ${FO_GDB_ARGS} ./freeorion --resource-dir ./default $@12:35
kroddnoMobilas expected :-)12:35
kroddnoMobilthat needs opengl 1.512:35
planetmakeruhm... expected crash?12:35
kroddnoMobilyes ^^12:36
planetmakerI'd expect usually an ifdef ;-)12:36
kroddnoMobilnot in an unstable alpha version ^^12:36
planetmaker:-P ok12:36
GeofftheMedioit's difficult to use a compile time switch to disable functionality that can only be tested for by getting a string on the machine running the code12:37
planetmakerwell, yes, that can't, I agree12:37
kroddnoMobilplanetmaker: http://freeorion.psitronic.de/download/nightly/freeorion/application/freeorion <- Exe without my "Fix"12:38
tpb<http://ln-s.net/6:CA> (at freeorion.psitronic.de)12:38
planetmakerbut something like "fool! get a better machine and library support! :P " ;-)12:38
GeofftheMedioit disabled the gas rendering based on your gl version12:38
kroddnoMobilthats work in progress i think - in earlier versions fo didn even start when havin open gl less than 1.512:38
GeofftheMediothe only foolish part was turning it back on12:38
planetmakerhehe12:39
planetmakeruser usually are way more stupid than one can expect :-P12:39
kroddnoMobilare you downloading?12:40
planetmakeralready done12:40
planetmakergigabit backbone is fast :-P12:40
kroddnoMobilthats the advantage of compiling on a root server ^^12:41
kroddnoMobilno slow upload needed12:41
planetmakeryeah. And being attached to the backbone helps with download :-P12:41
kroddnoMobilgrml12:41
kroddnoMobilIn �freeorion_rev3553_i386_static.tar.gz� speichern.12:41
kroddnoMobil68% [===================================================================>                                ] 115.407.030  243K/s  ETA 3m 28s12:41
kroddnoMobil243 kb...12:41
planetmakerhm... that binary is missing libCg.so12:43
kroddnoMobil?12:43
kroddnoMobilno ^^12:43
kroddnoMobilyou replaced the wrong file i would suppose12:43
kroddnoMobilreplace application/freeorion  and run ./freeorion12:43
kroddnoMobillibGc is inside application/lib12:44
planetmakeryes. I didn't know I needed to replace that one.12:44
planetmakerWell... :12:44
planetmaker./freeorion: line 143: 14920 Segmentation fault      ${FO_TRACE} ${FO_GDB_ARGS} ./freeorion --resource-dir ./default $@12:44
planetmakerwe've seen that ;-)12:45
kroddnoMobilcan you try ./freeorion --gdb12:45
kroddnoMobiland then type start12:45
kroddnoMobilit should crash on something line 288 :-)12:45
planetmakerno idea12:46
planetmaker---Type <return> to continue, or q <return> to quit---12:47
planetmaker(no debugging symbols found)12:47
planetmakerProgram received signal SIGSEGV, Segmentation fault.12:47
planetmaker[Switching to Thread 0xb743d6d0 (LWP 14956)]12:47
planetmaker0x000010c9 in ?? ()12:47
planetmakerno debugging symbols found btw12:47
kroddnoMobilah okay, cannot work without debugging symbols of course12:47
kroddnoMobilbut surely its the crash we were working on12:47
planetmakerit's exactly the same as I got when enabling the gas in the galaxy...12:48
GeofftheMedioyou might want to add some std::cout << "About to execute line 228" << std::endl; in there12:48
GeofftheMedioyou might want to delete your config.xml then12:48
kroddnoMobilremove the whole $HOME/.freeorion12:49
planetmakerwhom? Me?12:49
kroddnoMobilyes, you12:49
GeofftheMedio"do just what he told you to"12:49
planetmakerok... and then?12:50
kroddnoMobilthe run again12:52
planetmakergdb or not?12:52
kroddnoMobilgdb12:52
kroddnoMobildid you download the debug symbols?12:52
planetmakerwait... new binary?12:53
kroddnoMobilhttp://freeorion.psitronic.de/download/nightly/freeorion_rev3553_i386_static.tar.gz12:53
tpb<http://ln-s.net/6:M5> (at freeorion.psitronic.de)12:53
kroddnoMobil�h stop12:53
kroddnoMobilhttp://freeorion.psitronic.de/download/nightly/freeorion_rev3553_debugsymbols.tar.gz12:53
tpb<http://ln-s.net/6:MC> (at freeorion.psitronic.de)12:53
kroddnoMobilbe sure to be inside the right dir when extracting12:55
planetmakerhm, yeah. Are you aware that those debug symbols are for another version?12:55
kroddnoMobilI think its freeorion main installation dir where you have to extract it to12:55
planetmakerr3553 vs r3568 ?12:55
kroddnoMobilthe exe you downloaded is from355312:55
kroddnoMobilits an older version without my recent patches12:56
planetmakerah, damn... need to re-download that :-)12:56
kroddnoMobilwhy?12:56
planetmakerI thought it was a new whole install the debug thingy and deleted the old ;-)12:56
kroddnoMobilaha12:56
kroddnoMobilthen download both http://freeorion.psitronic.de/download/nightly/freeorion_rev3553_i386_static.tar.gz and http://freeorion.psitronic.de/download/nightly/freeorion_rev3553_debugsymbols.tar.gz12:56
tpb<http://ln-s.net/6:M5> (at freeorion.psitronic.de)12:56
planetmakerBreakpoint 1 at 0x853d871: file client/human/chmain.cpp, line 61.13:02
planetmakerStarting program: /home/ingo/freeorion/freeorion/application/freeorion --resource-dir ./default13:02
planetmaker[Thread debugging using libthread_db enabled]13:02
planetmaker[New Thread 0xb74116d0 (LWP 15206)]13:02
planetmaker[Switching to Thread 0xb74116d0 (LWP 15206)]13:02
planetmakermain (argc=3, argv=0xbfbfbf54) at client/human/chmain.cpp:6113:02
planetmaker61      client/human/chmain.cpp: No such file or directory.13:02
planetmaker        in client/human/chmain.cpp13:02
planetmakershould I go on from there? call a backtrace? ...?13:11
kroddnoMobilyes13:18
kroddnoMobilbt13:18
planetmaker#0  main (argc=3, argv=0xbfbfbf54) at client/human/chmain.cpp:6113:21
planetmakerthat's all13:21
planetmakercontinue?13:22
kroddnthats a strange position for the crash13:39
kroddndid you remove $HOME/.freeorion/ completely?13:39
planetmakeryes13:39
planetmakerrm -rf ~/.freeorion should do the job13:40
planetmakeractually... the dir wasn't re-created by that point13:41
planetmakerit doesn't exist as of now13:41
planetmakerand... when I continue, I get that:13:46
planetmakerhttp://paste.openttd.org/13:46
planetmakerwhich might rather be the crash13:46
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)13:46
planetmakerso it doesn't find a file - but that's non-fatal13:46
planetmakerbut that's some kind of breakpoint13:47
GeofftheMediomissing link number13:48
planetmakerI don't understand13:50
GeofftheMedionormally there's a number after the / in a paste ...?13:50
planetmakerwhich slash?13:51
planetmakeroh. :-)13:52
planetmakerhttp://paste.openttd.org/22572513:52
tpbTitle: OpenTTD PasteBin (at paste.openttd.org)13:52
planetmakerThe link I posted :-)13:52
planetmakersorry13:52
kroddnThe point where your crash is is strange14:10
kroddnnever had that before14:10
kroddnIs that the end of the backtrace?14:11
kroddnplease post the highest #XX position, that may be inside the file GG/Ogre/OgreGUI.cpp14:12
kroddn#1  0x085235d9 in HumanClientApp::Enter2DMode (this=0xbfe8f390) at client/human/HumanClientApp.cpp:47114:12
kroddnGeofftheMedio: we should add to the code that it shows which GG revision was used14:13
kroddnI now don't know what i used with 355314:14
kroddn469 void HumanClientApp::Enter2DMode()14:16
kroddn  470 {14:16
kroddn  471     OgreGUI::Enter2DMode();14:16
GeofftheMediogigi hasn't changed in a week14:16
kroddnGeofftheMedio: right, but it would be a good improvement14:16
GeofftheMediohmm14:17
kroddnFor some reason the debug symbols do not contain gigi debug14:17
GeofftheMediomight be difficult to do in a portable way...14:17
GeofftheMediothat doesn't depend on gigi being located in a particular place when building freeorion14:17
kroddn?14:17
GeofftheMediounless you convinced tzlaine to add a Version() function to GG14:17
kroddni mean the SVN revision14:18
GeofftheMedioI know14:18
kroddnlike it is shown for freeorion14:18
GeofftheMedioI know14:18
GeofftheMediobut how do you get the SVN version?14:18
kroddnhow does FO do it?14:18
GeofftheMedioSVN command and rewriting version.cpp14:18
GeofftheMedioonly actually works for the scons build though14:18
planetmakerusually you'd do it in a configure script ^14:18
kroddnso why don't do that for gigi14:18
planetmakerkroddn, that's the full backtrace I get, yes14:19
kroddnplanetmaker: the part for gigi is missing14:19
GeofftheMedioas I suggested, you could convince tzlaine to add a Version function to GG14:19
kroddnbut likely it is the line that caused the crash before14:19
planetmakerkroddn, how would I obtain that? That's a verbatim copy&paste from my xterm14:19
GeofftheMediobut since it currently only works for the scons build, and not the cmake, we'd need to figure out a way to make it work for cmake as well14:20
planetmakerhm, why support two build systems actually?14:20
GeofftheMediobecause kroddn doesn't like cmake14:20
planetmaker:-P14:21
GeofftheMediobut really, I'm not actually suggesting that we need to14:21
GeofftheMedioI'm saying we need to make it work for cmake14:21
kroddnno, thats NOT the fact14:21
kroddnI am not able to build FO correctly with cmake14:21
kroddnI cannot do some static linking tricks with it14:22
planetmakeruh... I didn't want to kick an ant hive :S14:22
kroddnno problem, there is no ant hive :-)14:22
GeofftheMedioconsider that one of the reasons why I say you dislike it14:22
kroddn<planetmaker> kroddn, how would I obtain that? That's a verbatim copy&paste from my xterm <--- you wouldnt be able to obtain it, because there is no debug info inside the debug-files14:23
kroddnI had problems getting gigi compiled in a Debug version using cmake ;-)14:23
kroddnI dont know for sure if the debug symbols work with the latest release14:25
planetmakerok14:26
kroddnand the latest version doesn't crash on your system, thats the other problem :-)14:29
kroddnor say the problem is the missing starlanes14:29
planetmakerwell, yes. But that's an old OpenGL. Not sure it's worth to worry about this system too much.14:33
kroddnit is goog to know where the crashes come from14:45
kroddnthanks for the help !14:48
planetmaker:-)14:48
planetmakeryou're welcome, my pleasure14:49
planetmakerweekdays in European evening hours I could do some testing sometimes. Tell me, if you need it14:49
kroddnyes, of course we need that14:50
planetmakeranyway... now I'm off for 1st May weekend :-)15:01
CIA-76FreeOrion: id-ego * r3569 /trunk/FreeOrion/ (2 files in 2 dirs):15:12
CIA-76FreeOrion: - Noticed that Xcode project wasn't compiling Vec3Utilities.cpp source file15:12
CIA-76FreeOrion: - ServerApp.cpp: std::max(unsigned int, std::size_t) can result in inconsistent types in function template, changed local variables to std::size_t15:12
CIA-76FreeOrion: id-ego * r3570 /trunk/FreeOrion/Xcode/Info.plist: Mac app bundle version bump.15:17
kroddnplanetmaker: wenn GeofftheMedio mal nicht hier ist k�mma auch Deutsch quatschen :-)15:18
kroddnGeofftheMedio: how can I improve the increase of the constuction meter ?15:58
kroddnis there any research for that?15:58
kroddnGeofftheMedio: 3D comabt starts successfully on my nvidia system - but i cannot end/exit the combat window16:08
kroddnGeofftheMedio: I've got a positive feedback from an opengl 1.4 Netbook user, he is running FO16:13
kroddnstrange thing those missing starlines on planetmaker's system16:13
kroddnhttp://img7.abload.de/img/freeorion9uh7.png16:17
*** enigmatic has quit IRC18:43
CIA-76FreeOrion: tzlaine * r3571 /trunk/FreeOrion/UI/CombatWnd.cpp:20:00
CIA-76FreeOrion: Fixed the bug that was causing all (or at least nearly all) of the20:00
CIA-76FreeOrion: disagreement between the server and client object positions. The CombatObject20:00
CIA-76FreeOrion: added as user data to each Ogre::SceneNode was not being set to the new20:00
CIA-76FreeOrion: incoming CombatObject in CombatWnd::CombatTurnUpdate(), causing old object20:00
CIA-76FreeOrion: state to be used. This is now fixed.20:00
*** kr0ddnoMobil has joined #freeorion20:03
*** ChanServ sets mode: +o kr0ddnoMobil20:03
*** kroddnoMobil has quit IRC20:04
kr0ddnoMobilGeofftheMedio: i have the same problem running ufoai on my notebook, so the crash is definitively no FO specific problem20:23
kr0ddnoMobilI'll upgrade now to Ubuntu 10.0420:24
STalKer-Yjust ignore GeofftheMedio and talk in deutsch :>21:06
kr0ddnoMobilGeofftheMedio needs input input input!21:11
*** kr0ddnoMobil has quit IRC21:23
GeofftheMediogoogle translate says: if time is not here GeofftheMedio kömma also German chat :-)22:34
GeofftheMedioso... that's nice.22:34
GeofftheMediokroddn: since there's no transition to and from 3D mode in the current build, you can probably leave those gluseprogram lines commented out for the v0.3.14 release22:35
GeofftheMedioit's going to matter again once 3D combat is working, though...22:35
*** welterde has quit IRC23:05
*** kroddnoMobil has joined #freeorion23:53
*** ChanServ sets mode: +o kroddnoMobil23:53

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!