Coder Social home page Coder Social logo

Comments (7)

chrisbra avatar chrisbra commented on May 28, 2024

since you seem to be able to easily reproduce, can you please share a stack trace?

from vim.

dante-robinson avatar dante-robinson commented on May 28, 2024

since you seem to be able to easily reproduce, can you please share a stack trace?

Not sure how to do that sorry

from vim.

byteskeptical avatar byteskeptical commented on May 28, 2024

@dante-robinson you can run ktrace vim yourlargefile.txt and provide the dump file after triggering the behavior. I'm running on current (7.5 build 10) also with the aforementioned sysctl flag and can't seem to reproduce this on any flavor of vim (gtk or nox11*) on a ~2400 line file. Can you reproduce the behavior in xterm? Lastly what class is the user your running this as a part of (userinfo $USER)?

from vim.

dante-robinson avatar dante-robinson commented on May 28, 2024

@dante-robinson you can run ktrace vim yourlargefile.txt and provide the dump file after triggering the behavior. I'm running on current (7.5 build 10) also with the aforementioned sysctl flag and can't seem to reproduce this on any flavor of vim (gtk or nox11*) on a ~2400 line file. Can you reproduce the behavior in xterm? Lastly what class is the user your running this as a part of (userinfo $USER)?

xterm causes the same issue.

groups user wheel operator wsrc staff _shutdown

ktrace.tar.gz

from vim.

byteskeptical avatar byteskeptical commented on May 28, 2024

@dante-robinson are you all syspatch 'ed up on this system? Given the memory access error and the trapno=6 I would suspect the recent syscall changes may be playing a role here. You wouldn't happen to be running a current flavor package on a stable system by any chance?

 67101 vim      CALL  mmap(0,0x4000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
 67101 vim      RET   mmap 7136648458240/0x67da1657000
 67101 vim      CALL  mprotect(0x67da165a000,0x1000,0<PROT_NONE>)
 67101 vim      RET   mprotect 0
 67101 vim      CALL  munmap(0x67ccdc92000,0x4000)
 67101 vim      RET   munmap 0
 67101 vim      CALL  munmap(0x67da1657000,0x4000)
 67101 vim      RET   munmap 0
 67101 vim      PSIG  SIGSEGV caught handler=0x67ac95e52d0 mask=0<> code=SEGV_ACCERR addr=0x67d702a1003 trapno=6
 67101 vim      CALL  sigprocmask(SIG_BLOCK,0<>)
 67101 vim      RET   sigprocmask 0x400<SIGSEGV>
 67101 vim      CALL  sigaction(SIGHUP,0x67dc66d5b60,0x67dc66d5b70)
 67101 vim      STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }
 67101 vim      STRU  struct sigaction { handler=0x67ac95e52d0, mask=0<>, flags=0x1<SA_ONSTACK> }
 67101 vim      RET   sigaction 0

from vim.

chrisbra avatar chrisbra commented on May 28, 2024

Please see here: https://github.com/vim/vim/wiki/Debugging-Vim-Bugs for a stack trace

from vim.

dante-robinson avatar dante-robinson commented on May 28, 2024

@dante-robinson are you all syspatch 'ed up on this system? Given the memory access error and the trapno=6 I would suspect the recent syscall changes may be playing a role here. You wouldn't happen to be running a current flavor package on a stable system by any chance?

 67101 vim      CALL  mmap(0,0x4000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
 67101 vim      RET   mmap 7136648458240/0x67da1657000
 67101 vim      CALL  mprotect(0x67da165a000,0x1000,0<PROT_NONE>)
 67101 vim      RET   mprotect 0
 67101 vim      CALL  munmap(0x67ccdc92000,0x4000)
 67101 vim      RET   munmap 0
 67101 vim      CALL  munmap(0x67da1657000,0x4000)
 67101 vim      RET   munmap 0
 67101 vim      PSIG  SIGSEGV caught handler=0x67ac95e52d0 mask=0<> code=SEGV_ACCERR addr=0x67d702a1003 trapno=6
 67101 vim      CALL  sigprocmask(SIG_BLOCK,0<>)
 67101 vim      RET   sigprocmask 0x400<SIGSEGV>
 67101 vim      CALL  sigaction(SIGHUP,0x67dc66d5b60,0x67dc66d5b70)
 67101 vim      STRU  struct sigaction { handler=SIG_IGN, mask=0<>, flags=0x2<SA_RESTART> }
 67101 vim      STRU  struct sigaction { handler=0x67ac95e52d0, mask=0<>, flags=0x1<SA_ONSTACK> }
 67101 vim      RET   sigaction 0

Have all the current syspatches and am using the stable package from pkg_add not the -current package.

from vim.

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.