EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: 3.13.6/3.13.8 Client/Server compilations with gcc
From: Rosemary Alles <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 14 Nov 2003 11:22:40 -1000 (HST)
Aloha,

In the recent past the TCS IOC for CFHT switched EPICS
versions from 3.13.6 to 3.13.8. A CA client on an HPUX
host (which remained under 3.13.6) started crashing
with a core dump not much later. Running purify against
the client yielded several BSR (Beyond stack read errors)
from */epics/base/src/ca/access.c/iocinf.c
I compiled the client against 3.13.8 libraries and the
BSR error disappears.  This is good, however it is of
concern that an issue of compatibility between the versions
may be in question?
 
Here are a few preliminary results from purify (more running 
time needed of course for 'core' error to occur) 

Thoughts? 

regards & thx,
rosemary. 
 
------------------------------------------------------------
Client compiled with 3.13.8 libs - purify log - no errors
(see further below for client compiled with 3.13.6 libs & BSR errors)
------------------------------------------------------------

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 2384 at Fri Nov  7 11:35:33 2003)
  * Purify 5.1-proto-H2 991020 HP-UX, Copyright (C) 1992-1999 Rational Software Corp. All rights reserved. 
  * For contact information type: "purify -help"
  * Command-line: /cfht/obs/tcs/tcs-pure 
  * Options settings: -purify \
    -log-file=/cfht/src/medusa/tcs/tcs/tcs_purify.log \
    -purify-home=/apps/pure/purify-hpux 
  * Purify licensed to Canada-France-Hawaii Telescop or Purify Evaluation User
  * Purify checking enabled.


****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 2384)  ****
Current file descriptors in use: 9
FIU: file descriptor 0: <stdin>
FIU: file descriptor 1: <stdout>
FIU: file descriptor 2: <stderr>
FIU: file descriptor 3: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	create_net_chan [libca.a]
	cac_create_udp_fd [libca.a]
	ca_search_and_connect [libca.a]
	monitor        [tcs_agent_monitor.c:577]
FIU: file descriptor 4: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	clntudp_bufcreate [libc.1]
	yp_get_default_domain [libc.1]
	_yp_flock      [libc.1]
	_yp_dobind     [libc.1]
FIU: file descriptor 5: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	create_net_chan [libca.a]
	alloc_ioc      [libca.a]
	perform_claim_channel [libca.a]
	post_msg       [libca.a]
FIU: file descriptor 6: <stderr>
   * Duplication of file descriptor 2.
   * This file descriptor was allocated from:
	_dup_sys       [libc.1]
	dup            [libc.1]
	SetUpLogging   [cfht_log.c:411]
	LogIt          [cfht_log.c:734]
	cfht_log       [cfht_log.c:1046]
	tcsInit        [tcss_misc.c:655]
FIU: file descriptor 26: <reserved for Purify internal use>
FIU: file descriptor 27: <reserved for Purify internal use>

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 2384)  ****
Purify: Searching for all memory leaks...

Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)

Purify Heap Analysis (combining suppressed and unsuppressed blocks)
                         Blocks        Bytes
              Leaked          0            0
  Potentially Leaked          0            0
              In-Use        212       167100
  ----------------------------------------
     Total Allocated        212       167100

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 2384)  ****
  * Program exited with status code 0.
  * 0 access errors, 0 total occurrences.
  * 0 bytes leaked.
  * 0 bytes potentially leaked.
  * Basic memory usage (including Purify overhead):
    699488 code
    177016 data/bss
    244872 heap (peak use)
    592 stack
  * Shared library memory usage (including Purify overhead):
    156608 dld_pure_p3_c0_110202215_B1020_114688.sl (shared code)
    9664 dld_pure_p3_c0_110202215_B1020_114688.sl (private data)
    159744 libm.1_pure_p3_c0_110202215_B1020_135168 (shared code)
    20480 libm.1_pure_p3_c0_110202215_B1020_135168 (private data)
    3289088 libc.1_pure_p3_c0_110202215_B1020_1863680 (shared code)
    184320 libc.1_pure_p3_c0_110202215_B1020_1863680 (private data)
    8192 libdld.1_pure_p3_c0_110202215_B1020_12288 (shared code)
    4096 libdld.1_pure_p3_c0_110202215_B1020_12288 (private data)

