Tk Source Code

Attachment Details
Login
Overview

Artifact ID: 1735f0a1e1dd597efe74f0e224918254b5fc1959b4e7d2a005e64206187de8b2
Ticket: 4994f5dba496b57d8d38bf3d61c4d46eb60e523e
Date: 2022-01-22 18:48:33
User: chrstphrchvz
Artifact Attached: fbf1adc044e31975a244459a9d433a9ae92163f580253b016078f1a56307dc5a
Filename:4994f5db_ubsan.txt
Description:output when compiled with UBSan (-fsanitize=null -DPURIFY)
Content Appended
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46

*** tablelist-own after idle callbacks:
  tablelist::updateView .tf.tbl
  tablelist::updateHScrlbar .tf.tbl
  tablelist::updateScrlColOffset .tf.tbl
  tablelist::stretchColumns .tf.tbl -1
  tablelist::adjustSeps .tf.tbl

*** invoking update idletasks
/Users/user/git/tcl/generic/tclHash.c:426:26: runtime error: member access within null pointer of type 'Tcl_HashEntry' (aka 'struct Tcl_HashEntry')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/user/git/tcl/generic/tclHash.c:426:26 in 
UndefinedBehaviorSanitizer:DEADLYSIGNAL
==7498==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00010f9de8bf bp 0x7ff7b4436c50 sp 0x7ff7b4436a80 T3077772)
==7498==The signal is caused by a READ memory access.
==7498==Hint: address points to the zero page.
    #0 0x10f9de8bf in Tcl_DeleteHashEntry tclHash.c:426
    #1 0x10d5f7544 in Tk_PlaceObjCmd tkPlace.c:317
    #2 0x10f2f93d4 in Dispatch tclBasic.c:4467
    #3 0x10f2e49d6 in TclNRRunCallbacks tclBasic.c:4503
    #4 0x10f2f1615 in TclEvalObjEx tclBasic.c:6068
    #5 0x10f2e1b09 in Tcl_EvalObjEx tclBasic.c:6049
    #6 0x10fc0a417 in AfterProc tclTimer.c:1199
    #7 0x10fc053aa in TclServiceIdle tclTimer.c:751
    #8 0x10fb1ae5d in Tcl_DoOneEvent tclNotify.c:980
    #9 0x10d4e0ae1 in Tk_UpdateObjCmd tkCmds.c:1213
    #10 0x10f2f93d4 in Dispatch tclBasic.c:4467
    #11 0x10f2e49d6 in TclNRRunCallbacks tclBasic.c:4503
    #12 0x10f2f1615 in TclEvalObjEx tclBasic.c:6068
    #13 0x10f2e1b09 in Tcl_EvalObjEx tclBasic.c:6049
    #14 0x10fc0a417 in AfterProc tclTimer.c:1199
    #15 0x10fc0c099 in TimerHandlerEventProc tclTimer.c:593
    #16 0x10fb18d26 in Tcl_ServiceEvent tclNotify.c:670
    #17 0x10fb1addb in Tcl_DoOneEvent tclNotify.c:967
    #18 0x10d52bf07 in Tk_MainLoop tkEvent.c:2109
    #19 0x10d5b4800 in Tk_MainEx tkMain.c:377
    #20 0x10bacdd85 in main tkAppInit.c:93
    #21 0x10c6d94fd in start+0x1cd (dyld:x86_64+0x54fd)

==7498==Register values:
rax = 0x0000000000000008  rbx = 0x000000010badb060  rcx = 0x0000000000000001  rdx = 0x000000000000003f  
rdi = 0x00007ff7b4435d50  rsi = 0x0000000000000000  rbp = 0x00007ff7b4436c50  rsp = 0x00007ff7b4436a80  
 r8 = 0x000000010bdd2fc0   r9 = 0x00007ff7b4435d50  r10 = 0x0000000000000000  r11 = 0x0000000000000206  
r12 = 0x000000010c7543a0  r13 = 0x00007ff7b4438a18  r14 = 0x000000010bacdcd0  r15 = 0x000000010c740010  
UndefinedBehaviorSanitizer can not provide additional info.
SUMMARY: UndefinedBehaviorSanitizer: SEGV tclHash.c:426 in Tcl_DeleteHashEntry
==7498==ABORTING