• ttk::combobox dumps core with Tk 8.7

    From Paul Obermeier@21:1/5 to All on Mon Dec 13 19:24:10 2021
    The following script behaves differently with 8.6.11 and 8.7.a5:

    package require Tk
    ttk::frame .fr
    pack .fr
    ttk::combobox .fr.cb
    pack .fr.cb
    .fr.cb current 0

    With 8.6.11 it prints the correct error message: "index 0 out of range"
    With 8.7.a5 it dumps core on both Windows and Linux.

    Can anyone with a recent 8.7 branch confirm this behaviour?

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nemethi@21:1/5 to All on Mon Dec 13 21:01:07 2021
    Am 13.12.21 um 20:51 schrieb nemethi:
    Am 13.12.21 um 19:24 schrieb Paul Obermeier:
    ttk::frame .fr
    pack .fr
    ttk::combobox .fr.cb
    pack .fr.cb
    .fr.cb current 0

    I can confirm the crash with Tk 8.7a5.  Tk 8.7a3 behaves like 8.6.11 and 8.6.12, but Tk 8.7a5 crashes, being killed by SIGSEGV.  Tested on Linux.


    My wish8.7 built from trunk on Nov 3 crashes, too.

    --
    Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nemethi@21:1/5 to All on Mon Dec 13 20:51:03 2021
    Am 13.12.21 um 19:24 schrieb Paul Obermeier:
    ttk::frame .fr
    pack .fr
    ttk::combobox .fr.cb
    pack .fr.cb
    .fr.cb current 0

    I can confirm the crash with Tk 8.7a5. Tk 8.7a3 behaves like 8.6.11 and 8.6.12, but Tk 8.7a5 crashes, being killed by SIGSEGV. Tested on Linux.

    --
    Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Francois Vogel@21:1/5 to All on Tue Dec 14 07:44:26 2021
    Le 13/12/2021 à 21:01, nemethi a écrit :
    Am 13.12.21 um 20:51 schrieb nemethi:
    Am 13.12.21 um 19:24 schrieb Paul Obermeier:
    ttk::frame .fr
    pack .fr
    ttk::combobox .fr.cb
    pack .fr.cb
    .fr.cb current 0

    I can confirm the crash with Tk 8.7a5.  Tk 8.7a3 behaves like 8.6.11
    and 8.6.12, but Tk 8.7a5 crashes, being killed by SIGSEGV.  Tested on
    Linux.


    My wish8.7 built from trunk on Nov 3 crashes, too.

    Thank you for the report! I have opened a ticket for this:

    https://core.tcl-lang.org/tk/tktview?name=924835c36d

    Regards,
    Francois

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Tue Dec 14 10:48:24 2021
    Am 14.12.2021 um 07:44 schrieb Francois Vogel:
    Le 13/12/2021 à 21:01, nemethi a écrit :
    Am 13.12.21 um 20:51 schrieb nemethi:
    Am 13.12.21 um 19:24 schrieb Paul Obermeier:
    ttk::frame .fr
    pack .fr
    ttk::combobox .fr.cb
    pack .fr.cb
    .fr.cb current 0

    I can confirm the crash with Tk 8.7a5.  Tk 8.7a3 behaves like 8.6.11
    and 8.6.12, but Tk 8.7a5 crashes, being killed by SIGSEGV.  Tested on
    Linux.


    My wish8.7 built from trunk on Nov 3 crashes, too.

    Thank you for the report! I have opened a ticket for this:

        https://core.tcl-lang.org/tk/tktview?name=924835c36d

    Regards,
    Francois

    And light-speed fix by Jan, thank you all,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)