End
------------------------------------------------------------


BSR errors
------------------------------------------------------------
Client Compiled with 3.13.6 libs, running against server 
(IOC) is 3.13.8. Purify log
------------------------------------------------------------
------------------------------------------------------------
****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182 at Thu Nov  6 14:55:10 2003)
  * Purify 5.1-proto-H2 991020 HP-UX, Copyright (C) 1992-1999 Rational Software Corp. All rights reserved. 
  * For contact information type: "purify -help"
  * Command-line: /cfht/obs/tcs/tcs-pure 
  * Options settings: -purify \
    -log-file=/cfht/src/medusa/tcs/tcs/tcs_purify.log \
    -purify-home=/apps/pure/purify-hpux 
  * Purify licensed to Canada-France-Hawaii Telescop or Purify Evaluation User
  * Purify checking enabled.


****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	monitor        [tcs_agent_monitor.c:583]
	main           [tcs_agent.c:107]
	_start         [libc.1]
  * Reading 8 bytes from 0x7b03b0a0.
  * Stack pointer 0x7b03b080
  * Address 0x7b03b0a0 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_push_msg   [access.c:544]
	issue_identify_client [access.c:3447]
	perform_claim_channel [service.c:946]
	cacMsgUDP      [service.c:712]
	post_msg       [service.c:233]
	ca_process_udp [iocinf.c:1392]
  * Reading 8 bytes from 0x7b03b608.
  * Stack pointer 0x7b03b5c0
  * Address 0x7b03b608 is       48 bytes past start of local variable "itimeout" in function cac_push_msg.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_push_msg   [access.c:544]
	issue_client_host_name [access.c:3402]
	perform_claim_channel [service.c:947]
	cacMsgUDP      [service.c:712]
	post_msg       [service.c:233]
	ca_process_udp [iocinf.c:1392]
  * Reading 8 bytes from 0x7b03b608.
  * Stack pointer 0x7b03b5c0
  * Address 0x7b03b608 is       48 bytes past start of local variable "itimeout" in function cac_push_msg.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	ca_flush_io    [access.c:3090]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03b760.
  * Stack pointer 0x7b03b740
  * Address 0x7b03b760 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_push_msg   [access.c:544]
	ca_request_event [access.c:2375]
	ca_add_masked_array_event [access.c:2305]
	connect_handler1 [tcs_agent_monitor.c:909]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
  * Reading 8 bytes from 0x7b03b888.
  * Stack pointer 0x7b03b840
  * Address 0x7b03b888 is       48 bytes past start of local variable "itimeout" in function cac_push_msg.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_add_masked_array_event [access.c:2319]
	connect_handler1 [tcs_agent_monitor.c:909]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03b6f8.
  * Stack pointer 0x7b03b6c0
  * Address 0x7b03b6f8 is       56 bytes above frame pointer in function ca_add_masked_array_event.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	connect_handler1 [tcs_agent_monitor.c:919]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03b6f0.
  * Stack pointer 0x7b03b6c0
  * Address 0x7b03b6f0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	monitor        [tcs_agent_monitor.c:583]
	main           [tcs_agent.c:107]
	_start         [libc.1]
  * Reading 8 bytes from 0x7b03b0a0.
  * Stack pointer 0x7b03b080
  * Address 0x7b03b0a0 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	monitor        [tcs_agent_monitor.c:583]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03af70.
  * Stack pointer 0x7b03af40
  * Address 0x7b03af70 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	mark_server_available [conn.c:685]
	cacMsgUDP      [service.c:744]
	post_msg       [service.c:233]
	ca_process_udp [iocinf.c:1392]
	ca_process_input_queue [iocinf.c:1105]
	cac_mux_io     [iocinf.c:2127]
  * Reading 8 bytes from 0x7b03b448.
  * Stack pointer 0x7b03b400
  * Address 0x7b03b448 is       32 bytes past start of local variable "next" in function mark_server_available.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_push_msg   [access.c:544]
	ca_request_event [access.c:2375]
	ca_add_masked_array_event [access.c:2305]
	connect_handler [tcs_agent_monitor.c:696]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
  * Reading 8 bytes from 0x7b03b908.
  * Stack pointer 0x7b03b8c0
  * Address 0x7b03b908 is       48 bytes past start of local variable "itimeout" in function cac_push_msg.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_add_masked_array_event [access.c:2319]
	connect_handler [tcs_agent_monitor.c:696]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03b778.
  * Stack pointer 0x7b03b740
  * Address 0x7b03b778 is       56 bytes above frame pointer in function ca_add_masked_array_event.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	connect_handler [tcs_agent_monitor.c:706]
	cac_reconnect_channel [service.c:1127]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03b770.
  * Stack pointer 0x7b03b740
  * Address 0x7b03b770 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:598]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:601]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:602]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:605]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:606]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:607]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2935]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:607]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcs_connect    [tcs_agent_monitor.c:637]
	monitor        [tcs_agent_monitor.c:607]
	main           [tcs_agent.c:107]
	_start         [libc.1]
	$START$        [crt0.o]
  * Reading 8 bytes from 0x7b03aff0.
  * Stack pointer 0x7b03afc0
  * Address 0x7b03aff0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcs_connect    [tcs_agent_monitor.c:652]
	monitor        [tcs_agent_monitor.c:607]
	main           [tcs_agent.c:107]
  * Reading 8 bytes from 0x7b03b120.
  * Stack pointer 0x7b03b100
  * Address 0x7b03b120 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	cac_block_for_io_completion [posix_depen.c:97]
	ca_pend        [access.c:2940]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
  * Reading 8 bytes from 0x7b03b920.
  * Stack pointer 0x7b03b900
  * Address 0x7b03b920 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	ca_pend        [access.c:2886]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_tcoords    [tcs_agent_com.c:599]
  * Reading 8 bytes from 0x7b03b8a0.
  * Stack pointer 0x7b03b880
  * Address 0x7b03b8a0 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_tcoords    [tcs_agent_com.c:599]
	cli_execute    [cli_comlist.c:429]
  * Reading 8 bytes from 0x7b03b7f0.
  * Stack pointer 0x7b03b7c0
  * Address 0x7b03b7f0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	ca_pend        [access.c:2886]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_ocoords    [tcs_agent_com.c:1331]
  * Reading 8 bytes from 0x7b03b6a0.
  * Stack pointer 0x7b03b680
  * Address 0x7b03b6a0 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_ocoords    [tcs_agent_com.c:1331]
	cli_execute    [cli_comlist.c:429]
  * Reading 8 bytes from 0x7b03b5f0.
  * Stack pointer 0x7b03b5c0
  * Address 0x7b03b5f0 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_push_msg   [access.c:544]
	ca_request_event [access.c:2375]
	cac_reconnect_channel [service.c:1104]
	cacMsgTCP      [service.c:680]
	post_msg       [service.c:236]
	ca_process_tcp [iocinf.c:1229]
  * Reading 8 bytes from 0x7b03bac8.
  * Stack pointer 0x7b03ba80
  * Address 0x7b03bac8 is       48 bytes past start of local variable "itimeout" in function cac_push_msg.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	ca_pend        [access.c:2886]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_gcoords    [tcs_agent_com.c:1096]
  * Reading 8 bytes from 0x7b03b720.
  * Stack pointer 0x7b03b700
  * Address 0x7b03b720 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_gcoords    [tcs_agent_com.c:1096]
	cli_execute    [cli_comlist.c:429]
  * Reading 8 bytes from 0x7b03b670.
  * Stack pointer 0x7b03b640
  * Address 0x7b03b670 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	cac_mux_io     [iocinf.c:2132]
	ca_pend        [access.c:2886]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_gcoords    [tcs_agent_com.c:1103]
  * Reading 8 bytes from 0x7b03b720.
  * Stack pointer 0x7b03b700
  * Address 0x7b03b720 is       24 bytes past start of local variable "timeout" in function cac_mux_io.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
