ADSM-L

[ADSM-L] TSM 6.2.0.0 Linux client crash

2010-03-25 13:16:21
Subject: [ADSM-L] TSM 6.2.0.0 Linux client crash
From: "c.hanover" <chanover AT UMICH DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 25 Mar 2010 13:14:47 -0400
At the moment, I'm just curious at the moment if anybody else has seen this 
issue:

TSM 6.2.0.0 Linux client will crash if /etc/issue is larger than a 127 byte 
text file.  127 bytes or less of text, the client works fine.  128 bytes or 
more, and it segfaults.  >127 bytes of random data copied from /dev/urandom or 
nulls from /dev/zero, and the client runs fine.
This has been replicated on both 32bit and 64bit Linux systems.  The Mac OS X 
client on 10.5.7 worked fine.  The 32bit client was an upgrade from 5.5, I'm 
not sure if the 64bit was or not, but I can find out, OS X was a new install.  
Tried against different server versions, though that doesn't seem to matter.  
Various bits below.

I didn't see any mention of it searching the list archives, but I also didn't 
spend a lot of time searching.  The IBM known issues page didn't seem to list 
this.

--
Cameron Hanover
chanover AT umich DOT edu

"A computer once beat me at chess, but it was no match for me at kick boxing."
--Emo Philips


----------------------------------------------------
64bit Linux:
[root@watson etc]# for i in `seq 1 127`; do echo -n y >> /etc/issue; done
[root@watson etc]# dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
 Client Version 6, Release 2, Level 0.0  
 Client date/time: 03/25/2010 12:42:02
(c) Copyright by IBM Corporation and other(s) 1990, 2010. All Rights Reserved.

Node Name: WATSON
Session established with server JEFFERSON: Linux/x86_64
 Server Version 6, Release 2, Level 0.0
 Server date/time: 03/25/2010 12:43:05  Last access: 03/25/2010 12:33:33

tsm>
[root@watson etc]# for i in `seq 1 128`; do echo -n y >> /etc/issue; done
[root@watson etc]# dsmc
Segmentation fault

(from strace)
open("/etc/issue", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=609, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xfffffffff7f47000
read(3, "This is the University of Michig"..., 4096) = 609
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


32bit Linux:
embizacho ~ # wc -c /etc/issue
782 /etc/issue
embizacho ~ # uname -a
Linux xxxxxxxxxxxxxxxxxxxx.edu 2.6.24-gentoo-r8 #1 SMP Wed Oct 29 13:16:53 EDT 
2008 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
embizacho ~ # dsmc
Segmentation fault

(strace)
open("/etc/issue", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=782, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f20000
read(3, "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"..., 4096) = 782
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

packages installed:
TIVsm-API.i386.rpm
TIVsm-BA.i386.rpm
gskcrypt32-8.0.13.3.linux.x86.rpm
gskssl32-8.0.13.3.linux.x86.rpm

<Prev in Thread] Current Thread [Next in Thread>