Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 83 84 [85] 86 87 ... 242

Author Topic: DFHack 50.11-r6  (Read 795426 times)

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1260 on: July 09, 2018, 03:24:47 am »

Anyone else has this problem with Win x64 build (0.44.12-alpha1):
 When using "die" to exit DF, the DF's window disappear, but the DFHack's window still hangs there, and the whole Dwarf Fortress.exe process doesn't exit too? I need to kill it manually with process explorer.
Logged

clinodev

  • Bay Watcher
  • Embark Profile Enthusiast, Kitfox & reddit mod.
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1261 on: July 09, 2018, 03:37:36 am »

Anyone else has this problem with Win x64 build (0.44.12-alpha1):
 When using "die" to exit DF, the DF's window disappear, but the DFHack's window still hangs there, and the whole Dwarf Fortress.exe process doesn't exit too? I need to kill it manually with process explorer.

With Win x64 build (0.44.12-alpha1), and the 0.44.11 alpha as well, the DFHack window does hang for me for longer than expected, closing on its own after 15s or so. I haven't had to end the process (after noting it indeed did eventually close the first few times, now I just go on with my business. I only use "die" when testing quick things in disposable worlds.) Windows 10.
Logged
Team Bug Fix!

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1262 on: July 09, 2018, 05:00:21 am »

Anyone else has this problem with Win x64 build (0.44.12-alpha1):
 When using "die" to exit DF, the DF's window disappear, but the DFHack's window still hangs there, and the whole Dwarf Fortress.exe process doesn't exit too? I need to kill it manually with process explorer.

With Win x64 build (0.44.12-alpha1), and the 0.44.11 alpha as well, the DFHack window does hang for me for longer than expected, closing on its own after 15s or so. I haven't had to end the process (after noting it indeed did eventually close the first few times, now I just go on with my business. I only use "die" when testing quick things in disposable worlds.) Windows 10.

Thank you, this prompted me to check it out on Win 10. I have a dual boot PC with Windows Vista and Windows 10.

On Windows 10 it works as you said: first time in hangs for several seconds, subsequently it stops for only a second or two (so overall: correctly). I thought that problem may be due to a difference in antivirus (Avast on Vista, Kaspersky on Win10), but disabling Avast on Vista apparently didn't help. Something has changed between 0.44.11-alpha1 and 0.44.12-alpha1, which prevents the "die" to work in full on my system.
Logged

plenum

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1263 on: July 09, 2018, 05:24:47 am »

Hey!
Have anyone tried to copy burrow? Can't find anything on that... I wonder how hard is it do in script?
Logged
Protect diversities: biological, ecological, cultural.
This yields colorful future to our (grand)children.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1264 on: July 09, 2018, 05:28:28 am »

Just wanted to say that you guys are amazing and keep up the good work. :-) Today is just waiting for your updates before he releases the next version.  ;)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

iceball3

  • Bay Watcher
  • Miaou~
    • View Profile
    • My DA
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1265 on: July 09, 2018, 11:57:33 pm »

Hey, all this new update hype made me wanna to drop by and say, thank you all who work on DFHack between updates. <3
No rush, just saying that I really appreciate the work y'all have done to get this stuff going well!
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1266 on: July 10, 2018, 03:30:02 am »

it seems the new dfhack adds a new folder called 'included' which I'm wondering if that suppose to add something?
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1267 on: July 10, 2018, 03:43:16 am »

it seems the new dfhack adds a new folder called 'included' which I'm wondering if that suppose to add something?

This "include" directory looks like a part of source code that was included mistakenly.

This may be related to my problem, which I described a few posts back - that the console window doesn't go away after the "die" command, and this holds the whole Dwarf Fortress.exe process (which must be killed by external means).

I have checked all released versions of DFHack for 0.44.11, and the last one which didn't have the problem was DFHack 0.44.11-alpha1.
The next version, DFHack 0.44.11-beta1 was bugged (console not initialised at all), and all the subsequent versions, starting with DFHack 0.44.11-beta2, hang on "die" on my system. They also include these directories "include" and "lib", coincidentally or not.

Something was changed with the bugged version, and this change does affect my system, even though it doesn't affect Windows 10. It looks like the console doesn't quit cleanly.
« Last Edit: July 10, 2018, 04:06:52 am by Saiko Kila »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1268 on: July 10, 2018, 06:53:13 am »

The "include" and "lib" folders are due to jsoncpp changes and were included accidentally. They won't be in future releases. They're unused and are entirely unrelated to your console issues.

I'd recommend reading the release notes. The ones for beta2 list a few significant console changes, which are the reason for any new console bugs, like the one in beta2. We're not hiding anything - in fact, the announcement on GitHub explicitly asked people to look for and report console issues.

Anyway, "die" calls _exit() and nothing else, which is defined to kill the current process immediately. As far as I know, it's not even possible for it to hang, so I have no idea what's going on there. Can you report this on GitHub so it won't be forgotten? https://github.com/DFHack/dfhack/issues/1356
« Last Edit: July 10, 2018, 08:57:17 am by lethosor »
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1269 on: July 10, 2018, 07:02:47 am »

Anyone else has this problem with Win x64 build (0.44.12-alpha1):
 When using "die" to exit DF, the DF's window disappear, but the DFHack's window still hangs there, and the whole Dwarf Fortress.exe process doesn't exit too? I need to kill it manually with process explorer.
I'm actually seeing a totally different problem - with the 32-bit version on Windows 7 x64, it outright crashes if I type "die" in the console, but if I exit the game cleanly, it works fine. The 64-bit version doesn't seem to be affected.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1270 on: July 10, 2018, 08:06:55 am »

I've had hangs from pressing die in the console, but reproducing them has been tricky.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1271 on: July 10, 2018, 10:38:36 am »

I've checked threads of bugged process. The function which hangs in my case is called _crt_at_quick_exit (it's a kernel function), which has state "Wait, executive". This means it waits for thread scheduler, which never shows interest in the thread. I can speculate that memory management or garbage collection mechanisms of Windows 10 take care of this, while ones from Vista can't, and from Win7 maybe partially can.

I'm not a specialist in this matter, but the quick exit function has some precautions, like registering I/O and generally functions to be flushed when it's called, so it's not exactly fire and forget. Maybe they are not registered properly.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1272 on: July 10, 2018, 11:11:49 am »

Suokko and BenLubar traced it down to _exit and _Exit not doing their job properly on Windows, basically (the standard specifies that _Exit shouldn't call global destructors, but it is). Suokko produced a fix that might work: https://github.com/DFHack/dfhack/pull/1357
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1273 on: July 11, 2018, 01:13:36 pm »

Here is a test build that should fix the Windows "die" issues. Can some of you test it?
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

iceball3

  • Bay Watcher
  • Miaou~
    • View Profile
    • My DA
Re: DFHack 0.44.10-r2 | 0.44.12-alpha1 (dev)
« Reply #1274 on: July 11, 2018, 04:39:13 pm »

Probably not the platform you're looking for tests, but I managed to use "die" successfully ingame using that new 64 bit build.
Logged
Pages: 1 ... 83 84 [85] 86 87 ... 242