Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Sep 7 07:55:34 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m87EtX1n007364 for ; Sun, 7 Sep 2008 07:55:33 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m87EsJOZ011661 for ; Sun, 7 Sep 2008 07:54:19 -0700 Message-Id: <200809071454.m87EsJOZ011661@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Bus Error Date: Sun, 07 Sep 2008 07:54:19 -0700 From: Bill Cheng Someone wrote: > When my address or filesize request is invalid (message types 0xfe12 and > 0xfe22 respectively) , I get the appropriate response from the server, but > my client terminates with a Bus Error right at the end !! > > This does not happen for an invalid get request, or for the 3 valid > requests. I am puzzled 'coz the code for handling an invalid type of > filesize and get request is identical ! > > Any hints on what could be causing this error ? May be it's due to memory corruption! Please see: http://merlot.usc.edu/cs551-f08/projects.html#segfault -- Bill Cheng // bill.cheng@usc.edu