Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 22de985f3c22076bf09e78ca1fd76f4e33fb9f0c
Ticket: 2918110fffffffffffffffffffffffffffffffff
Segfault from chan postevent
User & Date: sbron on 2009-12-20 14:09:55
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I'm trying to post a write event when a writable event handler is being installed on a reflected channel that is ready to be written to. At that point Tcl crashes with a segmentation fault. Chances are I'm not using the command correctly, but that should still not result in a segmentation fault.
    
    The script to reproduce the problem is attached and this is the backtrace:
    
    Program terminated with signal 11, Segmentation fault.
    #0  0x00007ff4d325290e in TclEvalObjEx ()
       from /home/sbron/usr/lib/libtcl8.6.so 
    #1  0x00007ff4d32b222f in TclChannelEventScriptInvoker ()                       
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #2  0x00007ff4d32b7811 in Tcl_NotifyChannel ()                                  
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #3  0x00007ff4d32bc716 in TclChanPostEventObjCmd ()                             
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #4  0x00007ff4d324c2c3 in TclNRRunCallbacks ()                                  
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #5  0x00007ff4d329bd37 in TclExecuteByteCode ()                                 
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #6  0x00007ff4d324c2c3 in TclNRRunCallbacks ()                                  
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #7  0x00007ff4d32bc947 in InvokeTclMethod ()                                    
       from /home/sbron/usr/lib/libtcl8.6.so                                        
    #8  0x00007ff4d32bcbed in ReflectWatch ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #9  0x00007ff4d32b3e02 in Tcl_FileEventObjCmd ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #10 0x00007ff4d324c2c3 in TclNRRunCallbacks ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #11 0x00007ff4d3251d73 in TclEvalEx ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #12 0x00007ff4d3252146 in Tcl_EvalEx ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #13 0x00007ff4d32c37b1 in Tcl_FSEvalFileEx ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #14 0x00007ff4d32c9732 in Tcl_Main ()
       from /home/sbron/usr/lib/libtcl8.6.so
    #15 0x0000000000400950 in main ()
    
    OpenSuSE 11.2, x86_64
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "sbron"
  10. subsystem changed to: "25. Channel System"
  11. title changed to: "Segfault from chan postevent"
  12. type changed to: "Bug"