DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27751>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27751

Segmentation Fault in shmcb_cyclic_cton_memcpy





------- Additional Comments From [EMAIL PROTECTED]  2004-03-22 16:21 -------
Logging messages were added into the function to print out the values for 
src_len and src_offset, and they were actually not changing.  The seg fault is 
in memcpy() frame #0. When you move back to frame #1 to examine things, gdb 5.2-
2 does not reload the registers.  Local variables were created inside the 
function, and assigned the values src_offset & src_len upon entry. The end 
result was the same (seg fault).  It could be the tools, but everything is fine 
for 15-20 minutes.  The function is called 305 times before a failure with the 
last three calls shown below: 

CALLER == shmcb_remove_session_id()
CALLED == shmcb_cyclic_cton_memcpy()

[Wed Mar 17 17:13:20 2004] [info] CALLER: header->cache_data_size=7190  
src_offset=3972 src_len=10240
[Wed Mar 17 17:13:20 2004] [info] CALLED: buff_size=7190 src_offset=3972, 
src_len=10240
[Wed Mar 17 17:13:20 2004] [info] CALLER: header->cache_data_size=7190  
src_offset=7166 src_len=10240
[Wed Mar 17 17:13:20 2004] [info] CALLED: buff_size=7190 src_offset=7166, 
src_len=10240


I have two debug traces.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to