IRC logs for #openttd on OFTC at 2019-06-23
            
00:24:01 *** Wormnest has quit IRC
00:29:52 *** debdog has joined #openttd
00:35:13 *** snail_UES_ has joined #openttd
00:41:53 *** nielsm has quit IRC
02:33:41 *** Thedarkb has joined #openttd
02:52:13 *** Samu has quit IRC
03:08:40 *** Progman has quit IRC
03:49:46 *** HerzogDeXtEr has quit IRC
04:21:19 *** glx has quit IRC
04:23:01 *** D-HUND has joined #openttd
04:26:23 *** debdog has quit IRC
04:35:52 *** Flygon has joined #openttd
06:02:23 *** Wormnest has joined #openttd
06:06:41 *** Wormnest has quit IRC
06:23:54 *** Laedek_ has quit IRC
06:24:03 *** snail_UES_ has quit IRC
06:50:43 *** Thedarkb has quit IRC
07:34:20 *** Vadtec has quit IRC
07:34:32 *** Vadtec has joined #openttd
07:39:52 *** Laedek has joined #openttd
08:44:44 *** sla_ro|master has joined #openttd
09:18:41 *** gelignite has joined #openttd
09:26:44 *** nielsm has joined #openttd
09:39:22 *** colde has quit IRC
09:39:23 *** colde has joined #openttd
10:05:57 *** Progman has joined #openttd
10:08:43 *** HerzogDeXtEr has joined #openttd
10:50:07 *** heffer_ has quit IRC
10:50:12 *** heffer has joined #openttd
11:33:59 *** Samu has joined #openttd
11:34:55 *** Samu_ has joined #openttd
11:42:08 *** Samu has quit IRC
11:47:38 *** Samu_ has quit IRC
12:22:35 *** D-HUND has quit IRC
12:29:38 *** nielsm has quit IRC
12:34:59 *** Thedarkb has joined #openttd
12:38:04 *** heffer has quit IRC
12:39:34 *** heffer has joined #openttd
12:44:58 *** heffer has quit IRC
12:46:29 *** heffer has joined #openttd
13:12:13 *** Thedarkb has quit IRC
14:29:57 *** glx has joined #openttd
14:29:57 *** ChanServ sets mode: +v glx
14:36:33 *** andythenorth has joined #openttd
14:37:31 <andythenorth> yo
14:44:41 <andythenorth> did anyone make a lunchbot yet?
14:59:05 *** tokai has joined #openttd
14:59:05 *** ChanServ sets mode: +v tokai
15:05:47 *** tokai|noir has quit IRC
15:16:54 *** OsteHovel has quit IRC
15:17:05 *** OsteHovel has joined #openttd
15:23:01 *** Progman has quit IRC
15:36:26 *** debdog has joined #openttd
15:45:44 *** Antheus has quit IRC
15:47:37 *** Antheus has joined #openttd
15:50:58 <DorpsGek_II> [OpenTTD/CompileFarm] glx22 opened pull request #36: Fix: vcpkg failure https://git.io/fjw6b
16:10:34 *** Flygon has quit IRC
16:20:53 *** Heiki has quit IRC
16:26:15 *** Heiki has joined #openttd
16:41:18 *** jinks has quit IRC
16:41:24 *** jinks has joined #openttd
16:45:53 <LordAro> andythenorth: http://isitlunchtimeyet.com/
16:52:58 <DorpsGek_II> [OpenTTD/CompileFarm] glx22 updated pull request #36: Fix: vcpkg failure https://git.io/fjw6b
17:00:34 *** Thedarkb has joined #openttd
17:00:44 *** Wormnest has joined #openttd
17:01:18 *** sla_ro|master has quit IRC
17:24:55 *** Progman has joined #openttd
17:51:51 <andythenorth> LordAro: did you register that domain? o_O
17:53:35 <LordAro> andythenorth: not mine :p
18:09:37 *** Mahjong2 has joined #openttd
18:12:41 *** quiznilo has joined #openttd
18:17:18 *** Mahjong1 has quit IRC
18:46:05 *** spnda has joined #openttd
18:52:20 *** urdh has quit IRC
18:52:32 *** urdh has joined #openttd
18:55:33 *** Thedarkb has quit IRC
19:08:06 *** Thedarkb has joined #openttd
19:08:28 *** quiznilo has left #openttd
19:13:06 * andythenorth Hog much
19:44:53 *** snail_UES_ has joined #openttd
19:46:18 *** frosch123 has joined #openttd
19:47:22 <frosch123> anyone wants to do an interview with some college student?
19:47:49 <andythenorth> about?
19:47:54 <frosch123> not sure how many got that mail, since it was to frosch@, not info@
19:48:20 <frosch123> andythenorth: about doing open source, and how that affects your career
19:48:38 <frosch123> apparently it is for some Technical Writing class, so not sure how that adds up
19:48:44 <frosch123> but, well, college :p
19:51:54 <Eddi|zuHause> do you need something that other people would call a "carreer"?
19:53:01 <frosch123> you only need to impress a teenager
20:06:25 *** ToBeFree has quit IRC
20:06:42 *** ToBeFree has joined #openttd
20:23:41 *** lpx has quit IRC
20:28:51 *** lpx has joined #openttd
20:53:32 *** nielsm has joined #openttd
21:07:26 <snail_UES_> any chance we can get depots with closed doors, which open when a train enters or leaves?
21:09:36 <frosch123> you can likely expose the pbs reservation, like for stations
21:18:47 <snail_UES_> right, so it would be possible
21:26:07 *** andythenorth is now known as Guest5777
21:26:09 *** andythenorth has joined #openttd
21:30:53 *** Guest5777 has quit IRC
21:37:24 *** spnda has quit IRC
21:43:47 <andythenorth> maybe I should play OpenTTD
21:46:56 <andythenorth> this is putting me off a bit https://github.com/OpenTTD/OpenTTD/issues/7618
21:47:09 <andythenorth> I have lost a few newgrf dev/test games to that
21:55:38 <Eddi|zuHause> andythenorth: you could start by running a debugger, and creating a backtrace?
21:56:53 <andythenorth> could I just remove the "don't generate crashlog" guard?
21:57:25 * andythenorth reading about gdb
21:58:02 <Eddi|zuHause> last time you used lldb
21:58:26 <andythenorth> how do you remember this stuff? I can't even get my kids' names right :P
22:01:24 <andythenorth> https://paste.openttdcoop.org/pcchrfyyt/ivsyph/raw
22:01:35 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on issue #7618: Assertion failure loading savegame with missing grf https://git.io/fjwDc
22:02:03 <nielsm> that looks like it might be the wrong thread you're looking at
22:02:14 <nielsm> unless the stack is smashed
22:02:19 <andythenorth> saveload uses a different thread?
22:02:40 <nielsm> there's usually a few threads around regardless
22:03:03 <nielsm> I think load is always on the main thread
22:04:15 <andythenorth> https://paste.openttdcoop.org/p6pppyvlc/lw41ky/raw
22:04:23 <andythenorth> I am just going by googling here :P
22:04:29 <andythenorth> no idea what I'm doing
22:05:48 <andythenorth> https://paste.openttdcoop.org/pwmrpem5k/ybtxti/raw
22:05:53 <andythenorth> thread list at the end of the paste
22:07:13 <andythenorth> backtrace of all threads https://paste.openttdcoop.org/pu7j73jpl/1aysf4/raw
22:07:48 <andythenorth> around frames 20-22 looks interesting?
22:08:22 <Eddi|zuHause> yes, everything below error()
22:08:52 <Eddi|zuHause> the rest is just OS noise
22:10:14 <Eddi|zuHause> so possibly something like "up 20" works, and then "l"
22:13:28 <andythenorth> https://paste.openttdcoop.org/poabtewfk/a4se2j/raw
22:13:36 *** snail_UES_ has quit IRC
22:13:48 <Eddi|zuHause> another up
22:14:24 <andythenorth> https://paste.openttdcoop.org/phrzpneoj/zj5bqw/raw
22:15:01 <Eddi|zuHause> no, just one "up", not "up 20"
22:15:12 <andythenorth> ok
22:15:24 <Eddi|zuHause> (well, now it would be "down 19" :p
22:15:26 <Eddi|zuHause> )
22:15:41 <andythenorth> https://paste.openttdcoop.org/pc9yedhjx/v2cuwy/raw
22:16:04 <Eddi|zuHause> so, what does "l" say?
22:16:10 <andythenorth> nothing
22:16:28 <andythenorth> maybe it's a different command in lldb?
22:16:30 * andythenorth looking
22:16:51 <Eddi|zuHause> maybe, or maybe it just forgot the link to the source files
22:17:03 <Eddi|zuHause> because of directory issues and whatnot
22:17:16 <andythenorth> explicit 'list' is also just printing nothing
22:17:57 *** snail_UES_ has joined #openttd
22:18:09 <Eddi|zuHause> does "p t" say anything?
22:18:55 <andythenorth> error: use of undeclared identifier 't'
22:19:03 <andythenorth> (lldb) source info
22:19:03 <andythenorth> error: No debug info for the selected frame.
22:19:15 * andythenorth reading stack overflow :P
22:19:28 <Eddi|zuHause> andythenorth: you probably need to direct it to the src directory
22:19:44 <Eddi|zuHause> andythenorth: or recompile it with debug symbols
22:19:54 <LordAro> likely the latter
22:19:58 <andythenorth> ouch it's trapped my sound
22:20:07 <andythenorth> I've got a looped beep and no mute option :P
22:20:08 <LordAro> it'll do that
22:20:12 <andythenorth> much lolz
22:20:16 <LordAro> i disable sound when using gdb :p
22:20:44 <LordAro> -s null, or whatever the command flag is
22:21:46 <andythenorth> 'disassemble' seems to do stuff here
22:22:20 <LordAro> yeah, shows you the raw machine code :p
22:22:28 <LordAro> not hugely useful, we're not at that level yet
22:22:37 <andythenorth> what are we trying to get to?
22:22:51 <Eddi|zuHause> get to the matching source code lines
22:22:51 <LordAro> i have no idea
22:22:52 <LordAro> frame #20: 0x0000000100212dca openttd`error(char const*, ...) + 202
22:22:53 <LordAro> frame #21: 0x000000010012468c openttd`RoadVehicle::GetMaxTrackSpeed() const + 284
22:22:56 <LordAro> is enough, imo
22:25:08 <Eddi|zuHause> that function consists of one line: "return GetRoadTypeInfo(GetRoadType(this->tile, GetRoadTramType(this->roadtype)))->max_speed;"
22:25:19 <LordAro> hmm
22:25:22 <Eddi|zuHause> try "p this->roadtype"?
22:25:24 <LordAro> something's been inlined then
22:25:31 <LordAro> try one of the 3 functions :p
22:26:11 <andythenorth> (lldb) p this->roadtype
22:26:11 <andythenorth> error: invalid use of 'this' outside of a non-static member function
22:26:31 <LordAro> after switching to frame 21?
22:26:35 <LordAro> (and the correct thread)
22:26:35 <Eddi|zuHause> at which frame are you?
22:27:09 <andythenorth> 21
22:27:15 <Eddi|zuHause> probably too much stuff optimized away
22:27:19 <LordAro> mm
22:29:11 <Eddi|zuHause> it might be interesting where exactly this is: "frame #23: 0x00000001002bc060 openttd`AfterLoadVehicles(bool) + 2848"
22:29:40 <LordAro> nearly impossible with a release build, really
22:29:44 <LordAro> needs debug
22:29:54 <LordAro> ./configure --enable-debug(=2)
22:29:57 <Eddi|zuHause> because it might be accessing data that is in an invalid state of conversion
22:30:44 <andythenorth> ./configure --enable-debug(=2)
22:30:45 <andythenorth> -bash: syntax error near unexpected token `('
22:31:07 <andythenorth> the save is on the issue if you want to try btw
22:31:15 <Eddi|zuHause> that's what happens when you copy-paste stuff without understanding what it means :p
22:31:27 <andythenorth> yes
22:31:29 <LordAro> without the parens :p
22:33:05 * andythenorth compiling
22:37:11 <Eddi|zuHause> gtg for a bit
22:38:28 <andythenorth> https://paste.openttdcoop.org/pqgpnkoug/fpchvh/raw
22:38:43 <andythenorth> what do I paste next? :P
22:40:31 <LordAro> did you do --enable-debug, or --enable-debug=2 ?
22:40:39 <LordAro> i suspect the former
22:41:07 <LordAro> because it looks like it's got the same inlining as before
22:41:15 <LordAro> (i'd look myself, but currently Windows)
22:41:16 <andythenorth> history says ./configure --enable-debug=2
22:41:22 <LordAro> hmm
22:42:05 <andythenorth> can come back to this another time?
22:42:39 <LordAro> according to the configure script, level 2 should enable -fno-inline
22:42:54 <LordAro> what does the stack trace look like this time?
22:43:12 <LordAro> is there anything above GetMaxTrackSpeed (and below error )
22:44:29 <andythenorth> stack trace changed, I'll paste
22:45:20 <andythenorth> https://paste.openttdcoop.org/pz7g7nge4/6xfs5d/raw
22:46:54 <LordAro> what does frame 4 look like?
22:47:34 <andythenorth> https://paste.openttdcoop.org/pz5catmub/97pphs/raw
22:48:01 <LordAro> and naturally roadtype itself has been optimised out
22:48:05 <LordAro> but that's the issue
22:48:33 <LordAro> the fun bit is working out why that's happened
22:49:36 <andythenorth> :)
22:49:58 <andythenorth> well at one level, the grf isn't present :P
22:50:04 <andythenorth> so that won't help :P
22:52:05 <LordAro> not especially, no
22:52:30 <andythenorth> but it's crashing before I can swap out the grf :P
22:52:37 <LordAro> but the roadtype of the ..road shouldn't be beyond the maximum roadtype id either
23:12:33 *** frosch123 has quit IRC
23:14:07 * andythenorth bed
23:14:08 *** andythenorth has left #openttd
23:50:01 *** Progman has quit IRC