www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DUB git master hang

reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
My dub built from git master has suddenly started to hang on most 
commands in my project.

What to do?

Is there some cleanup I can try?

/Per
Jul 14 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 14 July 2014 at 21:47:20 UTC, Nordlöw wrote:
 My dub built from git master has suddenly started to hang on
During hang: - dub CPU system usage is about 12 percent - No dmd process currently activate - End of output from strace dub: lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) lstat("views", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0 lstat("source/", {st_mode=S_IFDIR|0775, st_size=22, ...}) = 0 lstat("source/app.d", {st_mode=S_IFREG|0664, st_size=9211, ...}) = 0 lstat("src/", 0x7fff0b0672a0) = -1 ENOENT (No such file or directory) ^R --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
Jul 14 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 14 July 2014 at 21:50:51 UTC, Nordlöw wrote:
 My dub built from git master has suddenly started to hang on
dub upgrade also hangs.
Jul 14 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 14 July 2014 at 22:08:58 UTC, Nordlöw wrote:
 dub upgrade also hangs.
also at 12 percent cpu usage.
Jul 14 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 14 July 2014 at 22:10:01 UTC, Nordlöw wrote:
 On Monday, 14 July 2014 at 22:08:58 UTC, Nordlöw wrote:
 dub upgrade also hangs.
also at 12 percent cpu usage.
After removal of ~/.dub I did du[per:/home/per/justd] master(+13/-4,1) ± dub Fetching logger 0.1.0 (getting selected version)... Placing logger 0.1.0 to /home/per/.dub/packages/... Fetching ae-graphics 0.0.2 (getting selected version)... Placing ae-graphics 0.0.2 to /home/per/.dub/packages/... Fetching vibe-d ~master (getting selected version)... Placing vibe-d ~master to /home/per/.dub/packages/... Fetching libevent ~master (getting selected version)... Placing libevent ~master to /home/per/.dub/packages/... Fetching derelict-util 1.0.2 (getting selected version)... Placing derelict-util 1.0.2 to /home/per/.dub/packages/... Fetching derelict-assimp3 1.0.0 (getting selected version)... Placing derelict-assimp3 1.0.0 to /home/per/.dub/packages/... Fetching openssl ~master (getting selected version)... Placing openssl ~master to /home/per/.dub/packages/... Fetching libev ~master (getting selected version)... Placing libev ~master to /home/per/.dub/packages/... Fetching gfm ~master (getting selected version)... Placing gfm ~master to /home/per/.dub/packages/... Fetching derelict-fi 1.0.0 (getting selected version)... Placing derelict-fi 1.0.0 to /home/per/.dub/packages/... Fetching derelict-sdl2 1.2.3 (getting selected version)... Placing derelict-sdl2 1.2.3 to /home/per/.dub/packages/... Fetching derelict-enet 1.3.10 (getting selected version)... Placing derelict-enet 1.3.10 to /home/per/.dub/packages/... Fetching derelict-gl3 1.0.3 (getting selected version)... Placing derelict-gl3 1.0.3 to /home/per/.dub/packages/... and then it hangs with same behaviour.
Jul 14 2014
parent reply =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Monday, 14 July 2014 at 22:27:48 UTC, Nordlöw wrote:
 and then it hangs with same behaviour.
It finally got through...hmm maybe I'm on a slow 3g-network currently...
Jul 14 2014
parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig rejectedsoftware.com> writes:
Am 15.07.2014 00:29, schrieb "Nordlöw":
 On Monday, 14 July 2014 at 22:27:48 UTC, Nordlöw wrote:
 and then it hangs with same behaviour.
It finally got through...hmm maybe I'm on a slow 3g-network currently...
Although the log indicates that it hung while extracting the downloaded zip file. It's a bit strange because nothing has changed in the relevant section of code for a while and all it does is iterate twice over the files included in the zip file and to extract them in the second iteration. Maybe some kind of Phobos regression? Which DMD version do you use? BTW. the DUB forums are usually much better in terms of responsiveness, because I rarely get the time to read here: http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/
Jul 16 2014
next sibling parent =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Wednesday, 16 July 2014 at 08:03:40 UTC, Sönke Ludwig wrote:
 BTW. the DUB forums are usually much better in terms of 
 responsiveness, because I rarely get the time to read here:
 http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/
Ok. Thx.
Jul 16 2014
prev sibling parent =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= <per.nordlow gmail.com> writes:
On Wednesday, 16 July 2014 at 08:03:40 UTC, Sönke Ludwig wrote:
 and to extract them in the second iteration. Maybe some kind of 
 Phobos regression? Which DMD version do you use?
I'm testing using DMD and Phobos git master.
Jul 17 2014