BSR: Beyond stack read error:
  * This is occurring while in:
	ca_pend        [access.c:2947]
	tcsEPICSWait   [tcss_misc.c:1025]
	tcsSendToTCS   [tcss_misc.c:3232]
	send_to_tcs    [tcs_agent_com.c:203]
	com_gcoords    [tcs_agent_com.c:1103]
	cli_execute    [cli_comlist.c:429]
  * Reading 8 bytes from 0x7b03b670.
  * Stack pointer 0x7b03b640
  * Address 0x7b03b670 is       32 bytes past start of local variable "tmo" in function ca_pend.

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
Current file descriptors in use: 9
FIU: file descriptor 0: <stdin>
FIU: file descriptor 1: <stdout>
FIU: file descriptor 2: <stderr>
FIU: file descriptor 3: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	create_net_chan [iocinf.c:451]
	cac_create_udp_fd [access.c:826]
	ca_search_and_connect [access.c:1154]
	monitor        [tcs_agent_monitor.c:577]
FIU: file descriptor 4: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	clntudp_bufcreate [libc.1]
	yp_get_default_domain [libc.1]
	_yp_flock      [libc.1]
	_yp_dobind     [libc.1]
FIU: file descriptor 5: <unnamed socket>, O_RDWR
   * This file descriptor was allocated from:
	_socket_sys    [libc.1]
	socket         [libc.1]
	create_net_chan [iocinf.c:300]
	alloc_ioc      [iocinf.c:221]
	perform_claim_channel [service.c:911]
	cacMsgUDP      [service.c:712]
