| Summary: | Core dump when submit job with globusrun-ws | ||
|---|---|---|---|
| Product: | C WS Core | Reporter: | Melvin Koh <melvin.koh@sun.com> |
| Component: | Other | Assignee: | Joe Bester <bester@mcs.anl.gov> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | allcock@mcs.anl.gov |
| Priority: | P3 | ||
| Version: | development | ||
| Target Milestone: | 4.0 | ||
| Hardware: | Sun | ||
| OS: | Solaris | ||
| Attachments: | uuid-solaris-patch.diff | ||
Could you clarify which globus "flavor" you are seeing this problem with (compiler, bitsize, threadedness)? Thanks, joe
Created an attachment (id=555) [details]
uuid-solaris-patch.diff
Attached is a patch to the uuid generation code to avoid some potential memory
alignment issues on picky architectures like SPARC. Let me know if you have any
problems after applying this.
Joe, thanks. It works perfectly after I applied the patch. > ./globusrun-ws -submit -job-description-file job.xml Submitting job...2005-03-30 18:06:06,525 INFO authorization.ServiceAuthorizationChain [Thread-6,authorize:281] Authorized "/O=Grid/OU=GlobusTest/OU=simpleCA-europa/CN=Globus Admin" to invoke "{http://www.globus.org/namespaces/2004/10/gram/job}createManagedJob". Done. Job ID: uuid:54b5c5ce-a103-11d9-8c41-010000002b52 Termination time: 03/31/2005 10:06 GMT Current job state: Active Current job state: CleanUp Current job state: Done 2005-03-30 18:06:10,655 INFO authorization.ServiceAuthorizationChain [Thread-5,authorize:281] Authorized "/O=Grid/OU=GlobusTest/OU=simpleCA-europa/CN=Globus Admin" to invoke "{http://wsrf.globus.org/core/notification}destroy". Destroying job...2005-03-30 18:06:10,830 INFO authorization.ServiceAuthorizationChain [Thread-6,authorize:281] Authorized "/O=Grid/OU=GlobusTest/OU=simpleCA-europa/CN=Globus Admin" to invoke "{http://www.globus.org/namespaces/2004/10/gram/job/exec}destroy". Done. > cat ~/stdout this is an example_string Globus was here
To answer your first qn, the globus flavor is gcc32dbg. > uname -a SunOS europa 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-V210 > gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/specs Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.2.3
Fix (to globus_uuid code in common) committed to trunk.
Using globusrun-ws gives me core dump, and I've added the "usage-stats.globus.org" entry in the hostfile. Is this because of the issue of WS-C with Solaris? The command I've tried is: globusrun-ws -submit -f gram-test.xml and also globusrun-ws -submit -job-command /bin/echo "test" >pstack core core 'core' of 3392: globusrun-ws -submit -job-command /bin/echo test fe02dd0c globus_l_uuid_init (1, fe042be4, ffbff374, ffbffa78, 81010100, ff00) 15c fe02ddc4 globus_uuid_create (ffbff96c, ffbff908, 7270e00, 443c0, 0, 43d30) + 74 00024710 globus_i_parse_arguments (5, ffbffa74, ffbff908, ff3c2ba4, 0, ff3d77a8) + 2768 000257c0 main (5, ffbffa74, ffbffa8c, 44760, 0, 0) + fc 00016e5c _start (0, 0, 0, 0, 0, 0) + 5c