Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05a25be810aad024816c265eb8e65287ff10a93c
Ticket: 218343ffffffffffffffffffffffffffffffffff
Probable shared library usage conflict.
User & Date: nobody on 2000-10-26 00:56:27
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4013 Bug
    Version: 8.3b1
    SubmitDate: '2000-01-13'
    LastModified: '2000-04-03'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Digital Unix
    Machine: Compac DS20 (DEC Alpha)
    FixedDate: '2000-10-25'
    ClosedDate: '2000-04-03'
    
    
    Name:
    Istvan Nadas
    
    CVS:
    Jan 11 2000 11:32
    
    CustomShell:
    none
    
    Comments:
    The problem does not manifest itsef with tcl8.3 compiled on Tru64 v4.0 but executed on Tru64 v5.0.
    
    The same problem exists with tcl8.2.1.
    
    If the spec program is executed from tcsh after login the program runs OK.
    
    Here are the configure outputs:
    
    Tru64 v4.0
    =====================
    creating cache ./config.cache
    checking for ranlib... ranlib
    checking how to run the C preprocessor... cc -E
    checking for unistd.h... yes
    checking for limits.h... yes
    checking for building with threads... no (default)
    checking for getcwd... yes
    checking for opendir... yes
    checking for strstr... yes
    checking for strtol... yes
    checking for tmpnam... yes
    checking for waitpid... yes
    checking for strerror... yes
    checking for getwd... yes
    checking for wait3... yes
    checking for uname... yes
    checking for realpath... yes
    checking dirent.h... yes
    checking for errno.h... yes
    checking for float.h... yes
    checking for values.h... yes
    checking for limits.h... (cached) yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for sys/wait.h... yes
    checking for dlfcn.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking termios vs. termio vs. sgtty... termios
    checking fd_set and sys/select... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for sys/time.h... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for tm_zone in struct tm... yes
    checking tm_tzadj in struct tm... no
    checking tm_gmtoff in struct tm... yes
    checking long timezone variable... yes
    checking for st_blksize in struct stat... yes
    checking for fstatfs... yes
    checking for 8-bit clean memcmp... yes
    checking for memmove... yes
    checking proper strstr implementation... yes
    checking for strtoul... yes
    checking for strtod... yes
    checking for strtod... (cached) yes
    checking for Solaris strtod bug... ok
    checking for ANSI C header files... yes
    checking for mode_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for uid_t in sys/types.h... yes
    checking for opendir... (cached) yes
    checking union wait... no
    checking matherr support... yes
    checking for strncasecmp... yes
    checking for BSDgettimeofday... no
    checking for gettimeofday... yes
    checking for gettimeofday declaration... present
    checking whether char is unsigned... no
    checking signed char declarations... yes
    checking for sin... no
    checking for main in -lieee... no
    checking for main in -linet... no
    checking for net/errno.h... no
    checking for connect... yes
    checking for gethostbyname... yes
    checking if 64bit support is enabled... no
    checking system version (for dynamic loading)... OSF1-V4.0
    checking if gcc is being used... no (cc)
    checking for dlopen in -ldl... no
    checking for build with symbols... no
    checking for sys/ioctl.h... yes
    checking for sys/filio.h... no
    checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... FIONBIO
    checking how to build libraries... shared
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating tclConfig.sh
    
    Tru64 v5.0
    =====================
    creating cache ./config.cache
    checking for ranlib... ranlib
    checking how to run the C preprocessor... cc -E
    checking for unistd.h... yes
    checking for limits.h... yes
    checking for building with threads... no (default)
    checking for getcwd... yes
    checking for opendir... yes
    checking for strstr... yes
    checking for strtol... yes
    checking for tmpnam... yes
    checking for waitpid... yes
    checking for strerror... yes
    checking for getwd... yes
    checking for wait3... yes
    checking for uname... yes
    checking for realpath... yes
    checking dirent.h... yes
    checking for errno.h... yes
    checking for float.h... yes
    checking for values.h... yes
    checking for limits.h... (cached) yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for sys/wait.h... yes
    checking for dlfcn.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking termios vs. termio vs. sgtty... termios
    checking fd_set and sys/select... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for sys/time.h... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for tm_zone in struct tm... yes
    checking tm_tzadj in struct tm... no
    checking tm_gmtoff in struct tm... yes
    checking long timezone variable... yes
    checking for st_blksize in struct stat... yes
    checking for fstatfs... yes
    checking for 8-bit clean memcmp... yes
    checking for memmove... yes
    checking proper strstr implementation... yes
    checking for strtoul... yes
    checking for strtod... yes
    checking for strtod... (cached) yes
    checking for Solaris strtod bug... ok
    checking for ANSI C header files... yes
    checking for mode_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for uid_t in sys/types.h... yes
    checking for opendir... (cached) yes
    checking union wait... no
    checking matherr support... yes
    checking for strncasecmp... yes
    checking for BSDgettimeofday... no
    checking for gettimeofday... yes
    checking for gettimeofday declaration... present
    checking whether char is unsigned... no
    checking signed char declarations... yes
    checking for sin... no
    checking for main in -lieee... no
    checking for main in -linet... no
    checking for net/errno.h... no
    checking for connect... yes
    checking for gethostbyname... yes
    checking if 64bit support is enabled... no
    checking system version (for dynamic loading)... OSF1-V5.0
    checking if gcc is being used... no (cc)
    checking for dlopen in -ldl... no
    checking for build with symbols... no
    checking for sys/ioctl.h... yes
    checking for sys/filio.h... no
    checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... FIONBIO
    checking how to build libraries... shared
    updating cache ./config.cache
    creating ./config.status
    creating Makefile
    creating tclConfig.sh
    
    ReproducibleScript:
    spec is a c++ program using LAPACK and specially libdxml.so
    
    dbx listobj:
    (dbx) listobj
    spec            addr: 0x120000000       size: 0xb6000 
    /usr/shlib/libdxml.so           addr: 0x3ffbf580000     size: 0xa7c000 
    /usr/shlib/libm.so              addr: 0x3ff801e0000     size: 0x64000 
    /usr/shlib/libcxx.so            addr: 0x3ff80270000     size: 0x34000 
    /usr/shlib/libexc.so            addr: 0x3ff807f0000     size: 0x6000 
    /usr/shlib/libc.so              addr: 0x3ff80080000     size: 0x142000 
    /usr/shlib/libUfor.so           addr: 0x3ff81a30000     size: 0xc000 
    /usr/shlib/libfor.so            addr: 0x3ff81a50000     size: 0x54000 
    /usr/shlib/libFutil.so          addr: 0x3ff81a00000     size: 0x26000 
    /usr/shlib/libots.so            addr: 0x3ff81800000     size: 0xa000 
    /usr/shlib/libmach.so           addr: 0x3ff80560000     size: 0x12000 
    
    tcl8.3 compiled on Tru64 V5.0 with --enable-shared 
    
    The command showing the problem is:
    tclsh8.3
    
    exec spec >@ stdout
    
    ObservedBehavior:
    child killed: floating-point exception
    
    dbx shows that this happens when calling DGEMM of LAPACK
    
    DesiredBehavior:
    no floating-point exception
    
    
    
    This looks like it may be a problem of what was linked in
    (statically) or how things resolved dynamically.  It could be
    that spec will choke on certain Tru64 v5 compiled programs.
    There are many cases of this (for example, if we compile Tcl
    locally on one patched SOlaris 2.7 machine, it cores on
    another non-patched Solaris 2.7 machine due to an incompatibility
    in the C runtime). 
    -- 04/03/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Probable shared library usage conflict."
  11. type changed to: "Bug"