Bug 847579

Summary: "see" of compiled code hangs
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: gforthAssignee: Adrian Reber <adrian>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: adrian
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-03 19:11:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Horst H. von Brand 2012-08-13 03:55:42 UTC
Description of problem:
Asking to see a word written in assembler hangs

Version-Release number of selected component (if applicable):
gforth-0.7.0-5.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start gforth
2. see +
3.
  
Actual results:
Code +
<Hangs>

$ pgrep gforth
10211
$ ps -p 10211 -l
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
0 t  1000 10211 29843  0  80   0 - 30760 ptrace pts/1    00:00:00 gforth

Expected results:
Self-compiled gforth from CVS gives an assembler listing.

Additional info:

Comment 1 Adrian Reber 2013-03-03 19:11:40 UTC
Sorry for never reacting on this bug. I just found it and tried it on Fedora 18 and it is working now with gforth-0.7.0-12.fc18.x86_64

$ gforth
Gforth 0.7.0, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
see + 
Code +  
   0x0000000000404ed7 <gforth_engine+2615>:	mov    %rbx,0x21be42(%rip)        # 0x620d20 <saved_ip>
   0x0000000000404ede <gforth_engine+2622>:	mov    %r15,%rax
   0x0000000000404ee1 <gforth_engine+2625>:	mov    (%r15),%rdx
   0x0000000000404ee4 <gforth_engine+2628>:	lea    0x8(%r15),%r15
   0x0000000000404ee8 <gforth_engine+2632>:	add    %rdx,0x8(%rax)
   0x0000000000404eec <gforth_engine+2636>:	add    $0x8,%rbx
   0x0000000000404ef0 <gforth_engine+2640>:	mov    -0x8(%rbx),%rdx
   0x0000000000404ef4 <gforth_engine+2644>:	mov    %rdx,%rax
   0x0000000000404ef7 <gforth_engine+2647>:	jmpq   *%rax
end-code
 ok
  ok


Closing it as WORKSFORME.