Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 23:36:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244204] ports-mgmt/dialog4ports - Segmentation fault after upgrade to 13.x-currrent
Message-ID:  <bug-244204-7788-YjKpqjiLO0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244204-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244204-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244204

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

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


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=3D0x7fffff1c2ce0 "
openzfs-2020120100 ", cprompt=3D0x202026 "", height=3D9, min_height=3D0, wi=
dth=3D80,
item_no=3D3, items=3D0x86c0f9000, align_center=3Dfalse, fullscreen=3Dfalse)=
 at
mixedlist.c:655
        binding =3D {{is_function_key =3D 0, curses_key =3D 10, dialog_key =
=3D 541},
{is_function_key =3D 0, curses_key =3D 13, dialog_key =3D 541}, {is_functio=
n_key =3D 1,
curses_key =3D 343, dialog_key =3D 541}, {is_function_key =3D 1, curses_key=
 =3D 261,
            dialog_key =3D 528}, {is_function_key =3D 0, curses_key =3D 9, =
dialog_key
=3D 528}, {is_function_key =3D 1, curses_key =3D 353, dialog_key =3D 529},
{is_function_key =3D 1, curses_key =3D 260, dialog_key =3D 529}, {is_functi=
on_key =3D
1,
            curses_key =3D 262, dialog_key =3D 522}, {is_function_key =3D 1,
curses_key =3D 360, dialog_key =3D 523}, {is_function_key =3D 1, curses_key=
 =3D 347,
dialog_key =3D 523}, {is_function_key =3D 0, curses_key =3D 43, dialog_key =
=3D 524}, {
            is_function_key =3D 1, curses_key =3D 258, dialog_key =3D 524},
{is_function_key =3D 0, curses_key =3D 14, dialog_key =3D 524}, {is_functio=
n_key =3D 0,
curses_key =3D 45, dialog_key =3D 525}, {is_function_key =3D 1, curses_key =
=3D 259,
            dialog_key =3D 525}, {is_function_key =3D 0, curses_key =3D 16,
dialog_key =3D 525}, {is_function_key =3D 1, curses_key =3D 338, dialog_key=
 =3D 520},
{is_function_key =3D 1, curses_key =3D 1106, dialog_key =3D 520}, {is_funct=
ion_key =3D
1,
            curses_key =3D 339, dialog_key =3D 521}, {is_function_key =3D 1,
curses_key =3D 1107, dialog_key =3D 521}, {is_function_key =3D -1, curses_k=
ey =3D 0,
dialog_key =3D 0}}
        old_height =3D 0
        old_width =3D 80
        i =3D -1
        j =3D 0
        key2 =3D 2135968
        x =3D 77
        y =3D 21
        cur_x =3D 49
        cur_y =3D 0
        box_x =3D 2
        box_y =3D 1
        key =3D 525
        fkey =3D 525
        button =3D 0
        choice =3D 0
        scrollamt =3D 0
        max_choice =3D 3
        was_mouse =3D 0
        use_height =3D 3
        use_width =3D 68
        name_width =3D 6
        text_width =3D 62
        result =3D -2
        dialog =3D 0x81d7662b0
        list =3D 0x81d766390
        prompt =3D 0x805152058 ""
        buttons =3D 0x801fa16a0
        found =3D true
        group =3D 0

#1  0x0000000000203fc3 in mixedlist_show (title=3D0x7fffff1c2ce0 "
openzfs-2020120100 ", cprompt=3D0x202026 "", height=3D0, min_height=3D0, wi=
dth=3D80,
items=3D0x86c0f9000, align_center=3Dfalse, fullscreen=3Dfalse) at dialog4po=
rts.c:212
        res =3D 33091533

#2  0x0000000000203ca2 in main (argc=3D0, argv=3D0x7fffff1c2e58) at
dialog4ports.c:321
        portname =3D 0x7fffffffec92 "openzfs-2020120100"
        temp =3D 0x0
        buf =3D " openzfs-2020120100 \000\177", '\000' <repeats 18 times>,
"X\255\036\003;<\000\000\000\200=3D\000\b\000\000\000\177\003\034=C3=BF=C3=
=BF\177\000\000=C5=BE0\034=C3=BF=C3=BF\177\000\000=C3=A80\034=C3=BF=C3=BF\1=
77\000\000\000\000\000\000=C3=BF\177\000\000\000=C3=80=3D\000\b\000\000\000=
=C3=88\224
\000\000\000\000\000h\026 \000\000\000\000\000\000\200=3D\000\b", '\000' <r=
epeats
11 times>,
"`.\034=C3=BF=C3=BF\177\000\000\000\000\000\000\000\000\000\000P.\034=C3=BF=
=C3=BF\177\000\000\001\000\000\000\000\000\000\000\t\037\003\266=C3=899\220=
|\240\227
\000\000\000\000\000`.\034=C3=BF=C3=BF\177\000\000\000\000\000\000\000\000\=
000\000P.\034=C3=BF=C3=BF\177\000\000"...
        i =3D 8
        res =3D 51093712
        ch =3D -1
        height =3D 0
        width =3D 80
        min_height =3D 0
        align_center =3D false
        fullscreen =3D false
        helpfile =3D 0x0
        items =3D 0x86c0f9000
(gdb)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244204-7788-YjKpqjiLO0>