Minetest logo

IRC log for #minetest, 2021-04-05

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:20 Kimapr joined #minetest
00:27 appguru1 joined #minetest
00:38 erlehmann joined #minetest
01:33 specing_ joined #minetest
01:57 Swift110-mobile joined #minetest
02:09 Surfer2011_ joined #minetest
02:19 juan_ joined #minetest
02:20 LazyJ joined #minetest
02:28 Verticen joined #minetest
02:41 Gustavo6046 joined #minetest
02:52 LazyJ joined #minetest
03:01 FeXoR joined #minetest
04:00 MTDiscord joined #minetest
04:02 est31 joined #minetest
04:24 Hawk777 joined #minetest
04:40 TC01 joined #minetest
04:51 Verticen joined #minetest
05:32 absurb joined #minetest
05:43 portaltree joined #minetest
06:36 MTDiscord <lordawe> Hi guys! Please, what it might be,  MT throws me this error: ERROR[Main]: [vector_extras] vector.cross already exists.
06:37 VanessaE maybe that mod's simply not needed anymore?
06:38 VanessaE `vector.cross()` is in the Minetest API
06:38 VanessaE https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3178
06:38 MTDiscord <lordawe> risenpilz mod require it
06:39 MTDiscord <lordawe> riesenpilz
06:39 VanessaE one or both need updated then
06:39 MTDiscord <lordawe> ok
06:39 MTDiscord <lordawe> thx
06:39 VanessaE either riesenpilz should no longer need vector_extras, or vector_extras needs to drop `vector.cross()` from its API.
06:40 MTDiscord <lordawe> I see
06:50 MTDiscord <lordawe> I've removed the dependency and so far so good. TY VanessaE
06:51 VanessaE good luck :)
06:54 VanessaE be sure you file an issue against reisenpilz to let the maintainer know
06:54 hanetzer joined #minetest
07:44 galex-713 joined #minetest
07:51 dalz left #minetest
08:00 ShadowNinja joined #minetest
08:14 est31 joined #minetest
08:36 FeXoR joined #minetest
08:47 jluc joined #minetest
09:37 calcul0n joined #minetest
09:39 delta23 joined #minetest
09:48 hlqkj joined #minetest
09:51 proller joined #minetest
09:58 riff-IRC joined #minetest
10:08 calcul0n_ joined #minetest
10:23 MTDiscord <lordawe> Guys, I have an issue with minetes 5.4.0 / mods, idk, because it behaves strangely
10:26 MTDiscord <lordawe> I'm on W10, I've selected some mods and created a world. It is working fine. Then I moved it to my other PC (W10) and when I start it, it throws "ERROR[Main]: Connection timed out" and MT quits...
10:29 MTDiscord <lordawe> I struggle with it for couple days. PC has CPU Pentium G3420 @ 3,2GHz 2C/2T, RAM 8GB. Integrated VGA Intel.
10:30 MTDiscord <lordawe> When I use it to connect to other online MT servers, it is working fine.
10:30 MTDiscord <lordawe> I have allowed MT in firewall.
10:30 MTDiscord <lordawe> I have performed memtest and everything is fine.
10:31 sfan5 this is a known "bug" so to say
10:32 MTDiscord <lordawe> And is there any solution to this "bug", please?
10:32 sfan5 the client has a 10s timeout for waiting for the server to start up
10:32 sfan5 (not new in 5.4.0 however)
10:33 MTDiscord <lordawe> ah, k. CPU is rather slow, I have it in my HTPC
10:33 sfan5 you have several options
10:33 sfan5 1) uncheck the "Host Server" box in the main menu
10:33 sfan5 2) run the world from the command line using minetest.exe --server --worldname "<name here>"
10:34 sfan5 3) figure out which mod is taking so long and somehow fix that
10:34 MTDiscord <lordawe> 2nd option is my choice
10:35 MTDiscord <lordawe> I was trying GUI only to test it if it works and I've spent hours to fight it...
10:35 MTDiscord <lordawe> thank you sfan5
10:36 sfan5 if you don't mind try figuring out which mod takes so long and tell me
10:36 Fixer joined #minetest
10:36 MTDiscord <lordawe> how?
10:38 sfan5 if you run with --verbose you have mod load times (and a whole lot of other stuff, you'll have to search the log in a text editor)
10:39 v32itas joined #minetest
10:42 MTDiscord <lordawe> k, I'll try
10:42 submariner joined #minetest
10:48 MTDiscord <lordawe> should I run --verbose with command line or run gui with verbose?
10:54 MTDiscord <lordawe> verbose
10:54 MTDiscord <lordawe> https://cdn.discordapp.com/attachments/749727888659447960/828583248212000788/message.txt
10:55 sfan5 that doesn't look like a verbose log
10:56 absurb_ joined #minetest
10:56 MTDiscord <lordawe> i've created batch file with command: "minetest.exe --server --worldname testovaci --verbose"
10:57 MTDiscord <lordawe> then I've copied the content of debug.txt
10:57 MTDiscord <lordawe> should I copy content of concole window? It shows no times either...
10:57 Norodix joined #minetest
10:58 MTDiscord <lordawe> almost, no times...
10:58 sfan5 does it show anything with VERBOSE[Main]?
10:58 MTDiscord <lordawe> C:\minetestserver5.4.0\bin>minetest.exe --server --worldname testovaci --verbose  - Found whitespace, leaving param  - Found whitespace, leaving param
11:00 VanessaE sfan5: not to interrupt, but since I'm bored, and you wanted one:  https://imgur.com/XcjlCwG.png
11:00 sfan5 :D
11:02 MTDiscord <lordawe> no VERBOSE[Main]
11:02 MTDiscord <lordawe> VanessaE lol ?
11:03 sfan5 hm that's weird, thanks for trying anyway
11:06 MTDiscord <lordawe> sfan5, and what about debug_log_level = 4 in config file? ? I'll try
11:06 sfan5 does that take numbers? I'd think it should be "debug_log_level = verbose"
11:07 sfan5 sure please try that
11:08 MTDiscord <lordawe> It takes numbers
11:08 MTDiscord <lordawe> debug.txt verbose
11:09 MTDiscord <lordawe> https://cdn.discordapp.com/attachments/749727888659447960/828587015633109012/message.txt
11:10 MTDiscord <lordawe> ah sorry, it was still loading, there is another bigger version
11:10 MTDiscord <lordawe> hopefully full debug.txt
11:10 MTDiscord <lordawe> https://cdn.discordapp.com/attachments/749727888659447960/828587427618095134/message.txt
11:12 MTDiscord <lordawe> I have found it here: https://wiki.minetest.net/MinetestEDU/Informations_about_%27%27minetest.conf%27%27
11:13 sfan5 the times sum to ~5s, top three:
11:13 sfan5 2021-04-05 13:07:17: INFO[Main]: Mod "technic_chests" loaded after 736 ms
11:13 sfan5 2021-04-05 13:07:15: INFO[Main]: Mod "moreblocks" loaded after 1042 ms
11:13 sfan5 2021-04-05 13:07:16: INFO[Main]: Mod "coloredwood" loaded after 1214 ms
11:17 MTDiscord <lordawe> i see it
11:19 MTDiscord <lordawe> thank you for your help
11:21 calcul0n_ joined #minetest
11:22 jess joined #minetest
11:34 Flabb joined #minetest
11:37 MTDiscord <lordawe> how to shutdown a server running from command line poperly? Is it enough to Ctrl+C?
11:38 sfan5 yes
11:38 MTDiscord <lordawe> thx
11:38 sfan5 obviously don't spam it, just once and it'll shut down normally
11:39 VanessaE or kill -INT
11:40 MinetestBot [git] SmallJoker -> minetest/minetest: Game: Scale damage flash to max HP c11208c https://git.io/JYHze (2021-04-05T11:38:50Z)
11:40 MinetestBot [git] sfan5 -> minetest/minetest: Reserve vectors before pushing and other code quality changes (#11161) f0bad0e https://git.io/JYHzv (2021-04-05T11:38:31Z)
11:40 MinetestBot [git] Wuzzy2 -> minetest/minetest: Devtest: Remove testnodes_show_fallback_image 3e1904f https://git.io/JYHzf (2021-04-05T11:37:58Z)
11:41 DivideByZero joined #minetest
11:47 Verticen joined #minetest
11:49 proller joined #minetest
11:51 x2048 joined #minetest
12:12 Andrew__ joined #minetest
12:12 Andrew__ left #minetest
12:58 hlqkj_ joined #minetest
13:10 SwissalpS joined #minetest
13:28 Taoki joined #minetest
13:28 appguru joined #minetest
13:32 MinetestBot [git] sfan5 -> minetest/minetest: Don't apply connection timeout limit to locally hosted servers 19c2835 https://git.io/JYHHH (2021-04-05T13:21:43Z)
13:33 specing_ joined #minetest
13:57 MinetestBot [git] yw05 -> minetest/minetest: Make edit boxes respond to string input (IME) (#11156) 85163b5 https://git.io/JYHFN (2021-04-05T13:56:29Z)
13:57 MinetestBot [git] Desour -> minetest/minetest: Add vector.to_string and vector.from_string (#10323) 2332527 https://git.io/JYHFA (2021-04-05T13:55:56Z)
14:08 x2048 joined #minetest
14:11 Talkless joined #minetest
14:12 kamdard joined #minetest
14:13 TomTom joined #minetest
14:16 FeXoR joined #minetest
14:32 Noisytoot joined #minetest
14:33 expert975 joined #minetest
14:34 MTDiscord <ChaosWormz> minetest crashes with "WARNING[Main]: Irrlicht: Locale not supported. Falling back to non-i18n input." on the main menu when starting minetest. I am using current latest git (for both minetest and irrlicht)
14:35 sfan5 gdb backtrace would be appreciated
14:42 MTDiscord <ChaosWormz> does seem to give much more info using the debug build
14:42 MTDiscord <ChaosWormz> *doesn't
14:42 MTDiscord <ChaosWormz> gonna try rebooting
14:42 sfan5 uh
14:43 sfan5 so by "crashes" you mean "exits"?
14:45 celeron55 on windows if it crashes there should be the application crash dialog, right?
14:45 celeron55 if it shuts down by itself there should be something in the log explaining it
14:45 celeron55 oh wait, nobody said it was windows this time
14:49 MTDiscord <ChaosWormz> Crash still occurs.
14:50 sfan5 define "crash"
14:51 MTDiscord <ChaosWormz> I start the application, It's says hi... bye and closes.
14:51 MTDiscord <ChaosWormz> end with this: Segmentation fault (core dumped)
14:51 sfan5 okay then it's definitely a crash
14:52 sfan5 a debug build + gdb should give your more info
14:52 sfan5 make sure to rebuild irrlicht as debug too
14:53 MTDiscord <ChaosWormz> what's gdb?
14:54 sfan5 a debugger
14:56 sfan5 basically you run this:  gdb -ex r -ex 'bt full' ./bin/minetest
14:56 sfan5 and when it crashes, it print more information that'll be useful to determine the cause
15:05 hlqkj_ joined #minetest
15:05 MTDiscord <ChaosWormz> https://pastebin.com/62BgkcSp
15:11 sfan5 pull irrlicht and compile, should be fixed
15:12 Peppy joined #minetest
15:18 Hawk777 joined #minetest
15:46 Gustavo6046 joined #minetest
15:53 FreeFull joined #minetest
15:53 qjq joined #minetest
16:06 DS-minetest joined #minetest
16:16 x2048 joined #minetest
16:25 x2048 left #minetest
16:33 submariner joined #minetest
17:03 Flabb joined #minetest
17:17 calcul0n_ joined #minetest
17:39 emacsomancer joined #minetest
17:51 emacsomancer joined #minetest
18:00 ramirez joined #minetest
18:02 delta23 hello
18:02 delta23 when i try building the latest git of irrlichtMT and minetest
18:02 delta23 minetest segfaults on start
18:03 sfan5 does it print anything before that?
18:03 delta23 no
18:04 delta23 crashes before even displaying debug text
18:04 delta23 $ ./minetest
18:04 delta23 Segmentation fault (core dumped)
18:04 Peppy joined #minetest
18:05 sfan5 try running it under gdb and see what it says
18:05 delta23 should i rebuild it as a debug build ?
18:05 sfan5 might be useful
18:09 Krock also check whether minetest and irrlichtmt are up to date
18:09 delta23 https://pastebin.com/DSD7Kj7r
18:09 delta23 Krock: i updated them just now to make sure
18:09 delta23 latest git for both
18:09 delta23 debug build also segfaults and gdb gives error about joystick
18:09 delta23 which i don't have joystick plugins so
18:09 Krock how the heck
18:10 Krock this=0x0
18:10 Krock looks like it registers JoystickController anyway to irrlicht
18:12 Krock https://github.com/minetest/minetest/blob/master/src/gui/guiFormSpecMenu.cpp#L4059
18:13 Krock why do you receive a joystick event?
18:13 Krock this is nonsense behaviour
18:13 Krock anyway, changing this line to    bool handled = m_joystick && m_joystick->handleEvent(event.JoystickEvent);    should fix your issue
18:13 sfan5 you can get a backtrace using "bt full"
18:13 sfan5 please post that
18:14 delta23 alright
18:14 Krock there's another call in MyEventReceiver::OnEvent too
18:18 delta23 bt full dumps a whole lot of stuff - exceeds pastebin's 512kb limit
18:19 sfan5 truncate it
18:20 delta23 how ?
18:20 delta23 the debug output?
18:21 sfan5 save it in a file and run head -c512000 on it
18:24 delta23 https://pastebin.com/gw0uwBmP
18:25 delta23 oh wait it 404d
18:26 delta23 pastebin is deleting my pastes after it pastes them..
18:26 sfan5 you could also use another site such as https://uguu.se/
18:27 Krock or https://paste.debian.net/ if it's not down at random times
18:27 delta23 https://a.uguu.se/WiKgQadZ.txt
18:27 Krock MyEventReceiver::OnEvent
18:31 sfan5 delta23: recompile minetest, there is no bug
18:31 delta23 recompiling after rm cmakecache and make clean
18:31 sfan5 on the 2nd an event was added to irrlicht, the shift in the enum can cause a log event to be mistaken for a joystick event
18:32 sfan5 "can cause" if you've not recompiled that is
18:32 delta23 i've recompiled it already
18:32 delta23 this will be 3rd try
18:32 sfan5 then the libIrrlichtMt being loaded is not the one you compiled
18:32 sfan5 or it's compiled with outdated headers
18:32 sfan5 or something else
18:33 galex-713 joined #minetest
18:33 delta23 it's loading the correct library at least
18:33 delta23 i specified the irrlicht header and library directories in cmake
18:34 delta23 still segfaults
18:34 delta23 after rebuild
18:34 sfan5 check ldd ./minetest
18:35 delta23 libIrrlichtMt.so.1.9 => /usr/local/lib/libIrrlichtMt.so.1.9 it's the correct version
18:35 Krock so you installed it after compiling?
18:35 delta23 yes
18:35 delta23 should i retry with local ?
18:36 sfan5 compare the md5sum of /usr/local/lib/libIrrlichtMt.so.1.9 and the lib/Linux/libIrrlichtMt.so in your local folder
18:36 Krock if /usr/local/lib/libIrrlichtMt.so.1.9  is already up-to-date there's no point in it
18:36 delta23 sfan5: they're the same md5
18:36 sfan5 also check if grep STRING /usr/local/include/IEventReceiver.h returns something
18:38 delta23 $ grep STRING /usr/local/include/irrlichtmt/IEventReceiver.h
18:38 delta23 EET_STRING_INPUT_EVENT,
18:38 sfan5 okay that looks good
18:40 sfan5 hm
18:43 delta23 strange, when i rebuild it in a new git directory it works fine
18:43 delta23 but git status doesn't show anything different
18:43 delta23 (irrlichtMT i mean)
18:45 MTDiscord <y5nw> delta23: I think I wrote about it before. The string input event was introduced a few days ago in a way that is incompatitable with verions of MT linked with older versions of IrrlichtMt
18:46 delta23 it's the latest version of irrlichtmt... but from what i see
18:46 MTDiscord <y5nw> (assuming that MT is dynamically linked)
18:46 delta23 -DBUILD_SHARED_LIBS=ON for the irrlichtMT library reproduces this error
18:46 delta23 no, i meant
18:46 delta23 -DBUILD_SHARED_LIBS=OFF for the irrlichtMT library reproduces this error
18:47 sfan5 you have a mismatch of library, headers and/or what MT is built with somewhere
18:47 MTDiscord <y5nw> Wait, so how did you end up with libIrrlichtMt.so.1.9 when you built a static library?
18:48 delta23 i did originally
18:48 delta23 i think it's cmakecache
18:48 delta23 causing this
18:49 MTDiscord <y5nw> make clean && make
18:50 delta23 yes, that's what i did before that the error kept happening
18:50 delta23 rm CMakeCache.txt then the above
18:50 delta23 fixes the error
18:50 delta23 oh cmake before that a/w
18:51 celeron55 cmake's worst mistake is not implementing "cmake clean"
18:51 homthack joined #minetest
18:51 celeron55 everyone is lost at first trying to reset it
18:51 MTDiscord <y5nw> Since it's a breaking change you need to recompile libIrrlichtMt and Minetest (and yes, in that order)
18:51 delta23 it's fixed now, just need to reset cmake's cache files
18:51 delta23 *needed
18:58 Hawk777 git clean -dxf ← my preferred Very Big Cleaning Hammer
19:02 expert975 joined #minetest
19:20 DS-minetest joined #minetest
19:29 TechDude joined #minetest
20:09 tech_exorcist joined #minetest
20:13 pauloue joined #minetest
20:29 tech_exorcist joined #minetest
20:31 tech_exorcist joined #minetest
20:32 tech_exorcist joined #minetest
20:34 tech_exorcist joined #minetest
20:36 tech_exorcist joined #minetest
20:46 tech_exorcist joined #minetest
20:48 tech_exorcist joined #minetest
20:49 tech_exorcist joined #minetest
21:14 riff-IRC joined #minetest
21:26 proller joined #minetest
21:30 Verticen joined #minetest
21:32 MrB_ joined #minetest
22:00 Sven_vB joined #minetest
22:28 jonadab joined #minetest
22:41 hlqkj joined #minetest
22:42 olliy joined #minetest
22:51 Verticen joined #minetest
22:53 qj joined #minetest
23:04 Sven_vB_ joined #minetest
23:05 Verticen_ joined #minetest
23:22 ramirez joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext