public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* problem with (gtk-version-alias gtk) on Alpha (from a newbie)
@ 1999-11-09 15:34 Julien Rousseau
  1999-11-10 15:30 ` Stephen Tell
  1999-11-11 13:43 ` Marius Vollmer
  0 siblings, 2 replies; 3+ messages in thread
From: Julien Rousseau @ 1999-11-09 15:34 UTC (permalink / raw)
  To: guile-gtk

Hi everyone,

First I am a complete Guile/Guile-gtk newbie and I
already managed to go into trouble ;)

My version of Guile is 1.3.4
My version of guile-gtk is 0.17
My OS is OSF1 4.0 version 1091 on Alpha processors (I
would love it to be mine ;))

On monday I installed Guile-gtk and it was working
fine, until I did something (I don't know what) that
must have break things because it isn't working any
more (I did a clean reinstall of guile-gtk afterwards
but that didn't work either).

Now guile-gtk dumps core and when I call (use-modules
(gtk gtk)) from Guile it stalls without doing
anything.

So I did a less ~/project/share/guile/gtk/gtk.scm (yes
guile-gtk isn't installed on a normal path but my
GUILE_LOAD_PATH is pointing on the good share
directory) and saw that it was calling the (gtk
dynlink) module and a function called
gtk-version-alias.


I tried to do it by hand:
$>guile
guile>(use-modules (gtk dynlink))
;no problem up to now

guile>(gtk-version-alias 'gtk) 
; and now I wait until I get bored and do a kill -9

I looked at dynlink.scm for gtk-version-alias and
after some tries I found that it was:
(resolve-interface mod-name) ;with mod-name = (list
'gtk-1.2 'gtk)
that wasn't responding.

I searched resolve-interface, found it in boot-9.scm
it call resolve-module (with the same argument) which
doesn't respond.

Idem with resolve-module. I seems to call
try-load-module which doesn't respond 

Idem with try-load-module.
it first call try-module-linked which return false
(when done by hand) and try-module-autoload which
doesn't respond (it also call try-module-dynamic-link
which returned #f when i tried to call it manually).

Idem with try-module-autoload but right now I don't
have any more time to track further (the computer room
is closing).

I sarched on www.deja.com and on the list archive for
gtk-version-alias. No matches, so I ask here if you
understand what went wrong and what i can do to fix it
(I hope I wasn't too long, sorry but this is my first
question on a mailing list).

Cheers

Julien Rousseau


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with (gtk-version-alias gtk) on Alpha (from a newbie)
  1999-11-09 15:34 problem with (gtk-version-alias gtk) on Alpha (from a newbie) Julien Rousseau
@ 1999-11-10 15:30 ` Stephen Tell
  1999-11-11 13:43 ` Marius Vollmer
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Tell @ 1999-11-10 15:30 UTC (permalink / raw)
  To: Julien Rousseau; +Cc: guile-gtk

At a high level, your problem is not radicly unlike the one I had on
hp-ux: guile-gtk's dynamic linking is is being difficult.

It sounds like somthing is broken with the shared libraries that guile-gtk
was linked with, and that in dynlink.scm tries to load in the other case.
Perhaps one of the .sl or .so files got removed or corrupted?

Maybe you could try using gdb to see where the coredump is occuring.
And/or use trace or strace to see what the plain guile case does before it
hangs; in particular what library files it is trying to open, if it even
gets that far.

As the README points out, "shared libraries and dlopening are a very
effective time-sink" ...

-- 
Steve Tell | tell@cs.unc.edu | http://www.cs.unc.edu/~tell | KF4ZPF
Research Associate, Microelectronic Systems Laboratory
Computer Science Department, UNC@Chapel Hill.   W:919-962-1845

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with (gtk-version-alias gtk) on Alpha (from a newbie)
  1999-11-09 15:34 problem with (gtk-version-alias gtk) on Alpha (from a newbie) Julien Rousseau
  1999-11-10 15:30 ` Stephen Tell
@ 1999-11-11 13:43 ` Marius Vollmer
  1 sibling, 0 replies; 3+ messages in thread
From: Marius Vollmer @ 1999-11-11 13:43 UTC (permalink / raw)
  To: Julien Rousseau; +Cc: guile-gtk

Julien Rousseau <le_douanier@yahoo.com> writes:

> On monday I installed Guile-gtk and it was working fine, until I did
> something (I don't know what) that must have break things because it
> isn't working any more (I did a clean reinstall of guile-gtk
> afterwards but that didn't work either).

I suspect that something Guile-unrelated is broken on your system.
Maybe NFS is acting up, or something.  Wouldn't be the first time.

> Now guile-gtk dumps core and when I call (use-modules (gtk gtk))
> from Guile it stalls without doing anything.

The `(gtk gtk)' module is implemented in Scheme (as you know), and so
there shouldn't be any bad interactions with dynamic linking, I think.
Your trace below actually supports this.

Ultimately, the module `(gtk-1.2 gtk)' should be loaded, but something
seems to be wrong with that file.  Can you read the file
"~/project/share/guile/gtk-1.2/gtk.scm"?

- Marius

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-11 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-09 15:34 problem with (gtk-version-alias gtk) on Alpha (from a newbie) Julien Rousseau
1999-11-10 15:30 ` Stephen Tell
1999-11-11 13:43 ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).