Giter Club home page Giter Club logo

Comments (21)

oblitum avatar oblitum commented on June 8, 2024

ah, it seems to be segfaulting with the shipped one too...

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

I haven't tested on OS X in a while. I'll take a look at this today, thank you.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

I have been unable to reproduce any such issues on OS X. Are you certain it's not your environment?

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Will try it again and will report back soon.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Happening consistently for me after "CursorHold" is triggered.

This is the lldb's backtrace I get from the coredump:

* thread #1: tid = 0x0000, 0x00007fff84d7f292 libsystem_kernel.dylib`__kill + 10, stop reason = signal SIGSTOP
  * frame #0: 0x00007fff84d7f292 libsystem_kernel.dylib`__kill + 10
    frame #1: 0x0000000107e614fe Vim`mch_exit + 184
    frame #2: 0x00007fff85dfe5aa libsystem_platform.dylib`_sigtramp + 26
    frame #3: 0x0000000107dab221 Vim`set_ref_in_item + 11
    frame #4: 0x0000000107dab24c Vim`set_ref_in_item + 54
    frame #5: 0x0000000107efbff9 Vim`luaV_setref + 228
    frame #6: 0x000000010813aec8 liblua.5.2.dylib`luaD_precall + 426
    frame #7: 0x000000010813b1b7 liblua.5.2.dylib`luaD_call + 59
    frame #8: 0x0000000108137bbc liblua.5.2.dylib`lua_callk + 73
    frame #9: 0x0000000107dab07a Vim`garbage_collect + 457
    frame #10: 0x0000000107e6015f Vim`mch_inchar + 117
    frame #11: 0x0000000107ed78e3 Vim`ui_inchar + 277
    frame #12: 0x0000000107dfedc3 Vim`inchar + 450
    frame #13: 0x0000000107e01bb9 Vim`vgetorpeek + 4231
    frame #14: 0x0000000107e0067d Vim`vgetc + 193
    frame #15: 0x0000000107e01fcb Vim`safe_vgetc + 9
    frame #16: 0x0000000107e3c3ae Vim`normal_cmd + 318
    frame #17: 0x0000000107f1818f Vim`main_loop + 1280
    frame #18: 0x0000000107f17614 Vim`main + 12092
    frame #19: 0x00007fff8ed125fd libdyld.dylib`start + 1
    frame #20: 0x00007fff8ed125fd libdyld.dylib`start + 1

I may have to build a debugging version of Vim do debug this. Will see if there's any change with an updated version.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

meh, I was already with latest macvim from november...

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

So, I've cloned the tip of vim from original repositories and tested both a debug and release compilation and there's no such behavior indeed.

So it must be a bug in macvim, or in the specific vim version macvim is currently based upon.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

By the way on OS X I've found this problem with the latest vim sources...

https://groups.google.com/d/msg/vim_dev/WVE9W-j3sK8/2eFXS_r7xR4J

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

In the official repository I've checkout the tag that corresponds to the version that's currently bundled with MacVim and there's still no issue. So, it must be a bug in MacVim, or maybe, related to how homebrew builds it.

Notice this is happening with MacVim (vim version 7.4.383) that's available through homebrew, for current version as well as --HEAD installation. This is also a problem because OS X users generally like to take vim/macvim through homebrew instead of cloning and building vim themselves.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

I won't be digging this further sorry, I'll stick with official vim for the console.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

No need to apologize, mate. You've done some excellent troubleshooting here and have given me more than enough information to pick up where you left off. Thank you.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

I believe this has been fixed, as part of #10 which was a nasty bug where the system libclang files could be mixed with color_coded. I have tested color_coded on a fresh Yosemite install with non-HEAD macvim from brew and everything is working nicely.

If you get the time to verify, please do. Otherwise, I'll close this in a couple of days.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

I should clarify, the changes are currently on the clang branch, not yet in master.

EDIT: scratch that, this is in master; it's a blocking bug fix and is working for me on Linux and OS X. You should use master.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

I'll check it asap.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

Any update?

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Just tried with a new MacVim installation, seems to be gone.

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Thanks.

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Thanks.

\o/ Thank you for all the help.

np!
OT: you're getting lots of stars all of a sudden, did you publish it on HN or something?

from color_coded.

oblitum avatar oblitum commented on June 8, 2024

Ah, I did find the link on HN :-)

from color_coded.

jeaye avatar jeaye commented on June 8, 2024

:D

from color_coded.

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.