FIU: file descriptor 6: <stderr>
   * Duplication of file descriptor 2.
   * This file descriptor was allocated from:
	_dup_sys       [libc.1]
	dup            [libc.1]
	SetUpLogging   [cfht_log.c:411]
	LogIt          [cfht_log.c:734]
	cfht_log       [cfht_log.c:1046]
	tcsInit        [tcss_misc.c:655]
FIU: file descriptor 26: <reserved for Purify internal use>
FIU: file descriptor 27: <reserved for Purify internal use>

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
Purify: Searching for all memory leaks...

Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)

Purify Heap Analysis (combining suppressed and unsuppressed blocks)
                         Blocks        Bytes
              Leaked          0            0
  Potentially Leaked          0            0
              In-Use        220       168030
  ----------------------------------------
     Total Allocated        220       168030

****  Purify instrumented /cfht/obs/tcs/tcs-pure (pid 24182)  ****
  * Program exited with status code 0.
  * 128 access errors, 1655 total occurrences.
  * 0 bytes leaked.
  * 0 bytes potentially leaked.
  * Basic memory usage (including Purify overhead):
    701312 code
    176952 data/bss
    244936 heap (peak use)
    592 stack
  * Shared library memory usage (including Purify overhead):
    156608 dld_pure_p3_c0_110202215_B1020_114688.sl (shared code)
    9664 dld_pure_p3_c0_110202215_B1020_114688.sl (private data)
    159744 libm.1_pure_p3_c0_110202215_B1020_135168 (shared code)
    20480 libm.1_pure_p3_c0_110202215_B1020_135168 (private data)
    3289088 libc.1_pure_p3_c0_110202215_B1020_1863680 (shared code)
    184320 libc.1_pure_p3_c0_110202215_B1020_1863680 (private data)
    8192 libdld.1_pure_p3_c0_110202215_B1020_12288 (shared code)
    4096 libdld.1_pure_p3_c0_110202215_B1020_12288 (private data)








------------------------------------------------------------

Navigate by Date:
Prev: RE: Among the things for which I wish... Jeff Hill
Next: Re: Help about building a example under cygwin Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: EPICS periodic scan and sysClkRateSet() Kevin Tsubota
Next: CAEN V560 interchangeable with CAEN V260? Dayle Kotturi
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·