Bug 847579 - "see" of compiled code hangs
"see" of compiled code hangs
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: gforth (Show other bugs)
17
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Adrian Reber
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-12 23:55 EDT by Horst H. von Brand
Modified: 2013-03-03 14:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-03 14:11:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Horst H. von Brand 2012-08-12 23:55:42 EDT
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 14:11:40 EST
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.

Note You need to log in before you can comment on or make changes to this bug.