<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>3436</bug_id>
          
          <creation_ts>2005-05-31 10:23</creation_ts>
          <short_desc>globus_uuid MAC address retrieval doesn&apos;t work on solaris</short_desc>
          <delta_ts>2005-06-03 18:45:29</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Toolkit Internals</product>
          <component>globus_common</component>
          <version>4.0.0</version>
          <rep_platform>Sun</rep_platform>
          <op_sys>Solaris</op_sys>
          <bug_status>NEW</bug_status>
          
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mats Rynge">rynge@isi.edu</reporter>
          <assigned_to name="Mike Link">mlink@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>lane@mcs.anl.gov</cc>
    
    <cc>madduri@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Mats Rynge">rynge@isi.edu</who>
            <bug_when>2005-05-31 10:23:19</bug_when>
            <thetext>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)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2005-06-03 18:45:29</bug_when>
            <thetext>Committed a fix to gt4 branch and trunk to avoid the crash (don&apos;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 &quot;fake a random MAC&quot; code, which shouldn&apos;t be run if the MAC is determined
normally.

joe</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>