Opened 16 years ago
Closed 14 years ago
#18904 closed defect (fixed)
Activation of slib-guile takes 7 hours at 100% cpu and never finishes
Reported by: | tim@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | slib-guile slib guile |
Description
I believe it is stuck. I stopped it and uninstalled slib-guile and tried again. Same thing. The process "guile" takes 100% of one 2.5 GHZ core for 7 hours.
Attachments (1)
Change History (16)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Port: | slib-guile added |
---|
comment:2 Changed 16 years ago by blb@…
comment:3 follow-up: 4 Changed 16 years ago by dweber@…
Port: | mpab added |
---|
I see this issue also during MacPorts AutoBuild (mpab), ie:
Building p5-net-ping-external (1640 of 5648)...success Building p5-unix-syslog (1641 of 5648)...success Building fwknop (1642 of 5648)...success Building fyre (1643 of 5648)...skipping, libglade2 previously failed and is needed Building slib (1644 of 5648)...success Building slib-guile (1645 of 5648)...
From top:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE 75418 guile 100.0% 94:15:18 1 16 97 1744K 5476K 4840K 30M
This has been hung in this process state for several days.
comment:4 Changed 16 years ago by dweber@…
Replying to dweber@…:
I see this issue also during MacPorts AutoBuild (mpab), ie:
Building p5-net-ping-external (1640 of 5648)...success Building p5-unix-syslog (1641 of 5648)...success Building fwknop (1642 of 5648)...success Building fyre (1643 of 5648)...skipping, libglade2 previously failed and is needed Building slib (1644 of 5648)...success Building slib-guile (1645 of 5648)...From top:
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE 75418 guile 100.0% 94:15:18 1 16 97 1744K 5476K 4840K 30MThis has been hung in this process state for several days.
I decided to quit out of mpab, ie:
Building slib (1644 of 5648)...success Building slib-guile (1645 of 5648)... ^C Canceled, cleaning up... ^C Stopping... Ports built successfully: 1219 Ports failed: 425 All logs are located in /Volumes/data/mpab/logs-20090330-114859 rmdir: /Volumes/data/mpab/mpchroot: Resource busy real 10083m38.190s user 2382m38.822s sys 1628m4.375s
comment:6 Changed 16 years ago by cedayiv@…
I get the same hang. I don't see anything to go on, really.
$ sudo port clean slib-guile ---> Cleaning slib-guile $ sudo port install -d slib-guile ---> Fetching slib-guile ---> Verifying checksum(s) for slib-guile ---> Extracting slib-guile ---> Configuring slib-guile ---> Building slib-guile ---> Staging slib-guile into destroot ---> Installing slib-guile @1.0_2 ---> Activating slib-guile @1.0_2 (hangs, apparently forever)
comment:7 Changed 16 years ago by cedayiv@…
I don't know if it makes any difference, but I have no such trouble with slib-guile16.
comment:8 Changed 16 years ago by cedayiv@…
Sorry, I had my "-d" in the wrong place earlier. There is a better output here:
http://www.mail-archive.com/macports-users@lists.macosforge.org/msg12739.html
comment:9 Changed 16 years ago by cedayiv@…
It appears to be hanging on the post-activate code:
post-activate { system "${prefix}/bin/guile -c \"(use-modules (ice-9 \ slib)) (require 'new-catalog)\"" }
It hangs on the first part of the code: (use-modules (ice-9 slib))
The "require" part never gets executed. I can reproduce this on the command line:
$ guile (use-modules (ice-9 slib)) hangs...
comment:10 Changed 16 years ago by cedayiv@…
I tried updating guile with "sudo port upgrade guile". That successfully upgraded a bunch of stuff, but still the same hang when trying to install slib-guile. So updating guile didn't fix it. :(
comment:11 Changed 15 years ago by cedayiv@…
I've removed all ports, upgraded to Snow Leopard, upgraded Xcode, and upgraded MacPorts to 1.8.0. Activation of slib-guile still hangs.
comment:12 Changed 15 years ago by ben@…
I can confirm I am experiencing the same problem. Fresh install of MacPorts 1.8.1 on Snow Leopard. In my case it's blocking the compilation of GnuCash (NOT from MacPorts; the MacPorts version of GnuCash builds successfully).
In my case ./configure for GnuCash hangs on "Checking for SLIB support..." which the configure script reveals to be
$ guile -c "(use-modules (ice-9 slib)) (require 'printf)"
comment:13 Changed 15 years ago by ben@…
I have found that SLIB works properly with Guile 1.6. It took some trickery with symbolic links but I was able to get Guile 1.6 to work with SLIB and GnuCash 2.3.7 built successfully. I have read in other places that Guile 1.8 and SLIB do not work well together. But as I am not an expert with either SLIB nor Guile, I can't speculate further.
References: http://bugzilla.gnome.org/show_bug.cgi?id=347922 http://bugzilla.gnome.org/show_bug.cgi?id=483631
comment:14 Changed 14 years ago by jmroot (Joshua Root)
Port: | slib guile added; mpab removed |
---|
I'm attaching a sample of the hang. Dtruss shows the only syscalls being made are sigaltstack, sigprocmask and getrusage.
Changed 14 years ago by jmroot (Joshua Root)
Attachment: | Sample of guile.txt added |
---|
comment:15 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
It definitely shouldn't take more than a couple of seconds. Can you do an install again, only with debug (
sudo port -d install slib-guile
) and post the output, so we can see at what point it is hanging and if there is any useful info about why?