[Gtk-sharp-list] glade-sharp: Cannot get resources file

Trent Lloyd lathiat@bur.st
Fri, 26 Mar 2004 10:35:39 +0800


Hi Guys,

I have a problem, it happens in Mono from CVS, the latest nightly build
and the one in debian unstable
Occurs in my own test code + the glade test sample

[lathiat@steroids.sixlabs.org ~/cvs/mono/gtk-sharp/sample] (348)% mono
./glade-test.exe

Unhandled Exception: System.ArgumentException: Cannot get resource file
'test.glade'
Parameter name: resource_name
in <0x00098> Glade.XML:.ctor
(System.Reflection.Assembly,string,string,string)
in <0x00047> GladeSamples.GladeTest:.ctor ()
in <0x0002a> GladeSamples.GladeTest:Main (string[])

zsh: 31388 exit 1     mono ./glade-test.exe

Some previous traces have shown it looping on futex() so it might be
something to do with locking? not sure...
Also a strace from the current cvs shows:
[pid 31419] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 31419] close(785)                  = -1 EBADF (Bad file descriptor)
[pid 31419] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 31419] close(786)                  = -1 EBADF (Bad file descriptor)
[pid 31419] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 31419] close(787)                  = -1 EBADF (Bad file descriptor)
[pid 31419] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 31419] close(788)                  = -1 EBADF (Bad file descriptor)
[pid 31419] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 31419] close(789)                  = -1 EBADF (Bad file descriptor)

but i dont see as much futex() activity.. but those are shots in the
dark i really have no idea...

Anyone know whats causing this?

-- 
[ Trent "Lathiat" Lloyd  lathi@sixlabs.org ]/ "You sure as hell shouldn't be   \
[ tlhIngan Hol Dajatlh'e   www.sixlabs.org ]| fingering my toaster" -Linus     |
[ GPG Key Id: 0x04AB3C5D        www.bur.st ]| Torvalds, LCA2003 Speakers dinner|
[ IPv6 Conference  http://conf.sixlabs.org ]\ talking about ipv6 with me       /