Hi there,
this may be a long shot.
I compile our app on one machine, and it runs fine on that machine.
When I log into another machine on the network that can also see the folder
containing the
compiled application, and run it, I get:
terminate called after throwing an instance of 'Poco::FileNotFoundException'
what(): File not found
/share/apps/cmic/UCLToolkit/niftk-12.03/NiftyView.sh: line 6: 3205 Aborted
./$appname $*
Has anyone seen similar? What does Poco do, and what files might it be looking
for?
Both machines are Centos 5.4.
Both machines have access to the same network drive containing the compiled
code.
Both machines have access to my home directory.
Running strace on the shell script that launches the app reveals the following.
This one does not launch:
<lots of stuff>
0.140] Added 0 out of 0 listeners with complicated filters
[0.140] objectclass matches none
[0.140] service.id matches none
[0.140] Notified 0 listeners
[0.180] Registering DRCCoreObjectFactory...
[0.180] DRCCoreObjectFactory c'tor
[0.180] DRCCoreObjectFactory c'tor finished
terminate called after throwing an instance of 'Poco::FileNotFoundException'
what(): File not found
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0, NULL) = 3828
fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2ba2ce597000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2ba2ce598000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096) = 0
close(3) = 0
munmap(0x2ba2ce598000, 4096) = 0
open("/usr/share/locale/en_US.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/en.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such
file or directory)
write(2, "/share/apps/cmic/UCLToolkit/nift"...,
106/share/apps/cmic/UCLToolkit/niftk-12.03/NiftyView.sh: line 6: 3828 Aborted
./$appname $*
) = 106
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fff24752e14, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x31602302d0}, {0x436c60, [],
SA_RESTORER, 0x31602302d0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "", 186) = 0
exit_group(134) = ?
and this one does launch:
<lots of stuff>
0.140] Added 0 out of 0 listeners with complicated filters
[0.140] objectclass matches none
[0.140] service.id matches none
[0.140] Notified 0 listeners
[0.150] Registering DRCCoreObjectFactory...
[0.150] DRCCoreObjectFactory c'tor
[0.150] DRCCoreObjectFactory c'tor finished
Wed Apr 4 11:59:30 2012 Debug: org.commontk.eventadmin.LogLevel=2
in startOrUpdate,
/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:215
Wed Apr 4 11:59:30 2012 Debug: org.commontk.eventadmin.CacheSize=30
in startOrUpdate,
/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:217
Wed Apr 4 11:59:30 2012 Debug: org.commontk.eventadmin.ThreadPoolSize=20
in startOrUpdate,
/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:219
Wed Apr 4 11:59:30 2012 Debug: org.commontk.eventadmin.Timeout=5000
in startOrUpdate,
/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:221
Wed Apr 4 11:59:30 2012 Debug: org.commontk.eventadmin.RequireTopic=true
in startOrUpdate,
/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:223
!0.380! [BlueBerry] WARNING: Could not get plug-in resource:
CMICNiftyViewQtHelpCollection_ee2afd0b1b809c975a8b6f2328770fe8bf4ea2b6.qhc
[0.460] [shader.repository] found default mitk shader at
'/home/clarkson/build/NifTK-SuperBuild-Release/CMakeExternals/Source/MITK/Core/Code/Rendering'
[0.460] [shader.repository] found shader 'mitkShaderLighting'
[0.540] Multiple 3D Renderwindows active...: turning Immediate Rendering ON for
legacy mappers
[0.640] [BlueBerry] BlueBerry Workbench ready
Thanks as always.
Matt
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users