Giter Site home page Giter Site logo

Reproducible crash on OpenBSD about nvi2 HOT 3 CLOSED

lichray avatar lichray commented on August 19, 2024
Reproducible crash on OpenBSD

from nvi2.

Comments (3)

bentley avatar bentley commented on August 19, 2024
#0  seq_find (sp=0x17904beaec10, lastqp=0x0, e_input=0x179047703000,
    c_input=0x0, ilen=1, stype=SEQ_INPUT, ispartialp=0x7f7ffffddd7c)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/common/seq.c:236
#1  0x0000178e45f14587 in v_event_get (sp=0x17904fc3b630, argp=0x7f7ffffde1a0,
    timeout=0, flags=4)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/common/key.c:646
#2  0x0000178e45f42c84 in v_txt (sp=0x17904fc3b630, vp=0x7f7ffffde3f0, tm=Variable "tm" is not available.
)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/vi/v_txt.c:480
#3  0x0000178e45f3c3fc in v_ia (sp=0x17904fc3b630, vp=0x7f7ffffde3f0)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/vi/v_itxt.c:114
#4  0x0000178e45f3c54f in v_iA (sp=0x17904fc3b630, vp=0x7f7ffffde3f0)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/vi/v_itxt.c:77
#5  0x0000178e45f48531 in vi (spp=0x7f7ffffde608)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/vi/vi.c:229
#6  0x0000178e45f1778a in editor (gp=0x17904b81f000, argc=2,
    argv=0x7f7ffffde7f8)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/common/main.c:421
#7  0x0000178e45f0d4d1 in main (argc=2, argv=0x7f7ffffde7f0)
    at /usr/ports/pobj/nvi-2.1.1-iconv/nvi-2.1.1/cl/cl_main.c:120

from nvi2.

lichray avatar lichray commented on August 19, 2024

Fixed after reproducing in FreeBSD. Thank you very much! I reworked the memory allocation macros some time ago, and it seems that the original nvi code does not always use the macros to manage memory.

Can you confirm the fix on OpenBSD as well? Thanks.

from nvi2.

bentley avatar bentley commented on August 19, 2024

Can no longer reproduce the problem. Thanks!

from nvi2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.