This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

insight/52: Segfault when trying to download program



>Number:         52
>Category:       insight
>Synopsis:       Segfault when trying to download program
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 14:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Steven Johnson
>Release:        10/10/00 CVS Snapshot
>Organization:
>Environment:
Mandrake Linux 7.0 (2.2.14 Kernel)
GDB Compiled for cross debugging PowerPC (mpc860 variant)
Remote Target connected using GDB Remote Protocol	
>Description:
If you have a hook defined for the load command that sets 
a register when the download is initiated from Insight, it
segfaults.
The segfault occurs at line 1060 in gdbtypes.c
The culprit seems to be set_command in printcmd.c
>How-To-Repeat:
Create a hook like this:
define hook-load
  set $ictrl=0x07
end
and perform a download.
the set can be any register for any architecture (I Believe).
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]