Bug 847579 - "see" of compiled code hangs
Summary: "see" of compiled code hangs
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gforth
Version: 17
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adrian Reber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-13 03:55 UTC by Horst H. von Brand
Modified: 2013-03-03 19:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-03 19:11:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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