NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-hppa/48755: hppa /bin/sh invalid instructions



>Number:         48755
>Category:       port-hppa
>Synopsis:       hppa /bin/sh invalid instructions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hppa-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 18 12:05:00 +0000 2014
>Originator:     Martin Husemann
>Release:        6.99.40
>Organization:
The NetBSD Foundation, Inc.
>Environment:
NetBSD moondance.duskware.de 6.99.40 NetBSD 6.99.40 (GENERIC) #1: Fri Apr 18 
10:20:49 CEST 2014  
martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/hppa/compile/GENERIC 
hppa

>Description:
See below
>How-To-Repeat:
[/tmp] martin@moondance > send-pr
Illegal instruction(core dumped)
[/tmp] martin@moondance > gdb /bin/sh sh.core 
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/sh...(no debugging symbols found)...done.
[New process 1]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `sh'.
Program terminated with signal 4, Illegal instruction.
#0  0x00024d00 in readtoken1 ()
(gdb) x/16i $pc-12
   0x24cf4 <readtoken1+248>:    cmpiclr,< 3,ret0,r0
   0x24cf8 <readtoken1+252>:    b,l,n 0x24d8c <readtoken1+400>,r0
   0x24cfc <readtoken1+256>:    ldw -74(sp),ret0
=> 0x24d00 <readtoken1+260>:    ldb ret0(r3),ret0
   0x24d04 <readtoken1+264>:    extrw,s ret0,31,8,ret0
   0x24d08 <readtoken1+268>:    cmpib,>>=,n b,ret0,0x24db0 <readtoken1+436>
   0x24d0c <readtoken1+272>:    ldo -90(sp),ret0
   0x24d10 <readtoken1+276>:    ldw 0(ret0),r19

>Fix:
n/a



Home | Main Index | Thread Index | Old Index