Tk bind to 'FocusOut' causes segfault 
Author Message
 Tk bind to 'FocusOut' causes segfault

P.S.  This problem only appears on Win2k at work.  It runs fine
at home on my Linux box.

Quote:

> Using Tk, attempts to capture 'FocusOut' event, are causing a
> segfault.  I am new to Tk.  Can someone point me in the right
> direction?  I've attached the code and the stackdump.










> focus in
> /cygdrive/d/ruby/lib/ruby/1.6/tk.rb:606: [BUG] Segmentation fault
> ruby 1.6.4 (2001-06-04) [i386-cygwin]
>       0 [sig] ruby 1068 stackdump: Dumping stack trace to
> ruby.exe.stackdump

> Tool completed with exit code 99840

> --
> "It requires wisdom to understand wisdom:
>  the music is nothing if the audience is deaf."
>  - Walter Lippman

>   -----------------------------------------------------------------
>                   Name: tkMyMain.rb
>    tkMyMain.rb    Type: Ruby Program (application/x-unknown-content-type-rbFile)
>               Encoding: base64

>   -----------------------------------------------------------------
> Stack trace:
> Frame     Function  Args
> 0240E060  77E88787  (000000B8, 0000EA60, 00000000, 610433F9)
> 0240E0B0  77E88787  (00000000, 1C0E55C6, 67D0B2C7, 61041CE5)
> 0240E100  61041FF2  (00000006, 0000042C, 0243C7F0, 000000B8)
> 0240E130  6103FBA8  (0000042C, 00000006, 61041EA4, 000000B0)
> 0240E160  6103FD3E  (0000042C, 00000006, 024A4120, 02474D00)
> 0240E180  61076584  (6108D010, 0000042C, 00000006, 0240E1E0)
> 0240E1B0  6106C278  (6108D010, 00000006, 0240E1E0, 00000016)
> 0240E1D0  6106C250  (00000006, 67D0B2ED, 67D0B2E7, 67D0B2DC)
> 0240E1F0  61068E8C  (00000000, 1C14986E, 0240E238, 1C0E1A1F)
> 0240E610  67D0B36B  (67D6A29F, 00000000, 00000000, 0240E660)
> 0240E630  67D6A2C7  (0000000B, 00000000, FFFFFFFF, 00000003)
> 0240E660  6100DE1F  (00000003, 0240E680, 1C1A4A10, 00000003)
> 0240E66C  1C1A49F4  (00000003, 024F3072, 0240E7DC, 0240E7DC)
> 0240E680  1C1A4A10  (0240E6C8, 00000003, 00000030, 00000006)
> 0240E7DC  1C1B1164  (024473A0, 024F3072, 024F4628, 00000000)
> 0240EA54  1C1AFFAC  (0243C190, 024F4628, 024473A0, 00000004)
> End of stack trace (more stack frames may be present)

--
"It requires wisdom to understand wisdom:
 the music is nothing if the audience is deaf."
 - Walter Lippman


Sun, 18 Jan 2004 21:20:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. require 'tk' causes segfault later

2. I'm in a 'BIND'

3. What causes 'Internal error 5333'?

4. don't understand cause of `sysread': Bad file descriptor (Errno::EBADF)

5. 'proc unknown' causes package error

6. Running 'make test' causes core dump

7. 'after' causes illegal instruction errors

8. Binding 'Self'

9. 'bind' functions into methods

10. tkinter 'command' binding

11. oratcl - bind variable within 'in' condition

12. Binding 'C' Routines to tclsh

 

 
Powered by phpBB® Forum Software