Bug 3436 - globus_uuid MAC address retrieval doesn't work on solaris
: globus_uuid MAC address retrieval doesn't work on solaris
Status: NEW
: Toolkit Internals
globus_common
: 4.0.0
: Sun Solaris
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-05-31 10:23 by
Modified: 2005-06-03 18:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-05-31 10:23:19
On Solaris 9, globusrun-ws segfaults when build with gcc32 flavor.

If it is built with gcc32dbg it works.

(gdb) set args -submit -F viz-login.isi.edu -c /bin/hostname
(gdb) run
Starting program: /home/rynge/test-src/install/bin/globusrun-ws -submit -F
viz-login.isi.edu -c /bin/hostname
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xfe576ebc in globus_l_uuid_init () from
/home/rynge/test-src/install/lib/libglobus_common_gcc32.so.0
(gdb) bt
#0  0xfe576ebc in globus_l_uuid_init () from
/home/rynge/test-src/install/lib/libglobus_common_gcc32.so.0
#1  0xfe576f3c in globus_uuid_create () from
/home/rynge/test-src/install/lib/libglobus_common_gcc32.so.0
#2  0x0001fb80 in globus_i_parse_arguments ()
#3  0x0002071c in main ()


This looks a little bit like bug 2867 (except the flavoring).

System info:
bash-2.05$ uname -a
SunOS nmi-solaris10 5.9 Generic_112233-10 sun4u sparc SUNW,Sun-Fire-280R
bash-2.05$ gcc -v
Reading specs from /prereq/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3/specs
gcc version 2.95.3 20010315 (release)
------- Comment #1 From 2005-06-03 18:45:29 -------
Committed a fix to gt4 branch and trunk to avoid the crash (don't cast char *
to
int * on SPARC). I think the autoconf tests related to solaris MAC address
ioctl
are not working correctly. The code being executed where the crash occurs was
the "fake a random MAC" code, which shouldn't be run if the MAC is determined
normally.

joe