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

Powered by YARRSTE version: svn-trunk