Minetest logo

IRC log for #minetest-dev, 2013-12-02

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

All times shown according to UTC.

Time Nick Message
00:02 sapier guess this way round we get all of it
00:03 sapier but to much of a change for this time to trust ... need to check that tomorrow
00:12 sapier left #minetest-dev
00:21 djdduty joined #minetest-dev
00:48 bas080 joined #minetest-dev
00:49 Taoki joined #minetest-dev
01:25 EvergreenTree joined #minetest-dev
01:34 OldCoder Hi; question. ShadowNinja says to mention it here. Do worldmods load last or not?
01:49 djdduty joined #minetest-dev
02:12 Miner_48er joined #minetest-dev
02:58 EvergreenTree joined #minetest-dev
03:01 werwerwer_ joined #minetest-dev
04:02 OldCoder joined #minetest-dev
04:38 VanessaE um, wut?
04:38 VanessaE 04:36:49: INFO[EmergeThread2]: WARNING: Could not bind block position for load:
04:38 VanessaE unknown error
04:38 VanessaE 04:36:49: INFO[EmergeThread1]: WARNING: Could not bind block position for load:
04:38 VanessaE unknown errorWARNING: Could not bind block position for load: library routine ca
04:38 VanessaE lled out of sequence
04:39 VanessaE all right g*d damn it someone wake up
04:39 VanessaE ALL FIVE of my servers are doing this now
04:39 VanessaE you guys busted something bad
04:43 VanessaE I just git pull'd.  rolling back to end of day Nov 30.  pretty sure it worked fine yesterday
04:46 hmmmm actually that sounds like it could be some problem related to the new sqlite rollback
04:47 VanessaE sorry to get upset...
04:49 hmmmm or not
04:49 hmmmm hmmm
04:49 hmmmm i dunno
04:49 VanessaE seems to be okay at its current older state.
05:04 VanessaE ok, they all seem stable now.
05:05 VanessaE so either it was a glitch or it was one of today's (er, Dec. 1st's) commits
05:06 VanessaE also, as a side note:  why does the client now stall for a second or so when I click "connect"? (well, I hit 'enter')
05:15 OldCoder Hi; question. ShadowNinja says to mention it here. Do worldmods load last or not?
05:21 * VanessaE pokes hmmmm
05:24 * OldCoder is asleep deep
05:25 OldCoder Zzz
05:26 nore joined #minetest-dev
05:50 kahrl VanessaE: the stall on connect is because the async engine does a sleep(1) on exit
05:50 VanessaE ok
06:16 damiel joined #minetest-dev
06:16 damiel joined #minetest-dev
06:38 darkrose joined #minetest-dev
07:43 emptty joined #minetest-dev
08:36 emptty joined #minetest-dev
08:56 darkrose joined #minetest-dev
09:30 Gethiox2 joined #minetest-dev
10:08 proller joined #minetest-dev
10:59 Neological joined #minetest-dev
11:08 bas080 joined #minetest-dev
11:52 werwerwer joined #minetest-dev
11:53 DemonRaiser joined #minetest-dev
11:54 mrtux_ joined #minetest-dev
11:56 sapier joined #minetest-dev
11:57 IceCraft joined #minetest-dev
11:58 salamanderrake joined #minetest-dev
11:59 IceCraft joined #minetest-dev
11:59 IceCraft joined #minetest-dev
12:01 IceCraft joined #minetest-dev
12:03 IceCraft joined #minetest-dev
12:05 IceCraft joined #minetest-dev
12:05 IceCraft joined #minetest-dev
12:07 IceCraft joined #minetest-dev
12:07 IceCraft joined #minetest-dev
12:09 IceCraft joined #minetest-dev
12:10 AndromedaKerova joined #minetest-dev
12:10 AndromedaKerova left #minetest-dev
12:11 IceCraft joined #minetest-dev
12:12 sapier Oldcoder i guess there's nothing special about world mods but I didn't verify this assumption
12:13 IceCraft joined #minetest-dev
12:13 IceCraft joined #minetest-dev
12:15 IceCraft joined #minetest-dev
12:15 IceCraft joined #minetest-dev
12:17 IceCraft joined #minetest-dev
12:19 IceCraft joined #minetest-dev
12:21 IceCraft joined #minetest-dev
12:23 IceCraft joined #minetest-dev
12:25 IceCraft joined #minetest-dev
12:25 IceCraft joined #minetest-dev
12:27 IceCraft joined #minetest-dev
12:27 IceCraft joined #minetest-dev
12:29 IceCraft joined #minetest-dev
12:29 IceCraft joined #minetest-dev
12:31 IceCraft joined #minetest-dev
12:33 IceCraft joined #minetest-dev
12:35 IceCraft joined #minetest-dev
12:37 IceCraft joined #minetest-dev
12:37 IceCraft joined #minetest-dev
12:39 IceCraft joined #minetest-dev
12:39 IceCraft joined #minetest-dev
12:41 emptty joined #minetest-dev
12:41 emptty1 joined #minetest-dev
12:41 IceCraft joined #minetest-dev
12:43 IceCraft joined #minetest-dev
13:01 NakedFury joined #minetest-dev
13:04 smoke_fumus joined #minetest-dev
13:16 OldCoder sapier, ShadowNinja thought there might be. Thank you.
13:23 iqualfragile joined #minetest-dev
13:26 proller joined #minetest-dev
13:30 proller joined #minetest-dev
13:31 hmmmm joined #minetest-dev
13:35 proller joined #minetest-dev
13:40 zat joined #minetest-dev
14:16 ImQ009 joined #minetest-dev
14:27 VanessaE joined #minetest-dev
14:40 bas080 joined #minetest-dev
15:21 celeron55 joined #minetest-dev
15:35 deltib joined #minetest-dev
15:50 mrtux joined #minetest-dev
16:11 Jordach joined #minetest-dev
16:12 Jordach joined #minetest-dev
16:23 mrtux joined #minetest-dev
16:31 Zeitgeist_ joined #minetest-dev
16:31 Zeitgeist_ joined #minetest-dev
16:45 jin_xi joined #minetest-dev
17:34 rubenwardy joined #minetest-dev
17:48 john_minetest joined #minetest-dev
17:48 john_minetest Hello
17:48 john_minetest sapier: I am just checking out your searchtab branch for testing
17:49 Calinou joined #minetest-dev
17:50 sapier left #minetest-dev
17:53 sapier joined #minetest-dev
17:55 john_minetest Why does it download novagen when I am trying to get rubenwardy's food mod
17:55 john_minetest ?
17:55 rubenwardy lol
17:55 sapier :-) maybe some skrewd up indices :-)
17:56 sapier 0.4.8 or current master?
17:56 john_minetest your branch
17:56 john_minetest At current master, mmdb doesn't work at all...
17:56 john_minetest Program received signal SIGSEGV, Segmentation fault.
17:56 john_minetest [Switching to Thread 0x7fffe77fe700 (LWP 10103)]
17:56 john_minetest 0x000000000049f8b7 in std::vector<LuaJobInfo, std::allocator<LuaJobInfo> >::erase(__gnu_cxx::__normal_iterator<LuaJobInfo*, std::vector<LuaJobInfo, std::allocator<LuaJobInfo> > >) ()
17:56 sapier current master?
17:57 john_minetest yes
17:57 john_minetest re-cloning to check
17:57 sapier I'm reworking search tab atm ... one of the reasons is broken indices ... did only try search :-)
17:58 PilzAdam joined #minetest-dev
17:58 john_minetest sapier: The search tab is EPIC. It works perfectly. But the master is broken...
17:59 sapier even downloading? ... chances I'm responsible for broken master too aren't that small too ;-)
17:59 Calinou <Calinou> both freeminer and Minetest segfault on launch
17:59 john_minetest Just recloned master. Master is broken. It crashes when I click the button "Online mod repository"
18:00 sapier debug or release build?
18:00 john_minetest sapier: git clone https://github.com/minetest/minetest
18:00 sapier no did you tell cmake to do a debug or release build?
18:01 john_minetest I said "cmake . -DRUN_IN_PLACE=1"
18:01 PilzAdam is it some kind of universal rule that code by sapier segfaults for at least one person? :-p
18:01 john_minetest sapier: In your searchtab fork -> It seems all modpack downloads are mixed up. windmills become mobf and similar.
18:02 sapier this thing seems to become even more critical sokomine told something similar yesterday ... rebuilt with debug information and error was gone ... those bugs are nasty
18:03 sapier yes index calculation is wrong for those search tab and downloading relies on index of mod ... I'm about to change that
18:03 john_minetest How to enable debug with cmake?
18:04 sapier cmake -DCMAKE_BUILD_TYPE=Debug
18:07 john_minetest thx
18:08 sapier I still hope you'll have same error with debug build
18:08 sapier finding this one in release build is a nightmare
18:09 john_minetest sapier: Bad luck. Debug hasn't got that error...
18:10 sapier great
18:10 john_minetest And recompiled with Release of course got that error again...
18:11 john_minetest srsly, that one is a troll
18:11 thexyz when does this happen?
18:11 sapier I assume something with closing threadss
18:11 sapier either hidden by debug symbols or by reduced optimization level in debug build
18:11 john_minetest When clicking on the "Online mod repository" button in master.
18:12 sapier wait
18:12 sapier that's not closing threads that's data transfer
18:12 john_minetest sapier: In YOUR branch (the one with search tab) it works. What is different in your version?
18:13 thexyz clang to the rescue
18:14 sapier nothing that can seriously be a reason
18:14 john_minetest Compilers have bad docs in general.
18:14 john_minetest gcc like clang - both have no proper compiling guide and a dependency list.
18:15 sapier I assume it's a random error my code does a little bit different things so a slightly differen timing
18:15 john_minetest runtime condition?
18:16 john_minetest or was it called like that...
18:16 john_minetest race condition
18:16 john_minetest that was the word
18:17 thexyz segfault right after start https://gist.github.com/xyzz/f9c5276​a7ca512f0e409/raw/8709b42a7808030802​7ec1a0af003028b41c9d03/gistfile1.txt
18:17 thexyz reproducible: always
18:18 john_minetest thexyz: Is that a fresh git clone?
18:18 thexyz https://gist.github.com/xyzz/afbf89f​01bfdbe463b78/raw/ac6305882273e8bf2b​87288b714b71aa4081867f/gistfile1.txt
18:18 thexyz yes
18:18 thexyz (always means always with address sanitizer which terminates the program)
18:18 thexyz so it's either segfault or it terminates it
18:19 john_minetest If there was old data left (config file) it could be that it was stuck in the modmenu tab and since that one crashes, minetest crashes at startup
18:19 thexyz hm, maybe
18:21 thexyz sapier: are my logs helpful or shall I provide something else?
18:21 PilzAdam sapier, I can reproduce the crash when clicking on "Online mod store" in release, but not in debug with -O3
18:22 john_minetest PilzAdam: Same for me with cmake debug setting
18:22 PilzAdam sapier, do you want a bracktrace in release mode?
18:22 sapier not quite sure thexyz It seems to complain when I erase a element in list
18:23 sapier that element is taken from list 2 lines above that line ... complete list handling is done within lock
18:23 sapier yes PA
18:24 PilzAdam https://gist.github.com/PilzAdam/7753958
18:24 sapier a struct is copied by copying all elements in c++ isn't it?
18:26 thexyz unless you redefine = it is
18:27 sapier I didn't do and the struct contains basic types and strings only
18:27 sapier this way a should be a copy of b after I did a = b
18:28 thexyz that's a strange question to ask..
18:28 sapier :-) I know ... I learned to question even obvious things
18:29 john_minetest sapier: This is my bt: https://gist.github.com/jmf/098ff015cdfca0753c50
18:30 john_minetest Seems I have got an other problem than PA
18:30 sapier what the hell? do I read this completely wrong or do all threads call erase same time in this stack?
18:31 proller joined #minetest-dev
18:33 sapier seems like locking is completely broken ... again
18:34 john_minetest I wonder why PA and me get different segfaults with the same bug
18:34 sapier that's perfectly normal in multithreaded applications pa has a hell of a machine with 8 cores
18:35 john_minetest I have got 8 threads
18:35 john_minetest 4 cores
18:35 PilzAdam I have 4 multithreaded cores, to be precise
18:36 sapier ok then it should be comparable ... but still different background threads os version can make a lot of difference
18:36 john_minetest PilzAdam: Let's compare stats to find out what differences there could be.
18:37 john_minetest uname -a      Linux metis 3.12.1-3-ARCH #1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013 x86_64 GNU/Linux
18:37 john_minetest well, shouldn't be the kernel....
18:38 sapier yet I don't have any idea how four threads can be within same mutexed area at same time
18:42 sapier could you guys try my wait jthread branch?
18:42 sapier I found some posts via google telling mutex and detached threads may be buggy on some libc versions
18:45 Exio4 i have six threads and 3 modules, what could i try? ;P
18:46 sapier I guess this one needs to be found in theory debugger doesn't help that much
19:18 VanessaE joined #minetest-dev
19:26 Akien joined #minetest-dev
19:29 john_minetest left #minetest-dev
19:58 sapier I just updated the search tab it should now install correct mod and pagecount should be correct too
19:58 VanessaE hope you are keeping your fork of shaders rebased each time you break it :)
19:59 VanessaE (if RBA ever shows back up to finish it up)
19:59 sapier lol I try to but fixing core crashes is priorized
20:04 EvergreenTree joined #minetest-dev
20:05 NakedFury joined #minetest-dev
20:11 PilzAdam hmmmm, https://gist.github.com/PilzAdam/7757735 after setting the mapgen from v6 to v7 via https://github.com/PilzAdam/nodetopia​/blob/master/mods/base/mapgen.lua#L23 at first start after creating the map
20:25 proller bad noise params
20:59 KingsleyT joined #minetest-dev
21:03 sapier1 joined #minetest-dev
21:13 damiel joined #minetest-dev
21:13 damiel joined #minetest-dev
21:21 sapier https://github.com/minetest/minetest/pull/1031 john_minetest this should fix crash in release mode
21:28 zat joined #minetest-dev
21:28 bas080 joined #minetest-dev
21:30 KingsleyT joined #minetest-dev
21:49 daswort is this default in 0.4.8? → https://forum.minetest.net/viewtopic.php?id=7838
21:56 iqualfragile awsome, my minetest server craches when i try to join
21:57 sapier current master?
21:57 iqualfragile yes
21:57 sapier release build?
21:57 iqualfragile yes
21:57 iqualfragile just segmentation fault, nothing else
21:57 sapier switch to 1031
21:57 iqualfragile kahrl: merge 1031 please
21:57 sapier try it first ;-)
22:07 john_minetest joined #minetest-dev
22:07 sapier I could merge it myself but it's too much change to merge without proper review
22:08 iqualfragile works
22:08 iqualfragile sapier: fix mobfspam plz
22:08 john_minetest #1033 in bugtracker is actually quite interesting because it reminded me of something: mapgens are weird. v6 is fine, indev, too. but v7 is stone only. "v7" means to me "7th iteration of working mapgen". "indev" means to me "kills your map and computer and does nuke everything".
22:09 john_minetest v7 should be what is indev now and indev should be v7.
22:09 sapier wonder why noone did report this prior release ;-)
22:10 john_minetest sapier: What is the branch name for search?
22:11 john_minetest still implement_search_tab ?
22:12 sapier yes but doesn't contain the crash fixes
22:12 john_minetest Somehow my pull got screwed up.
22:12 iqualfragile yes, that v6/v7 thing allready confused some users
22:13 john_minetest what exactly is the difference between v6, v7 and indev?
22:14 john_minetest v7 seems to be very experimental.
22:14 john_minetest indev looks finished.
22:14 john_minetest v6, too.
22:14 john_minetest singlenode doesn't even have a single node but nyan cats are there
22:16 iqualfragile v7 is not experimental afaik, but you would need to define some biomes
22:16 john_minetest sapier: Now your branch is synced with the master which means: It doesn't work anymore.
22:17 john_minetest iqualfragile: When there can be biomes defined it should be a bit clearer. Maybe a short description for every mapgen type.
22:18 sapier I'll rebase the search branch once the fixes are added
22:19 john_minetest Good. Then it will finally be playable again :)
22:23 john_minetest testing the branch now
22:27 john_minetest Clicked around a bit. Everything works
22:28 john_minetest I'd say that https://github.com/minetest/minetest/pull/1031 is ready to be pulled.
22:28 john_minetest From the changes-point of view
22:28 john_minetest Don't know if the code breaks on M$
22:29 john_minetest Anybody can test this?
22:31 OldCoder joined #minetest-dev
22:39 daswort when i click on "online mod repo" i the error "luaerror: c++ exception"
22:43 john_minetest In sapier's branch?
23:03 ShadowNinja Yay, LuaJIT exception mangling. daswort: If you can compile with non-JIT Lua you might get a better error message.
23:07 john_minetest ShadowNinja: Might work with that one -> https://github.com/minetest/minetest/pull/1031
23:33 iqualfragile joined #minetest-dev
23:33 jojoa1997 joined #minetest-dev
23:40 ShadowNinja sapier: #1031 fixed the segfaults?
23:42 VanessaE what about the issue I reported last night?
23:42 VanessaE I'd say that was rather critical
23:43 VanessaE http://irc.minetest.ru/minet​est-dev/2013-12-02#i_3467471
23:45 sapier fixed by 1031 as well as those nasty crashes on release build
23:45 VanessaE h good
23:45 VanessaE oh*
23:46 ShadowNinja kahrl and hmmmm might be abl to help with that.
23:46 ShadowNinja able*
23:47 sapier wait vanessae have you been talking about the delay or the emerge thread things?
23:47 VanessaE neither, see the log link.
23:47 VanessaE backing down to end-of-day Nov. 30 stabilized the servers.
23:48 sapier I strongly recommend merging 1031 soon those jthread changes for log threadname broke any mutex on release build
23:48 VanessaE as soon as someone signs on, ^^^^^ that crash happened - on all five servers.
23:48 VanessaE and yes I run release builds now
23:48 sapier don't do that with current master
23:48 VanessaE got tired of the slower speeds of debug builds :)
23:49 sapier as mutexes don't work at all in current state
23:49 VanessaE eek
23:49 VanessaE well right now I'm in a stable build so I'll leave it there until you guys give me the "okay" to push forward
23:50 VanessaE what's the status of RBA's shaders?  did anyone figure out what broke?
23:50 sapier noone realized that assert(pthread_mutex_init() == 0); is replaced by nop on release build
23:51 VanessaE eh.. threads, semaphores, mutexes...  back in MY day we had ONE thread and maybe two interrupt priorities, and WE WERE HAPPY! :)
23:52 VanessaE (seriously, that stuff goes a bit over my head)
23:52 sapier those times multicore was thought to be a fruit
23:52 VanessaE lol
23:53 ShadowNinja sapier: "assert(X);" --> "" via a macro? Shouldn't it do "assert(X);" -> "X;"?
23:53 sapier obviously it doesn't do this way
23:54 sapier as I said it's replaced by nop in release resulting in no locking at all
23:54 sapier it's not difficult to imagine what's happening
23:55 VanessaE ouch.
23:55 sapier someone should verify 1031 on windows so this can be merged soon
23:55 sapier for the moment hands of release build of master ... there's no safe way to run it
23:56 VanessaE ok.
23:56 sapier +f
23:56 * VanessaE resets her builds back to debug :-/
23:56 ShadowNinja sapier: Well I'll agree to it, is there any reason that this would fail on Windows?
23:56 sapier unless you want to use your world backups you should do that immediatly
23:57 Miner_48er joined #minetest-dev
23:57 sapier none I know of but I didn't realize the assert() error too ;-) so I might not be best one to ask
23:57 sapier -of +about
23:59 sapier I'd like kahrl or hmmmm to check 1031 prior merge but I don't know if they have time to do
23:59 VanessaE ok, all servers and my client are back to debug mode.

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