canvas find below x - segmentation error 
Author Message
 canvas find below x - segmentation error

Tk 8.1b3 Bug:  Generated by Scriptics' bug entry form at
        http://www.*-*-*.com/
Responses to this post are encouraged.
------

Submitted by:  Peter Weigand
OperatingSystem:  Sun Solaris
OperatingSystemVersion:  2.5.1
Synopsis:  canvas find below x - segmentation error

ReproducibleScript:
    canvas .c
    pack .c
    .c find below Selected

DesiredBehavior:
    no segmentation error

Patch:
*** tkCanvas.c  Wed Feb 17 03:18:30 1999
--- tkCanvas.c.new      Thu Apr 15 21:43:15 1999
***************
*** 2539,2546 ****
            return TCL_ERROR;
        }
        itemPtr = StartTagSearch(canvasPtr, argv[1], &search);
!       if (itemPtr->prevPtr != NULL) {
!           DoItem(interp, itemPtr->prevPtr, uid);
        }
      } else if ((c == 'c') && (strncmp(argv[0], "closest", length) == 0)) {
        double closestDist;
--- 2539,2548 ----
            return TCL_ERROR;
        }
        itemPtr = StartTagSearch(canvasPtr, argv[1], &search);
!       if (itemPtr != NULL) {  /* needed otherwise segment error */
!           if (itemPtr->prevPtr != NULL) {
!               DoItem(interp, itemPtr->prevPtr, uid);
!           }
        }
      } else if ((c == 'c') && (strncmp(argv[0], "closest", length) == 0)) {
        double closestDist;

PatchFiles:
    tkCanvas.c



Mon, 01 Oct 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Segmentation Fault error FOUND !

2. Delete remaining lines below a found string?

3. why error message on this form code below

4. tcl8.0 fails to compile using unix (see below for error)

5. $canvas find enclosed does not find text with trailing newline

6. how to find segmentation fault problem with Sun f90

7. ISE 4.5 segmentation error WinME

8. Segmentation Faults and Bus Errors

9. SEGMENTATION ERRORS

10. g77 segmentation fault possible error allocating large arrays during runtime

11. Segmentation fault (Was: Runtime error in Forte compiled program)

12. help segmentation error

 

 
Powered by phpBB® Forum Software