--- Log opened Fri Sep 09 00:00:04 2011 20110909 00:00:11< thonsew> loonycyborg: Awesome. Where is it called from? 20110909 00:00:24< loonycyborg> src/image.cpp:206 20110909 00:02:51< thonsew> I think I know what the problem is, but I only have 10 more minutes. I'll try and post a patch to this specific case, but it indicates a larger potential problem. 20110909 00:03:18< anonymissimus> Gambit: I don't understand your point 20110909 00:08:54< thonsew> loonycyborg: I'm compiling now. Thanks a lot for tracking down the location of the null reference. 20110909 00:09:08< loonycyborg> np 20110909 00:09:51-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 276 seconds] 20110909 00:17:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 00:31:01< CIA-22> thonsew * r51081 /trunk/src/ (image.cpp image.hpp token.cpp): Another possible partial fix to static initialization fiasco 20110909 00:31:16< thonsew> loonycyborg: Try this out and then post a message/results. I have to go. bye. 20110909 00:31:24-!- thonsew [~thonsew__@gateway/tor-sasl/thonsew] has left #wesnoth-dev ["Leaving"] 20110909 00:31:43< Espreon> Ugh, I'm tired of all these fiaschi. 20110909 00:33:31-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20110909 00:34:12-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 00:35:18-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110909 00:37:49-!- enchilado [~enchilado@unaffiliated/enchilado] has quit [Read error: No route to host] 20110909 00:40:28< loonycyborg> It still segfaults, now from another place though. 20110909 00:46:24-!- noy_ [~Noy@74.198.151.65] has joined #wesnoth-dev 20110909 00:46:24-!- noy_ [~Noy@74.198.151.65] has quit [Changing host] 20110909 00:46:24-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 00:48:29-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 250 seconds] 20110909 00:48:31-!- noy_ is now known as noy 20110909 00:54:45< CIA-22> espreon * r51082 /trunk/src/ (12 files in 3 dirs): Ran umcpropfix. 20110909 00:55:37< noy> wesbot: seen zookeeper? 20110909 00:55:37< wesbot> noy: The person with the nick zookeeper last spoke 2h 12m ago. 45m 46s ago was here and on the channels #wesnoth and #wesnoth-umc-dev with the message: Ping timeout: 276 seconds 20110909 00:55:57< Espreon> noy: What's wrong? 20110909 00:56:12< noy> just had a question for him 20110909 00:56:22< Espreon> What type of question? 20110909 00:56:32< Espreon> A WML question? 20110909 00:56:35< noy> ah, its for him 20110909 00:56:36< noy> no 20110909 00:56:42< Espreon> Oh, OK then. 20110909 01:04:47-!- wesbot changed the topic of #wesnoth-dev to: 175 bugs, 331 feature requests, 18 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110909 01:06:20< CIA-22> espreon * r51083 /trunk/utils/valgrind_memcheck_suppressions.supp: Set svn:eol-style. 20110909 01:12:50-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has joined #wesnoth-dev 20110909 01:12:50-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has quit [Changing host] 20110909 01:12:50-!- enchilado [~enchilado@unaffiliated/enchilado] has joined #wesnoth-dev 20110909 01:14:47< CIA-22> espreon * r51084 /trunk/players_changelog: Improved liminal entry. 20110909 01:22:49-!- tschmitz [18827665@gateway/web/freenode/ip.24.130.118.101] has joined #wesnoth-dev 20110909 01:24:09< tschmitz> gabba: I see you're back and in action. 20110909 01:24:49< gabba> tschmitz: hi, yup, I'm trying to get a few key changes in before school starts keeping me too busy 20110909 01:25:21< gabba> I'm a bit tired of the wb being in perpetual alpha state :P 20110909 01:25:28< tschmitz> Aye 20110909 01:27:10< gabba> tschmitz: it's nice to see the multi-turn plans working btw, even with the issues 20110909 01:27:20< gabba> It's usable as far I can tell 20110909 01:28:27< tschmitz> gabba: Yeah ... I think there are still bugs -- Espreon and I played a game a while ago and I never quite finished debugging the things we ran into 20110909 01:29:38< loonycyborg> thonsew: I've managed to make it work by turning z_empty from a global variable into an inline function returning a reference to static local variable. 20110909 01:29:50< gabba> tschmitz: whenever you feel ready for it, your help polishing this up would be immensely appreciated :) 20110909 01:30:31< tschmitz> gabba: Have you played a test game recently? 20110909 01:30:44< loonycyborg> afaik static local variables always are constructed on demand so that should sidestep the fiasco. 20110909 01:31:06< gabba> tschmitz: not really, I've done some testing on my own. With two clients as well, but it doesn't bring out issues like a real game would 20110909 01:31:57< tschmitz> gabba: Want to play one tomorrow morning, maybe around noon EST? 20110909 01:32:50< gabba> I have courses in the morning, so would around 2 PM EST be fine for you as well? 20110909 01:33:33< tschmitz> gabba: Sure. 20110909 01:33:45< gabba> tschmitz: great, let's do that then 20110909 01:33:49< tschmitz> gabba: classes haven't started for me yet 20110909 01:34:30< gabba> makes sense, you finished quite late into the summer 20110909 01:35:11< tschmitz> gabba: That's right, Soliton found a bug with attacking while using Tab to temporarily disable the whiteboard 20110909 01:35:31< Alarantalara> noy: do you want me to build you a copy of Wesnoth as of r51047 20110909 01:35:38< gabba> tschmitz: ah yes, that's precisely the one I'm working on at the moment 20110909 01:35:48< tschmitz> gabba: I attempted to fix it but the first thing I tried didn't work, and then I pretty much took a break at that point 20110909 01:36:48< tschmitz> gabba: My plan was to change where the "little hack" that checks whether the tab key is pressed 20110909 01:36:53< tschmitz> instead of checking on draw, 20110909 01:37:00< tschmitz> check on event-pump 20110909 01:37:19< tschmitz> Unfortunately for that plan, events are pumped even during the attack dialog, which makes sense now 20110909 01:37:24< gabba> tschmitz: I'm adding to the wb manager a method to lock wb activation and deactivation 20110909 01:37:42< tschmitz> gabba: K have fun! 20110909 01:39:21< gabba> tschmitz: should be easy, I'm just hesitating on what to use for the lock, leaning towards a boost::shared_lock 20110909 01:40:30< gabba> guess I'll look into reworking the scoped_planned_unit_map afterwards so it can be called in a nested fashion without problems 20110909 01:40:41-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20110909 01:42:00-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 260 seconds] 20110909 01:42:38< noy> Alarantalara: are really nice suggestion, but there really isn't much point for me to test it by myself 20110909 01:56:11-!- happygrue_ [~quassel@c-98-222-183-113.hsd1.il.comcast.net] has joined #wesnoth-dev 20110909 01:56:11-!- happygrue_ [~quassel@c-98-222-183-113.hsd1.il.comcast.net] has quit [Changing host] 20110909 01:56:11-!- happygrue_ [~quassel@wesnoth/developer/wintermute] has joined #wesnoth-dev 20110909 01:56:45-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20110909 01:57:35-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 02:04:59-!- noy_ [~Noy@74.198.151.108] has joined #wesnoth-dev 20110909 02:04:59-!- noy_ [~Noy@74.198.151.108] has quit [Changing host] 20110909 02:04:59-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 02:07:00-!- Gambit_laptop [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110909 02:07:53-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 260 seconds] 20110909 02:07:54-!- noy_ is now known as noy 20110909 02:11:23-!- happygrue_ [~quassel@wesnoth/developer/wintermute] has quit [Ping timeout: 260 seconds] 20110909 02:26:07< anonymissimus> tschmitz: already rebased & compiled tonight ? 20110909 02:26:34< anonymissimus> I get a weird compiler error only in MSVC9 due to thonsew's changes 20110909 02:26:59< tschmitz> anonymissimus: No not yet 20110909 02:27:03< tschmitz> I'll go ahead and do it now 20110909 02:27:08< tschmitz> but I'm sure it'll take plenty of time 20110909 02:27:23< anonymissimus> I give up on it for now, pls copy-paste the error for thonsew, mine is in German 20110909 02:28:11-!- anonymissimus [~chatzilla@HSI-KBW-046-005-024-128.hsi8.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.2/20100316074819]] 20110909 02:29:55< gabba> weird, wesnoth seems to choke on invalid elements in the list of hexes to invalidate 20110909 02:30:57< fendrin> gabba: What does that mean? 20110909 02:32:13< gabba> well, I'm chasing a bug that makes wesnoth crash when you tab-deactivate the whiteboard, attack a unit, release tab while in the attack dialog and then confirm the attack 20110909 02:33:24< gabba> it seems that whatever I do, I end up with a bug at display.cpp:2024 20110909 02:34:21< gabba> SIGSEV during the foreach loop on the invalidated_ collection 20110909 02:34:22-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110909 02:34:38< tschmitz> gabba: I'm fairly certain the problem is that when draw gets called, the whiteboard on_draw is called, which (if the gamestate is "dirty") makes a planned unit map for validation, which invalidates some hexes, which causes the iterator through the container of invalidated hexes to be ... well, invalidated 20110909 02:34:49-!- Johannes13 [~Johannes@p4FDEEA44.dip.t-dialin.net] has joined #wesnoth-dev 20110909 02:34:50-!- Johannes13 [~Johannes@p4FDEEA44.dip.t-dialin.net] has quit [Changing host] 20110909 02:34:50-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110909 02:35:21< tschmitz> my memory may be fuzzy on those specifics inbetween ... but the iterator gets invalidated, as I recal 20110909 02:35:22< tschmitz> l 20110909 02:35:37< gabba> hmm, good finding 20110909 02:37:52< gabba> the whiteboard unit map building/unbuilding is very sensitive to this kind of recursive hell, I wish I could think of a more robust system 20110909 02:37:57-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 02:39:27< gabba> tschmitz: If you recall how you observed the iterator being invalidated, I'm interested to know - I want to get better at diagnosing this kind of problem 20110909 02:39:43-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20110909 02:40:12< tschmitz> gabba: well the error was presented to me as some kind of foreach error 20110909 02:40:21< tschmitz> gabba: looks like you found that to be the case 20110909 02:40:41< tschmitz> so my first hypothesis was the iterator getting messed up 20110909 02:40:45< gabba> yes indeed 20110909 02:41:08< tschmitz> after that, I just traced it in the debugger 20110909 02:41:37< tschmitz> I recall going through one iteration of that foreach loop and getting the crash when it tried to go around a second time 20110909 02:42:27< tschmitz> I was expecting to see it invalidate some hexes during some whiteboard code during that first iteration 20110909 02:42:43< tschmitz> I vaguely recall confirming that expectation as well, though it's been a little while 20110909 02:42:43-!- horon [~horon@nttkyo340050.tkyo.nt.adsl.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20110909 02:43:03< tschmitz> after that, I started working on just trying to make the tab hack occur at a different time 20110909 02:43:05< gabba> yeah, you're right, it's a straight stl container of map_location's, so it can't even be a problem with feeding it invalid pointers 20110909 02:43:49< gabba> and map_location's themselves are simple structs without pointers, no room for errors there 20110909 02:44:57< tschmitz> I would suggest that the trend of problems could be related the large amount of global variables and that sort of thing 20110909 02:45:35< tschmitz> i.e. letting functions acquire data from sources other than their arguments 20110909 02:46:00< gabba> So I guess the solution would be to refuse adding to the invalidation list while its being processed in draw_invalidated 20110909 02:46:17< tschmitz> something like that 20110909 02:46:56< tschmitz> Like I said, my inclination was to just not call the whiteboard code during draw_invalidated 20110909 02:47:50-!- Gambit_laptop [~Gambit@wesnoth/developer/grickit] has quit [Ping timeout: 260 seconds] 20110909 02:50:18< gabba> tschmitz: ok, I understand better now why you wanted to change the "little hack" 20110909 02:50:38< gabba> it now officially deserves the title "ugly, nasty little hack" 20110909 02:53:54< gabba> So, @all, any suggestions as to where to put my polling of the Tab key? I need to move the code at whiteboard/manager.cpp:473 to somewhere that's called frequently but not from the draw routine. 20110909 03:17:19< gabba> tschmitz: my gf has her afternoon free tomorrow and wants to go out, so let's move our game to saturday at the same time maybe? 20110909 03:17:53< tschmitz> gabba: OK. 20110909 03:22:33-!- enchilado [~enchilado@unaffiliated/enchilado] has quit [Read error: No route to host] 20110909 03:23:13-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has joined #wesnoth-dev 20110909 03:23:13-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has quit [Changing host] 20110909 03:23:13-!- enchilado [~enchilado@unaffiliated/enchilado] has joined #wesnoth-dev 20110909 03:32:11-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has quit [Ping timeout: 240 seconds] 20110909 03:50:32-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110909 04:01:36< CIA-22> gabba * r51085 /trunk/src/ (4 files in 2 dirs): Add a mechanism to prevent the whiteboard from changing its activation state as long as a reference is held. 20110909 04:01:36< CIA-22> gabba * r51086 /trunk/src/ (hotkeys.cpp whiteboard/manager.cpp whiteboard/manager.hpp): Moved the Tab key polling to be called from the key event code rather than from draw; fixes crash bug with Tab-attacking when the whiteboard is activated, or holding Tab then opening the context menu. 20110909 04:02:59-!- Gallaecio [~quassel@183.157.165.83.dynamic.mundo-r.com] has quit [Ping timeout: 258 seconds] 20110909 04:07:34-!- Ivanovic_ [~ivanovic@dtmd-4d0bce5e.pool.mediaWays.net] has joined #wesnoth-dev 20110909 04:08:09-!- Johannes13_ [~Johannes@p4FDEEA37.dip.t-dialin.net] has joined #wesnoth-dev 20110909 04:08:09-!- Johannes13_ [~Johannes@p4FDEEA37.dip.t-dialin.net] has quit [Changing host] 20110909 04:08:09-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110909 04:10:45-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 246 seconds] 20110909 04:11:30-!- Ivanovic_ is now known as Ivanovic 20110909 04:12:18-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 260 seconds] 20110909 04:12:35-!- enchilado [~enchilado@unaffiliated/enchilado] has quit [Read error: Connection reset by peer] 20110909 04:13:21-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has joined #wesnoth-dev 20110909 04:13:21-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has quit [Changing host] 20110909 04:13:21-!- enchilado [~enchilado@unaffiliated/enchilado] has joined #wesnoth-dev 20110909 04:21:06< CIA-22> gabba * r51087 /trunk/src/mouse_events.cpp: Corrected now-erroneous comment. 20110909 04:25:09-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 250 seconds] 20110909 04:30:40< CIA-22> gabba * r51088 /trunk/src/whiteboard/manager.cpp: More debug messages to diagnose better failed activations of the future unit map. 20110909 04:40:34-!- enchilado [~enchilado@unaffiliated/enchilado] has quit [Quit: leaving] 20110909 04:41:00-!- enchilado [~enchilado@unaffiliated/enchilado] has joined #wesnoth-dev 20110909 04:43:59-!- crimson_penguin [~ben@S0106602ad06b8003.vc.shawcable.net] has joined #wesnoth-dev 20110909 04:43:59-!- crimson_penguin [~ben@S0106602ad06b8003.vc.shawcable.net] has quit [Changing host] 20110909 04:43:59-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110909 04:44:45-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has left #wesnoth-dev [] 20110909 04:58:43< CIA-22> gabba * r51089 /trunk/src/whiteboard/ (manager.cpp manager.hpp): Make whiteboard methods to set and remove future unit map private, as they're only supposed to be accessed through the scoped_* structs. Reorder a few methods in manager.cpp to match order in manager.hpp 20110909 05:22:05-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Ping timeout: 252 seconds] 20110909 05:38:44-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20110909 05:59:09-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20110909 06:22:18-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 06:29:52-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20110909 06:33:02-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 06:37:17< Espreon> wesbot: bug 18625 20110909 06:37:18< wesbot> Bug #18625 Assigned to: None Status: None Priority: 7 - High 20110909 06:37:18< wesbot> Summary: The editor segfaults when any key is pressed 20110909 06:37:18< wesbot> Original submission: To reproduce, just start the editor and press any key and 20110909 06:37:21< wesbot> it should segfault.Backtrace:Program received signal SIGSEGV, Segmentat 20110909 06:37:23< wesbot> URL: https://gna.org/bugs/?18625 20110909 06:37:33< Espreon> Have fun, kids. 20110909 07:01:30-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20110909 07:04:47-!- wesbot changed the topic of #wesnoth-dev to: 179 bugs, 331 feature requests, 18 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110909 07:48:49-!- horon [~horon@nttkyo340050.tkyo.nt.adsl.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20110909 07:50:50-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20110909 07:51:50< zookeeper> noy, yes? 20110909 07:53:50-!- hopman- is now known as cjhopman 20110909 07:53:58-!- cjhopman [~chris@24-183-40-128.dhcp.mdsn.wi.charter.com] has quit [Changing host] 20110909 07:53:58-!- cjhopman [~chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20110909 08:02:10-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20110909 08:07:33-!- happygrue_ [~quassel@c-98-222-183-113.hsd1.il.comcast.net] has joined #wesnoth-dev 20110909 08:07:33-!- happygrue_ [~quassel@c-98-222-183-113.hsd1.il.comcast.net] has quit [Changing host] 20110909 08:07:33-!- happygrue_ [~quassel@wesnoth/developer/wintermute] has joined #wesnoth-dev 20110909 08:08:10-!- Cookiee [~quassel@unaffiliated/cookiee] has joined #wesnoth-dev 20110909 08:12:28-!- happygrue_ [~quassel@wesnoth/developer/wintermute] has quit [Ping timeout: 260 seconds] 20110909 08:16:25-!- Nephro [~neph@80.233.231.12] has joined #wesnoth-dev 20110909 08:22:15-!- timotei [timotei@193.34.190.70] has joined #wesnoth-dev 20110909 08:22:15-!- timotei [timotei@193.34.190.70] has quit [Changing host] 20110909 08:22:15-!- timotei [timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110909 08:26:57-!- MeccaGod [~majs@host189-199.bornet.net] has joined #wesnoth-dev 20110909 09:09:51-!- Professor_Max [52471455@gateway/web/freenode/ip.82.71.20.85] has joined #wesnoth-dev 20110909 09:27:27-!- Rose [~quassel@unaffiliated/cookiee] has joined #wesnoth-dev 20110909 09:27:53-!- Rose is now known as Guest89075 20110909 09:28:53-!- Cookiee [~quassel@unaffiliated/cookiee] has quit [Ping timeout: 260 seconds] 20110909 09:35:22-!- Professor_Max [52471455@gateway/web/freenode/ip.82.71.20.85] has quit [Ping timeout: 252 seconds] 20110909 09:39:22< CIA-22> thonsew * r51090 /trunk/src/ (11 files in 3 dirs): Added a member function t_token::default_value() to create static initialization safe default values for parameters. 20110909 09:40:01-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has joined #wesnoth-dev 20110909 09:40:01-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has quit [Changing host] 20110909 09:40:01-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 09:47:10-!- Ivanovic [~ivanovic@dtmd-4d0bce5e.pool.mediaWays.net] has quit [Changing host] 20110909 09:47:10-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20110909 09:47:32< Ivanovic> moin 20110909 09:49:46-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Quit: ZNC - http://znc.sourceforge.net] 20110909 10:03:21-!- Appleman1234 [~Appleman1@ppp59-167-222-56.qld.adsl.internode.on.net] has joined #wesnoth-dev 20110909 10:40:44-!- mjs-de [~mjs-de@e182032011.adsl.alicedsl.de] has joined #wesnoth-dev 20110909 10:52:46-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20110909 11:34:35-!- Guest89075 [~quassel@unaffiliated/cookiee] has quit [Ping timeout: 276 seconds] 20110909 11:43:29-!- p1mps_ [~p1mps@adsl-ull-223-233.49-151.net24.it] has joined #wesnoth-dev 20110909 11:47:47-!- horon [~horon@nttkyo340050.tkyo.nt.adsl.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20110909 11:59:29-!- loonybot [~loonybot@ppp109-252-50-3.pppoe.spdop.ru] has joined #wesnoth-dev 20110909 11:59:29-!- loonybot [~loonybot@ppp109-252-50-3.pppoe.spdop.ru] has quit [Changing host] 20110909 11:59:29-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20110909 12:12:15-!- iElendil [~irchon@97-95-254-231.dhcp.sffl.va.charter.com] has joined #wesnoth-dev 20110909 12:12:16-!- iElendil [~irchon@97-95-254-231.dhcp.sffl.va.charter.com] has quit [Remote host closed the connection] 20110909 12:20:25-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110909 12:24:05-!- MeccaGod [~majs@host189-199.bornet.net] has quit [] 20110909 12:36:55-!- mordante [~mordante@87.215.201.26] has joined #wesnoth-dev 20110909 12:37:04< mordante> servus 20110909 12:37:27< mordante> Rhonda, Ivanovic it seems the patch did its job all Debian Arch have been build 20110909 12:37:56< mordante> Rhonda, Ivanovic I'll commit the patch with some comment this evening or this weekend 20110909 12:38:20< timotei> annonymous: I'll compile it on windows too :P 20110909 12:38:33< timotei> tschmitz: did you managed to compile trunk? 20110909 12:39:29< mordante> timotei, this was about build problems in 1.9.9 ;-) 20110909 12:39:48< timotei> mordante: umm... Yeah 20110909 12:41:15< Rhonda> mordante: cheers :) 20110909 12:42:25< mordante> :-) 20110909 13:00:11-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110909 13:00:53-!- p1mps_ [~p1mps@adsl-ull-223-233.49-151.net24.it] has quit [Quit: Sto andando via] 20110909 13:03:24-!- Kolbur [~die@89.204.153.80] has joined #wesnoth-dev 20110909 13:05:26-!- Elvish_Pillager [~eli@dhip-149.coburn.residences.colby.edu] has joined #wesnoth-dev 20110909 13:05:55< CIA-22> loonycyborg * r51092 /trunk/src/ (11 files): 20110909 13:05:55< CIA-22> Converted remaining z_emptys to function calls. 20110909 13:05:55< CIA-22> This finally fixes startup segfault with my version of gcc. 20110909 13:05:55< CIA-22> loonycyborg * r51091 /trunk/src/token.cpp: Fixed a blatant memory leak. 20110909 13:14:52< Kolbur> hello, i'm having trouble to access the main server for some days now 20110909 13:15:12< timotei> Kolbur: trunk? 20110909 13:15:40< Kolbur> the 1.8 one 20110909 13:15:53< timotei> hmm, I remember there was an announcement 20110909 13:15:56< timotei> server2.wesnoth.org 20110909 13:16:00< timotei> or server3.wesnoth.org IIRC 20110909 13:16:08< timotei> Try those ^ 20110909 13:16:18< Kolbur> yes, they work 20110909 13:16:53< Kolbur> is server 1 completely down though? it might work for some people only? 20110909 13:17:07< timotei> IDK, Soliton might know 20110909 13:17:27< loonycyborg> mordante: Is static initialization segfault fixed for you too? 20110909 13:18:10< mordante> loonycyborg, can't test here will test when I get home 20110909 13:18:20< loonycyborg> kk 20110909 13:18:35-!- enchilado [~enchilado@unaffiliated/enchilado] has quit [Read error: No route to host] 20110909 13:19:12-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has joined #wesnoth-dev 20110909 13:19:12-!- enchilado [~enchilado@ppp118-208-12-112.lns20.bne1.internode.on.net] has quit [Changing host] 20110909 13:19:12-!- enchilado [~enchilado@unaffiliated/enchilado] has joined #wesnoth-dev 20110909 13:21:49< timotei> Hmmm 20110909 13:21:52< timotei> Weird error: http://pastebin.com/KFRsyb5B 20110909 13:24:13< timotei> any clue on that? 20110909 13:35:51< CIA-22> loonycyborg * r51093 /trunk/src/token.hpp: Fixed another blatant memory leak. 20110909 13:41:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110909 13:46:40-!- stikonas [~and@ctv-213-164-96-36.vinita.lt] has joined #wesnoth-dev 20110909 13:46:40-!- stikonas [~and@ctv-213-164-96-36.vinita.lt] has quit [Changing host] 20110909 13:46:40-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 13:56:09-!- Gallaecio [~quassel@183.157.165.83.dynamic.mundo-r.com] has joined #wesnoth-dev 20110909 13:59:55-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110909 14:02:51-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has joined #wesnoth-dev 20110909 14:02:51-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has quit [Changing host] 20110909 14:02:51-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 14:07:57-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110909 14:08:29-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110909 14:11:56-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has joined #wesnoth-dev 20110909 14:11:56-!- stikonas [~gentoo@ctv-213-164-96-36.vinita.lt] has quit [Changing host] 20110909 14:11:56-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 14:18:00-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110909 14:20:09-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20110909 14:21:25-!- stikonas [~and@ctv-213-164-96-36.vinita.lt] has joined #wesnoth-dev 20110909 14:21:25-!- stikonas [~and@ctv-213-164-96-36.vinita.lt] has quit [Changing host] 20110909 14:21:25-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 14:30:04-!- Elvish_Hunter [d9ca944d@gateway/web/freenode/ip.217.202.148.77] has joined #wesnoth-dev 20110909 14:32:13-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 260 seconds] 20110909 15:10:30-!- anonymissimus [~chatzilla@HSI-KBW-046-005-024-128.hsi8.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20110909 15:13:56-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20110909 15:14:49-!- Elvish_Hunter [d9ca944d@gateway/web/freenode/ip.217.202.148.77] has quit [Quit: Ciao!] 20110909 15:16:40< anonymissimus> tschmitz: , timotei : what I had so far is that it looks like a "const" problem (if you know what I mean), that it only appears in MSVC 9, not 10, and that it seems related or caused by the struct t_calc_cache_item in string_utils.cpp line 103 20110909 15:17:41< anonymissimus> timotei: and yes, I get tge same 20110909 15:25:29< anonymissimus> timotei: , tschmitz , thonsew: also when I tried launching the debugger it immediately failed with an exception, backtrace pointing to something with animations 20110909 15:25:48< anonymissimus> I'll pastebin ASAP 20110909 15:27:44-!- Gallaecio [~quassel@183.157.165.83.dynamic.mundo-r.com] has quit [Remote host closed the connection] 20110909 15:34:09< timotei> anonymissimus: wow, at least it compiled? 20110909 15:34:15< timotei> I get that error: 20110909 15:34:16< timotei> Hmmm 20110909 15:34:16< timotei> Weird error: http://pastebin.com/KFRsyb5B 20110909 15:34:16< timotei> any clue on that? 20110909 15:34:30< timotei> Ah, you get the same 20110909 15:34:34< timotei> maybe STL is outdated 20110909 15:34:37< timotei> or smth like that 20110909 15:36:30-!- elias [~allefant@allefant.com] has quit [Changing host] 20110909 15:36:30-!- elias [~allefant@allegro/developer/allefant] has joined #wesnoth-dev 20110909 15:41:20-!- Kolbur [~die@89.204.153.80] has left #wesnoth-dev [] 20110909 15:42:20< anonymissimus> timotei: as I said, I get the same error, but in MSVC 9 only 20110909 15:42:25< timotei> ah 20110909 15:43:20< timotei> but where is that error thrown from? 20110909 15:43:29< timotei> Cause vs doesn't say too much 20110909 15:45:24< timotei> Ah 20110909 15:45:25< timotei> I see it 20110909 15:45:28< timotei> t_out const retval(vstr.begin(), vstr.end()); 20110909 15:45:34< timotei> in string_utils.cpp:106 20110909 15:48:13< timotei> actually 188 20110909 15:52:01< timotei> Ok, so that code should be rewritten 20110909 15:52:09-!- Octalot [~noct@host86-182-33-109.range86-182.btcentralplus.com] has quit [] 20110909 15:52:11< timotei> something like: http://stackoverflow.com/questions/4787499/convert-container-of-pointers-to-smart-pointers 20110909 15:52:42< timotei> thonsew: ^ 20110909 15:53:14< timotei> anonymissimus: I wonder why in MSVC 10 it works... 20110909 15:54:03< timotei> Maybe it can call that explicit std::string to t_token ctor 20110909 16:13:02-!- EdB [~edb@89.82.194.231] has joined #wesnoth-dev 20110909 16:16:41-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110909 16:20:27-!- stikonas [~gentoo@213.164.96.36] has joined #wesnoth-dev 20110909 16:20:27-!- stikonas [~gentoo@213.164.96.36] has quit [Changing host] 20110909 16:20:27-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110909 16:23:41< anonymissimus> thonsew, tschmitz , timotei : launching MSVC 10 debugger now causes an assertion failure 20110909 16:24:11< anonymissimus> its different than last time, maybe loony's commits fixed something 20110909 16:24:23< timotei> Ah 20110909 16:24:41-!- Crendgrim [~crend@77-22-155-217-dynip.superkabel.de] has joined #wesnoth-dev 20110909 16:25:01< anonymissimus> thonsew: http://pastebin.com/MSzy6Jj2 20110909 16:26:53< CIA-22> anonymissimus * r51094 /trunk/projectfiles/CodeBlocks/ (wesnoth.cbp wesnothd.cbp): CB projectfile update 20110909 16:27:12< CIA-22> anonymissimus * r51095 /trunk/projectfiles/VC10/ (wesnoth.vcxproj wesnoth.vcxproj.filters): VC10 projectfile update 20110909 16:27:19< timotei> anonymissimus: I'll update the vc9 sol if I get it working 20110909 16:27:29< CIA-22> anonymissimus * r51096 /trunk/src/gamestatus.hpp: fixed an MSVC10 warning (variable_info is a class not struct - why did it not warn earlier about this, the line isn't new!) 20110909 16:27:46< CIA-22> anonymissimus * r51097 /trunk/src/ (scripting/lua.cpp unit.hpp): 20110909 16:27:46< CIA-22> fix an MSVC10 warning about stack overflow (!!) 20110909 16:27:46< CIA-22> by removing the role setter passed a std::string 20110909 16:31:49< timotei> But really, how does the code even compile on other compilers 20110909 16:32:00< timotei> since you can't implicitly convert from std::string to t_token 20110909 16:35:26-!- EdB [~edb@89.82.194.231] has quit [Remote host closed the connection] 20110909 16:35:40< CIA-22> thonsew * r51098 /trunk/src/ (token.cpp token.hpp): Added comments to clarify static intialization and static de-initialization problems. 20110909 16:35:44< CIA-22> thonsew * r51099 /trunk/src/serialization/string_utils.cpp: Fix for timotei's weird error in MSVC9 perhaps 20110909 16:36:03< timotei> :)) 20110909 16:36:06< timotei> let's see 20110909 16:37:22-!- thonsew [~thonsew__@gateway/tor-sasl/thonsew] has joined #wesnoth-dev 20110909 16:38:05< thonsew> hello 20110909 16:38:28< timotei> hi thonsew 20110909 16:38:32< timotei> I was just about to do the same thing :P 20110909 16:38:43< timotei> and I love git stash! 20110909 16:38:43< thonsew> timotei: You are correct, the code should have complained about the inaccessible constructor. 20110909 16:39:00< thonsew> git stash truly rocks. 20110909 16:39:58< thonsew> The intent of the explicit constructor was to prevent secret under the table string allocations from wasting time and resources. 20110909 16:40:10< timotei> Yeah. True 20110909 16:40:18< loonycyborg> thonsew: Well. Technically new without delete is a memory leak and will be reported as such by valgrind. 20110909 16:40:49< thonsew> That was why I created the valgrind suppression file, which I have not updated for the new exceptions. 20110909 16:41:12< thonsew> BTW thanks for working on my bugs over the course of the day. 20110909 16:41:52< loonycyborg> np 20110909 16:41:54< thonsew> You can have just posted a bug and pulled an old commit. I will work today on moving all of the static initializers into local scopes. 20110909 16:42:18< anonymissimus> thonsew: I pastebinned a backtrace for you just before you joined: http://pastebin.com/MSzy6Jj2 20110909 16:42:23< anonymissimus> ^^ 20110909 16:42:41< anonymissimus> of course always nice to fix things one can't reproduce onself^^ 20110909 16:43:08< thonsew> That is VERY frustrating. 20110909 16:43:35< timotei> hmm 20110909 16:43:48< timotei> I still think that a Continuos integration server would greatly help 20110909 16:44:19< thonsew> I agree 20110909 16:44:29< thonsew> Do we have the resources? 20110909 16:44:35< timotei> I don't think so :( 20110909 16:45:02< timotei> I remember that even the server we have has limited resources 20110909 16:45:40< thonsew> Are any of the windows builds up and running? 20110909 16:45:56< timotei> Well, I'm building now with VC9 20110909 16:46:14< thonsew> And you are running without core dumping? 20110909 16:46:14< timotei> thonsew: if you have a windows machine you really should setup it to build wesnoth 20110909 16:46:23< timotei> I just want to compile fine first of all 20110909 16:46:33< thonsew> I don't have a windows machine. 20110909 16:46:37< timotei> Ah. 20110909 16:46:43< timotei> Widnows VM? :P 20110909 16:47:27< thonsew> Is there a free way to do this? 20110909 16:47:31< loonycyborg> thonsew: My local cross-compile builds and runs but is slow for some reason. 20110909 16:48:46< loonycyborg> I wonder whether it's your commits or wine upgrade caused this.. 20110909 16:48:56< loonycyborg> Or something else. 20110909 16:49:16< thonsew> You run your "windows" version on wine? 20110909 16:49:16-!- horon [~horon@nttkyo340050.tkyo.nt.adsl.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20110909 16:50:06< loonycyborg> Yes. I have a cross-compile setup on linux and the resulting binary runs on wine. 20110909 16:51:08< loonycyborg> There's another cross-compile setup on wesnoth.org and the binary can be downloaded from files.wenoth.org/hidden/win/wesnoth.exe 20110909 16:51:44< loonycyborg> I'm updating it right now. 20110909 16:55:22< anonymissimus> thonsew, loonycyborg : CodeBlocks also builds & runs 20110909 16:55:35< anonymissimus> that is, tdm-gcc on windows 20110909 16:56:00< loonycyborg> anonymissimus: It doesn't have slow load times? 20110909 16:56:05< anonymissimus> as long as the MCVD debugger is broken I cant do anything however, or not much :( 20110909 16:56:16< anonymissimus> loonycyborg: I dont think so, no 20110909 16:56:26< loonycyborg> Good to knwo. 20110909 16:56:29< loonycyborg> *know 20110909 16:56:55< anonymissimus> loonycyborg: that is, I dont notice difference to the releases 20110909 16:57:21< loonycyborg> My slowdown is very noticable. 20110909 16:57:26< anonymissimus> loonycyborg: also, the MSVC binaries seem generally slower in loading than the MinGW ones 20110909 16:57:44< anonymissimus> that has been the case since ever 20110909 16:58:17< anonymissimus> not a fatal problem though, they still run quite fine 20110909 16:58:27< loonycyborg> Yes. I remember you said that. 20110909 17:00:15< anonymissimus> loonycyborg: , zookeeper : I'll try the crosscompiled ones on win when it's uploaded and compare 20110909 17:00:57< timotei> ok, getting linker errors xD 20110909 17:03:20< thonsew> loony: For your latest pastebin try changing line 1268 in font.cpp to family_order = fonts_config["family_order"].t_str(); 20110909 17:04:00< thonsew> It maybe that the templated operator= can't find the cast to token even with the explicit cast. 20110909 17:04:02< loonycyborg> That was not me :P 20110909 17:04:28< thonsew> s/loony/anonymissimus 20110909 17:04:32< thonsew> sorry 20110909 17:05:07< thonsew> loony: How do you profile on wine? 20110909 17:05:57-!- covale [~covale@h55eb1c96.selukra.dyn.perspektivbredband.net] has joined #wesnoth-dev 20110909 17:07:32< loonycyborg> thonsew: No idea. I never tried :P 20110909 17:10:07< mordante> I'm off, bye 20110909 17:10:08< timotei> Human profiling :)) 20110909 17:10:17-!- mordante [~mordante@87.215.201.26] has quit [Quit: Leaving] 20110909 17:15:41< thonsew> This human's profiling is lousy. Without tools I never would have guessed that wesnoth was spending 20% of its time allocating and comparing strings. 20110909 17:16:07< timotei> But does is that 20% sensed? :P 20110909 17:16:24< timotei> I mean, it could be 20%, but if that 20% it's just some miliseconds... 20110909 17:16:54< loonycyborg> hidden/win binary is updated. 20110909 17:17:48< thonsew> My testcase is a turn of NR showdown. I profile one set of AI turns for the 5 baddies, and 20% of the end turn to start of next turn time was comparing strings. 20110909 17:18:04< thonsew> I think that counts as sensed. 20110909 17:19:04-!- markus_ [~mjs-de@e182045183.adsl.alicedsl.de] has joined #wesnoth-dev 20110909 17:23:20-!- mjs-de [~mjs-de@e182032011.adsl.alicedsl.de] has quit [Ping timeout: 260 seconds] 20110909 17:23:33-!- Professor_Max [52471455@gateway/web/freenode/ip.82.71.20.85] has joined #wesnoth-dev 20110909 17:35:05-!- Unnheulu [~ieuan@host86-147-156-6.range86-147.btcentralplus.com] has joined #wesnoth-dev 20110909 17:37:33-!- timotei21 [timotei@193.34.190.70] has joined #wesnoth-dev 20110909 17:37:33-!- timotei21 [timotei@193.34.190.70] has quit [Changing host] 20110909 17:37:33-!- timotei21 [timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110909 17:38:35-!- timotei [timotei@wesnoth/developer/timotei] has quit [Ping timeout: 260 seconds] 20110909 17:39:38-!- timotei [timotei@193.34.190.70] has joined #wesnoth-dev 20110909 17:39:38-!- timotei [timotei@193.34.190.70] has quit [Changing host] 20110909 17:39:38-!- timotei [timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110909 17:42:41-!- timotei21 [timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20110909 17:51:54-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110909 17:53:00< anonymissimus> loonycyborg: btw I'm getting linker warnings in CB like this: duplicate section `.data$_ZZN10n_interned16t_interned_tokenISsN5boost4hashISsEEE9the_stashEvE10the_stash_[n_interned::t_interned_token, std::allocator >, boost::hash, std::allocator > > >::the_stash()::the_stash_]' has... 20110909 17:53:01< anonymissimus> ...different size 20110909 17:53:26< anonymissimus> there are now 22 of them, they get more with each of thonsew's commits it seems xD 20110909 17:53:44< anonymissimus> would be nice if I could mute or fix them 20110909 17:54:12< timotei> Is wesnoth supposed to work on Windows versions earlier than win 98? 20110909 17:54:26< loonycyborg> timotei: No. 20110909 17:54:35< timotei> wow :O anonymissimus msvc9 compiled :D 20110909 17:54:36< timotei> I 20110909 17:54:44< timotei> Now let's see if it runs 20110909 17:55:06< loonycyborg> anonymissimus: I'm not getting them myself. 20110909 17:55:13< anonymissimus> timotei: commit pls 20110909 17:55:16< timotei> anonymissimus: ok 20110909 17:55:53< thonsew> anonymissimus: I have a small commit to perhaps fix your earlier pastebin problem. I'll submit it and you can say if it really increases the linker warning count. 20110909 17:56:45-!- covale [~covale@h55eb1c96.selukra.dyn.perspektivbredband.net] has quit [Quit: Leaving.] 20110909 17:58:06< CIA-22> thonsew * r51100 /trunk/src/ (config.cpp config.hpp font.cpp): Make config::attribute_value.type_ an proper enum, to attempt to fix MSVC assigning an out-of-range value to enum. 20110909 17:58:08< timotei> anonymissimus: Yeah, I get assertion failed 20110909 17:58:17< timotei> in: config.cpp:250 20110909 17:59:08< timotei> Gah, I hate wesnoth when it throws error when a folder doesn't exist... 20110909 17:59:43< thonsew> The commit ^ might fix it although I don't have that error. It is the control passing by the switch which covers the entire range of enum values. 20110909 17:59:49< timotei> Ok 20110909 18:04:26< CIA-22> timotei * r51101 /trunk/src/serialization/string_utils.cpp: 20110909 18:04:26< CIA-22> Fix the other code with the implicit conversion 20110909 18:04:26< CIA-22> of std::string to n_token::t_token when creating a new vector 20110909 18:04:29< CIA-22> timotei * r51102 /trunk/projectfiles/VC9/ (wesnoth.vcproj wesnothlib.vcproj): update MSVC9 solution 20110909 18:04:38< CIA-22> timotei * r51103 /trunk/projectfiles/VC9/ (wesnoth.vcproj wesnothd.vcproj wesnothlib.vcproj): Add the _WIN32_WINNT define to the MSVC9 solution 20110909 18:05:25< timotei> anonymissimus: ^ 20110909 18:17:36< thonsew> anonymissimus: Have you tried a clean compile. If MSVC doesn't have all of the dependencies correct, then it may be trying to link and combine two different versions of the_stash object. 20110909 18:21:42-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 18:24:32< fendrin> hi noy 20110909 18:24:50-!- Talad|ZzZ [~myself@planeshift/director/Talad] has joined #wesnoth-dev 20110909 18:25:20< fendrin> Talad|ZzZ: planeshift? 20110909 18:25:23< Talad|ZzZ> Hi 20110909 18:25:29< fendrin> Nice game 20110909 18:25:36< Talad|ZzZ> thanks fendrin 20110909 18:25:54-!- Talad|ZzZ is now known as Talad 20110909 18:26:02< fendrin> I especially like the cat like playable characters. 20110909 18:26:05< Talad> wesnoth is pretty cool as well 20110909 18:26:18< fendrin> wesbot: seen crab_? 20110909 18:26:18< wesbot> fendrin: The person with the nick Crab_ last spoke 25d 5h ago. 25d 5h ago they left with the message: Quit: Leaving. 20110909 18:26:18< Talad> I was searching Richard 20110909 18:26:31< fendrin> Talad: Richard == Jetrel? 20110909 18:26:38< Talad> he said I could find him here, but he didn't give me the nick 20110909 18:27:02< Talad> the guy working on the web site and PR 20110909 18:27:12< Talad> last name Shim... 20110909 18:27:44< fendrin> hmmm 20110909 18:27:52< fendrin> I don't know that realname. 20110909 18:27:57< anonymissimus> thonsew: I try clean conpiles often yes 20110909 18:28:14< Talad> Sirp, if you're there can you let me know what's the nick of Richard (ref our email exchange) 20110909 18:28:23-!- crimson_penguin [~ben@184.71.170.250] has joined #wesnoth-dev 20110909 18:28:23-!- crimson_penguin [~ben@184.71.170.250] has quit [Changing host] 20110909 18:28:23-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110909 18:29:55-!- crimson_pingvin [~ben@184.71.170.250] has joined #wesnoth-dev 20110909 18:29:58-!- crimson_pingvin [~ben@184.71.170.250] has quit [Changing host] 20110909 18:29:58-!- crimson_pingvin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110909 18:30:21< thonsew> anonymissimus: I tried to google that MSVC error. The closed hit I got http://msdn.microsoft.com/en-us/library/584w8b4b.aspx which implies the linker needs to be passed multiple objects of the same name and type but different virtual table sizes. I that helps. 20110909 18:30:45< thonsew> s/closed/closest 20110909 18:33:11-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Ping timeout: 276 seconds] 20110909 18:33:11-!- crimson_pingvin is now known as crimson_penguin 20110909 18:36:00< anonymissimus> thonsew: don't get me wrong, the linker warning I pasted is a tdm-gcc one, mot MSVC 20110909 18:36:35< anonymissimus> so actually, it could or should perhaps also appear on Linux, or when loony compiles the releases 20110909 18:37:32< anonymissimus> since this MinGW compiation is much more like Linux than win even though it's on win 20110909 18:38:25-!- Octalot [~noct@host86-182-33-109.range86-182.btcentralplus.com] has joined #wesnoth-dev 20110909 18:38:54< anonymissimus> timotei: do you think adding that define was a good idea ? xD 20110909 18:39:03< timotei> anonymissimus: no :)) 20110909 18:39:08< timotei> I reverted it already 20110909 18:39:22< thonsew> I very much misunderstood. I will refocus my thinking. 20110909 18:39:24< timotei> I thought it was fine, it wanted me to choose between _WIN32_WINNT 20110909 18:39:28< timotei> and _WIN32_WINDOWS 20110909 18:39:31< timotei> with the latter works... 20110909 18:42:17< timotei> anonymissimus: but if you can/want revert it 20110909 18:42:25< timotei> I'll wait for wesnoth to compile first :P 20110909 18:52:57< anonymissimus> timotei: we are running "out of sync" with teh VC10 and 9 project files 20110909 18:53:04< timotei> anonymissimus: why?:-S 20110909 18:54:03< anonymissimus> well, for instance, you decided to add coun_logger.hpp etc in wesnothlib 20110909 18:54:16< anonymissimus> i did in wesnoth and such 20110909 18:54:48< anonymissimus> perhaps when the wesnothd boost bug is fixed recreate the vc10 solution 20110909 18:55:10< anonymissimus> from the vc0 one and then we ditch it 20110909 18:55:14< anonymissimus> vc9 20110909 18:55:18< timotei> well, I've added things I thought would be lib 20110909 18:56:01< timotei> The reason for adding the things to lib, is that because schema_gen for example, uses some of the feature 20110909 18:56:02< timotei> s 20110909 18:56:13< timotei> Of the main game, so it's better to have them in the lib 20110909 18:56:27< timotei> Ideally, the whole game (except some other things) would be in wesnothlib 20110909 18:56:40< timotei> and wesnoth project should contain just the game.cpp and maybe whiteboard, etc 20110909 18:57:03< timotei> That's my rationale. Do you agree with it? (regarding the latest project update) 20110909 18:57:26< timotei> for example the string_formula _backend was added in `wesnoth" not `wesnothlib" :P 20110909 19:19:52< Sirp> Talad: it's noy 20110909 19:20:00-!- dtiger [~dtiger@dynamic-vpdn-91-149-132-235.telecom.by] has joined #wesnoth-dev 20110909 19:20:43< Talad> ah ok 20110909 19:20:56-!- Professor_Max [52471455@gateway/web/freenode/ip.82.71.20.85] has quit [Ping timeout: 252 seconds] 20110909 19:27:33-!- Johannes13 [~Johannes@p4FDEACFA.dip.t-dialin.net] has joined #wesnoth-dev 20110909 19:27:34-!- Johannes13 [~Johannes@p4FDEACFA.dip.t-dialin.net] has quit [Changing host] 20110909 19:27:34-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110909 19:28:02< timotei> Yey 20110909 19:28:08< timotei> anonymissimus: success :D 20110909 19:29:47< timotei> Though, it takes a lot? to initialize user interface.. 20110909 19:30:46< CIA-22> timotei * r51104 /trunk/projectfiles/VC9/ (wesnoth.vcproj wesnothd.vcproj wesnothlib.vcproj): 20110909 19:30:46< CIA-22> Revert "Add the _WIN32_WINNT define to the MSVC9 solution" 20110909 19:30:46< CIA-22> This reverts commit 0270dfc6a6ed672b0774a73bc6a7ef36310546be. 20110909 19:34:11-!- timotei21 [timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110909 19:34:55-!- MeccaGod [~majs@host189-199.bornet.net] has joined #wesnoth-dev 20110909 19:36:25-!- timotei [timotei@wesnoth/developer/timotei] has quit [Ping timeout: 252 seconds] 20110909 19:46:01-!- markus_ is now known as mjs-de 20110909 19:59:35-!- thonsew [~thonsew__@gateway/tor-sasl/thonsew] has quit [Remote host closed the connection] 20110909 20:00:10-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110909 20:00:56-!- Sirp [~user@pool-173-74-15-196.dllstx.fios.verizon.net] has quit [Read error: Operation timed out] 20110909 20:01:03-!- thonsew [~thonsew__@gateway/tor-sasl/thonsew] has joined #wesnoth-dev 20110909 20:01:34-!- Sirp [~user@pool-173-74-15-196.dllstx.fios.verizon.net] has joined #wesnoth-dev 20110909 20:09:39< anonymissimus> timotei21: well I wonder whether we can make compilation faster 20110909 20:10:12< anonymissimus> mthe reasoning behind wesnothlib is afaik that it should contain these files which are not so frequently edited 20110909 20:10:22< timotei21> Ah. right 20110909 20:10:35< timotei21> Well.. tbh it won't matter anyway 20110909 20:10:36< anonymissimus> because then MSVC only needs to link the existing wesnothlib, not compile its files 20110909 20:10:49< timotei21> Yeah, but ... it doesn't compile again unmodified files... 20110909 20:10:52< anonymissimus> so its somewhat faster in compiling 20110909 20:11:39< anonymissimus> timotei21: tbh i feel like it always compiles every file for every single line I change somewhere 20110909 20:11:56< timotei21> anonymissimus: hmm, that's because of the immense dependency tree on some files 20110909 20:12:05< timotei21> or maybe incremental build is off 20110909 20:12:05< timotei21> :P 20110909 20:12:09< timotei21> sorry, minimal rebuild* 20110909 20:12:32-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110909 20:12:40< anonymissimus> just like now where my computer is already building for an hour or more and I start babbling useless stuff when the other things I could do during my comp is till buisy are already done^^ 20110909 20:13:25< anonymissimus> ah VC9 is almost finished now :) 20110909 20:15:40< timotei21> :) 20110909 20:15:53< timotei21> Well, IDK but for me release build takes much more than a debug(fast) one 20110909 20:17:10-!- Talad [~myself@planeshift/director/Talad] has quit [] 20110909 20:17:37-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20110909 20:23:29< gabba> anonymissimus: no, I don't think I understand the bug :P 20110909 20:24:09< anonymissimus> gabba: ok... just load any scenario, debug-create 2 units, make one of them an enemy and attack 20110909 20:24:28< anonymissimus> when the attack is over, click onto teh attacker 20110909 20:24:32< gabba> wesbot: bug #16652 20110909 20:24:32< wesbot> Bug #16652 Assigned to: Gabriel M. Status: Need Info Priority: 4 20110909 20:24:35< wesbot> Summary: attackable units incorrectly highlighted 20110909 20:24:38< wesbot> Original submission: 20110909 20:24:40< wesbot> URL: https://gna.org/bugs/?16652 20110909 20:24:50< anonymissimus> you can see thqat the attacker and the defender are both slightly highlited 20110909 20:25:20< anonymissimus> the defender should not, since the attacker has used up its attacks_left 20110909 20:25:46< anonymissimus> the defender should only be highlited in case that the attacker has attacks_left >= 0 20110909 20:26:13< anonymissimus> the defenderS I mean, all possible units that can be attacked from the position where the attacker currently is 20110909 20:26:16< gabba> Ok, so... the highlight is supposed to show where the selected unit can move or attack 20110909 20:26:28< anonymissimus> where it can attack 20110909 20:26:40< gabba> and here it indicates wrongly that an attack is possible, that's the problem? 20110909 20:26:47< anonymissimus> it can not or no longer move since it already moved beside the defender 20110909 20:26:55< anonymissimus> yes 20110909 20:27:31< anonymissimus> IIRC my description above is the "historical" behavior how it was until last summer 20110909 20:27:33< gabba> I wonder why the bug was assigned to me though, did I supposedly introduce it when working on the whiteboard? 20110909 20:27:52< gabba> since last summer, ok it does point to me :P 20110909 20:27:56< anonymissimus> the bug is already there a year or so 20110909 20:28:32< anonymissimus> yes, silene assigned it to you since apparently he diagnosed the problem to be whiteboard-related 20110909 20:29:54< anonymissimus> thonsew: the debugger startup crash is fixed it seems 20110909 20:30:13< gabba> Strange, in theory when you deactivate the whiteboard everything should behave as before, at least that's what I tried to achieve last summer. But I'll look into it nevertheless. 20110909 20:30:47< anonymissimus> gabba: well this is definitely not the case in this case 20110909 20:32:19< anonymissimus> timotei21, tschmitz : btw do you know of the debugger crash when attempting to open the addons dialog ? it has always been there for me 20110909 20:32:44< anonymissimus> these tend to be real problems, the debugger is quite sensitive to memory issues 20110909 20:33:57< anonymissimus> I think I wait until that dialog is gui2 before an attempt to fix it 20110909 20:34:16< anonymissimus> or maybe it's gone by that time :) 20110909 20:35:18< thonsew> anonymissimus: Thanks for notifying me. I'd like to submit a patch to fix a gcc warning introduced by one of the patches to fix the static initialization errors. I want to wait until the windows builds are stable once again, in case it reintroduces initialization bugs. Is windows up and running? 20110909 20:35:48< anonymissimus> thonsew: ok now here's your nect problem: 20110909 20:36:28< anonymissimus> i get a vector subscript out-of-range when trying to load a scenario in the debugger 20110909 20:37:29< gabba> Hmm btw does anybody know if wesnoth upgrades properly a previous 1.9.x version when installing it under windows, or if I should uninstall the previous one to avoid leftover old installs in the add/remove list? 20110909 20:37:33< thonsew> pastebin? 20110909 20:38:19< loonycyborg> gabba: They install side-by-side. 20110909 20:38:34-!- Octalot [~noct@host86-182-33-109.range86-182.btcentralplus.com] has quit [] 20110909 20:38:46< anonymissimus> http://pastebin.com/6HS0Qn4c 20110909 20:38:49< gabba> loonycyborg: thanks 20110909 20:38:56< anonymissimus> maybe not a win-only issues though 20110909 20:39:58< anonymissimus> gabba: uninstall the previous one I guess 20110909 20:40:13< anonymissimus> but possible manually save the userdata 20110909 20:40:22< anonymissimus> savegames and such 20110909 20:41:12< loonycyborg> userdata won't be deleted by uninstall in any case. 20110909 20:41:59< anonymissimus> loonycyborg: which is very bad, i like to *completely* uninstall things 20110909 20:42:19< anonymissimus> and manually save on what I want 20110909 20:42:45< anonymissimus> probably not what the majority of users wants though 20110909 20:44:52< timotei21> anonymissimus: well, by default it should NOT. 20110909 20:45:01< timotei21> Unless somebody puts a checkbox there to remove that 20110909 20:45:05< loonycyborg> Since userdata is stored not in program files by default deleting save files is less useful for uninstall. 20110909 20:45:20< timotei21> anonymissimus: apps should not remove files not owned by them 20110909 20:46:18< timotei21> anonymissimus: IDK about that crash. I didn't use the debugger that many times :( 20110909 20:49:37-!- mjs-de [~mjs-de@e182045183.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110909 20:50:15< anonymissimus> thonsew: hm unfortunately this last crash happens only in the debugger, the MinGw binary runs fine; I could post another backtrace from HttT but it looks the same 20110909 20:50:51< gabba> ^^WRT to removing userdata, most sensible install programs ask you if you want to delete your savegames etc when uninstalling - of course the option is unchecked by default 20110909 20:52:31-!- gabba [~gabba@wesnoth/developer/gabba] has quit [Read error: Connection reset by peer] 20110909 20:53:46< thonsew> anonymissimus: I think I have a fix. Try this http://pastebin.com/zf5ym8hj at line 721 in variable.cpp 20110909 20:55:10< thonsew> I'm guessing the debugger is dereferencing the iterators as soon as they are defined, before the subsequent code validates them. 20110909 20:58:03-!- timotei21 [timotei@wesnoth/developer/timotei] has quit [Ping timeout: 258 seconds] 20110909 20:59:35-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20110909 20:59:56< anonymissimus> building...i hope this was the last major problem then 20110909 21:02:18< thonsew> There are other static initialization problem with the other z_ variables. If you can do one more build after this one before I sign off, then I will know what I need to know to write a more complete fix. 20110909 21:11:35< anonymissimus> thonsew: ok vc10 debugger loaded successfully 20110909 21:12:00< anonymissimus> normal campaign scenario 20110909 21:12:02< thonsew> awesome I will submit some patches, shortly. 20110909 21:12:16< anonymissimus> that is, whyt you pasted above works 20110909 21:12:32< anonymissimus> i get a crash in vc9 though but its something else 20110909 21:12:49< thonsew> pastebin it. 20110909 21:13:40< anonymissimus> http://pastebin.com/AHAFz46b 20110909 21:13:58< anonymissimus> also out of range problem 20110909 21:14:10< anonymissimus> when opening the saved games dialog 20110909 21:14:44< anonymissimus> i think you can commit your other fixes now 20110909 21:14:52< CIA-22> thonsew * r51105 /trunk/src/unit.cpp: Fixed warning array subscript is below array bounds [-Warray-bounds] by changing z_empty() to a static const local z_empty. 20110909 21:14:56< CIA-22> thonsew * r51106 /trunk/src/variable.cpp: Fix for crash in MSVC debugger, where it dereferences vector iterators immediately on creation. This patch checked by anonymissimus. 20110909 21:15:56< thonsew> Were the out-of-range problems in the debugger? They are likely to be the same type of problem. 20110909 21:16:14< anonymissimus> yes 20110909 21:17:25< anonymissimus> thonsew: well maybe timotei wants to work further on it ? 20110909 21:17:39< anonymissimus> I'd like going afk now and do a rebuild 20110909 21:18:16< anonymissimus> or tschmitz , now that you do no longer need to solve the compilation error ;) 20110909 21:18:31< thonsew> great. See you soon. 20110909 21:19:19< thonsew> I like that idea. Fixing bugs offline is painful. 20110909 21:28:48-!- MeccaGod [~majs@host189-199.bornet.net] has quit [] 20110909 21:31:28-!- thonsew [~thonsew__@gateway/tor-sasl/thonsew] has quit [Quit: Leaving] 20110909 21:42:54-!- Rhonda [~rhonda@wesnoth/developer/rhonda] has quit [Remote host closed the connection] 20110909 21:46:23-!- Rhonda [~rhonda@anguilla.debian.or.at] has joined #wesnoth-dev 20110909 21:47:58-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20110909 22:18:02-!- noy_ [~Noy@74.198.151.109] has joined #wesnoth-dev 20110909 22:18:02-!- noy_ [~Noy@74.198.151.109] has quit [Changing host] 20110909 22:18:02-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 22:20:41-!- Gambit_laptop [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110909 22:21:20-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 276 seconds] 20110909 22:21:21-!- noy_ is now known as noy 20110909 22:22:21-!- Octalot [~noct@host86-182-33-109.range86-182.btcentralplus.com] has joined #wesnoth-dev 20110909 22:35:03-!- Grimling [~FKint@91.181.208.11] has joined #wesnoth-dev 20110909 22:36:09-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20110909 22:56:06-!- Gambit_laptop [~Gambit@wesnoth/developer/grickit] has quit [Quit: this login is not required when home] 20110909 22:56:13-!- Crendgrim [~crend@77-22-155-217-dynip.superkabel.de] has quit [Quit: ...] 20110909 22:58:56-!- dtiger [~dtiger@dynamic-vpdn-91-149-132-235.telecom.by] has quit [Remote host closed the connection] 20110909 23:26:06-!- noy_ [~Noy@74.198.151.21] has joined #wesnoth-dev 20110909 23:26:06-!- noy_ [~Noy@74.198.151.21] has quit [Changing host] 20110909 23:26:06-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 23:28:35-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 260 seconds] 20110909 23:29:26-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20110909 23:31:11-!- noy_ [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 240 seconds] 20110909 23:35:54-!- Talad|ZzZ [~myself@planeshift/director/Talad] has joined #wesnoth-dev 20110909 23:39:40-!- Talad|ZzZ is now known as Talad 20110909 23:41:05-!- Grimling [~FKint@91.181.208.11] has quit [Quit: Leaving] 20110909 23:47:53< CIA-22> espreon * r51107 /trunk/data/hardwired/tips.cfg: Improved the liminal part of the alignment tip. 20110909 23:50:04< CIA-22> espreon * r51108 /trunk/data/hardwired/tips.cfg: Uncapitalized 'Liminal'. 20110909 23:55:43-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 260 seconds] 20110909 23:56:33-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Operation timed out] --- Log closed Sat Sep 10 00:00:30 2011