[Bug 244204] ports-mgmt/dialog4ports - Segmentation fault after upgrade to 13.x-currrent

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 23:36:17 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244204

--- Comment #12 from Joshua Kinard <kumba at gentoo.org> ---

> Hi Joshua,
> Can you show bt full, it very interesting case because in 0.1.6 it was fixed >_<
> 30.12.2020, 19:26, "bugzilla-noreply at freebsd.org" <bugzilla-noreply at freebsd.org>:
> 
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244204
> 
>     --- Comment #11 from Joshua Kinard <kumba at gentoo.org
>     <mailto:kumba at gentoo.org>> ---
>     (In reply to ru_M1cRO from comment #10)
> 
>     0.1.6
> 
>     --
>     You are receiving this mail because:
>     You are on the CC list for the bug.
> 
> -- 
> With Best Regards,
> Ilya A. Arkhipov
> 


Here you go.  This is me using the steps provided in my earlier comment
(pressing the up arrow once in sysutils/openzfs 'make config') to generate the
crash.

# gdb /usr/local/bin/dialog4ports dialog4ports.core
GNU gdb (GDB) 10.1 [GDB v10.1 for FreeBSD]
[snip]
Reading symbols from /usr/local/bin/dialog4ports...
[New LWP 100605]
Core was generated by `/usr/local/bin/dialog4ports'.
Program terminated with signal SIGSEGV, Segmentation fault.

[snip]

(gdb) bt full
#0  0x0000000000205c4a in dlg_mixedlist (title=0x7fffff1c2ce0 "
openzfs-2020120100 ", cprompt=0x202026 "", height=9, min_height=0, width=80,
item_no=3, items=0x86c0f9000, align_center=false, fullscreen=false) at
mixedlist.c:655
        binding = {{is_function_key = 0, curses_key = 10, dialog_key = 541},
{is_function_key = 0, curses_key = 13, dialog_key = 541}, {is_function_key = 1,
curses_key = 343, dialog_key = 541}, {is_function_key = 1, curses_key = 261,
            dialog_key = 528}, {is_function_key = 0, curses_key = 9, dialog_key
= 528}, {is_function_key = 1, curses_key = 353, dialog_key = 529},
{is_function_key = 1, curses_key = 260, dialog_key = 529}, {is_function_key =
1,
            curses_key = 262, dialog_key = 522}, {is_function_key = 1,
curses_key = 360, dialog_key = 523}, {is_function_key = 1, curses_key = 347,
dialog_key = 523}, {is_function_key = 0, curses_key = 43, dialog_key = 524}, {
            is_function_key = 1, curses_key = 258, dialog_key = 524},
{is_function_key = 0, curses_key = 14, dialog_key = 524}, {is_function_key = 0,
curses_key = 45, dialog_key = 525}, {is_function_key = 1, curses_key = 259,
            dialog_key = 525}, {is_function_key = 0, curses_key = 16,
dialog_key = 525}, {is_function_key = 1, curses_key = 338, dialog_key = 520},
{is_function_key = 1, curses_key = 1106, dialog_key = 520}, {is_function_key =
1,
            curses_key = 339, dialog_key = 521}, {is_function_key = 1,
curses_key = 1107, dialog_key = 521}, {is_function_key = -1, curses_key = 0,
dialog_key = 0}}
        old_height = 0
        old_width = 80
        i = -1
        j = 0
        key2 = 2135968
        x = 77
        y = 21
        cur_x = 49
        cur_y = 0
        box_x = 2
        box_y = 1
        key = 525
        fkey = 525
        button = 0
        choice = 0
        scrollamt = 0
        max_choice = 3
        was_mouse = 0
        use_height = 3
        use_width = 68
        name_width = 6
        text_width = 62
        result = -2
        dialog = 0x81d7662b0
        list = 0x81d766390
        prompt = 0x805152058 ""
        buttons = 0x801fa16a0
        found = true
        group = 0

#1  0x0000000000203fc3 in mixedlist_show (title=0x7fffff1c2ce0 "
openzfs-2020120100 ", cprompt=0x202026 "", height=0, min_height=0, width=80,
items=0x86c0f9000, align_center=false, fullscreen=false) at dialog4ports.c:212
        res = 33091533

#2  0x0000000000203ca2 in main (argc=0, argv=0x7fffff1c2e58) at
dialog4ports.c:321
        portname = 0x7fffffffec92 "openzfs-2020120100"
        temp = 0x0
        buf = " openzfs-2020120100 \000\177", '\000' <repeats 18 times>,
"X\255\036\003;<\000\000\000\200=\000\b\000\000\000\177\003\034ÿÿ\177\000\000ž0\034ÿÿ\177\000\000è0\034ÿÿ\177\000\000\000\000\000\000ÿ\177\000\000\000À=\000\b\000\000\000È\224
\000\000\000\000\000h\026 \000\000\000\000\000\000\200=\000\b", '\000' <repeats
11 times>,
"`.\034ÿÿ\177\000\000\000\000\000\000\000\000\000\000P.\034ÿÿ\177\000\000\001\000\000\000\000\000\000\000\t\037\003\266É9\220|\240\227
\000\000\000\000\000`.\034ÿÿ\177\000\000\000\000\000\000\000\000\000\000P.\034ÿÿ\177\000\000"...
        i = 8
        res = 51093712
        ch = -1
        height = 0
        width = 80
        min_height = 0
        align_center = false
        fullscreen = false
        helpfile = 0x0
        items = 0x86c0f9000
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list