New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18904 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

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

Sample of guile.txt Download (109.3 KB) - added by jmr@… 16 months ago.

Change History

  Changed 3 years ago by macsforever2000@…

  • port set to slib-guile

  Changed 3 years ago by blb@…

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?

follow-up: ↓ 4   Changed 3 years ago by dweber@…

  • port changed from slib-guile to slib-guile mpab

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.

in reply to: ↑ 3   Changed 3 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 30M }}} This 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

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 3 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)

  Changed 3 years ago by cedayiv@…

I don't know if it makes any difference, but I have no such trouble with slib-guile16.

  Changed 3 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

  Changed 3 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...

  Changed 3 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. :(

  Changed 2 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.

  Changed 2 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)"

  Changed 2 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

  Changed 16 months ago by jmr@…

  • port changed from slib-guile mpab to slib-guile slib guile

I'm attaching a sample of the hang. Dtruss shows the only syscalls being made are sigaltstack, sigprocmask and getrusage.

Changed 16 months ago by jmr@…

  Changed 16 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.