-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kaputt! Linenumbersymbol with Hack font #1
Comments
@zartstrom Please paste the Also, what is the airline setting / symbol name?! Note: only happened when the terminal was wide enough (half your screen). |
I cloned the repo again, commented out the three other patches and did a I try to come up with the evil character and a more isolated scenario to reproduce the crash.
|
They come from the other patches (line-spacing-fix.patch at least); so you have patched the new clone already, but removed those patches. Can you please try it from the branch that is used for the patch: https://github.com/blueyed/rxvt-unicode/tree/display-wide-glyphs:
(no need to install it) If you can reproduce it, you can bisect it: Then either Let's see if that helps. Then, of course a simple test case (minimal vimrc to trigger this) would be nice. Thanks! |
FYI: maxlinenr is only used when the window is wider than 80 chars in airline: https://github.com/blueyed/vim-airline/blob/7a720bbbd74b22fc029844c9ff087bbc1e09effb/autoload/airline/init.vim#L133-L139. |
Check also if changing something in this area helps:
|
Please also paste the output from |
I built rxvt by your instructions on my work laptop, and it reproduced the crash as well. (execute The output of
|
Started bisecting (btw what a cool command!). It seems your first commit is the culprit. |
Not unlikely, especially given there are fixes to it later.. ;) |
Can you also create a screen dump of the output that would cause the crash, i.e. from a working urxvt instance, the paste it into a file and upload it as a gist and/or paste it here. |
to no avail, I tried all commits, but there's a segmentation fault every time. I don't understand the screen dump thing, I need some guidance.. Until now I did not find any text that lets rxvt crash by cat'ing or echo'ing. I.e. cat'ing the help file |
Create the test case in a working instance (i.e. using the system urxvt), and then just mark the whole window using the mouse (Shift-click-drag etc), then paste it into a file: it won't have the colors etc, but all the test. Basically an ASCII screenshot. |
Also try commenting your urxvt options, e.g. Mine
|
I've pushed some (probably unrelated) thing to https://github.com/blueyed/rxvt-unicode/tree/display-wide-glyphs, please try it though. Any progress with making me able to reproduce and debug it? :) |
i will check it! |
I found at least something.
If I start urxvt ( The output of
Especially there is only one font setting Lets see if you can reproduce the crash! |
I've used (only) your Xresources and have the Hack font installed, but the symbol gets not displayed for me?! (I see the square box). No crashes though. |
Ctrl+Shift says the ☰ comes from grml, I destroyed my testcase. I simplified the test.sh script (assuming knowing what the cause of the problem is) and the I'll try further... |
How can it come from Arial, if you are using just a single font? |
I think we're far across the point where enabling debugging symbols and using |
FWIW: ☰ (U2630) comes from Symbola for me. I am currently trying to fix another (minor) issue, and noticed that it bascally boils down to |
When looking into this a few weeks ago, I've started an alternative approach. |
Canonical location for now: blueyed/rxvt-unicode#1. |
The new patch is in the AUR: https://aur.archlinux.org/packages/rxvt-unicode-wcwidthcallback. It might be interesting to see the reason for the crash still, but I consider this patch obsolete after all, and close this issue therefore for now. |
9776, Hex 2630, Octal 23060
vim-airline
Crash
76/309☰ :137
Hack font related, triggered by airline with the linenumbersymbol?!
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7685a1e in XftDrawGlyphSpec () from /usr/lib/libXft.so.2
(gdb) bt
#0 0x00007ffff7685a1e in XftDrawGlyphSpec () from /usr/lib/libXft.so.2
#1 0x000000000042296e in rxvt_font_xft::draw(rxvt_drawable&, int, int, unsigned int const*, int, int, int) ()
#2 0x000000000041cfc2 in rxvt_term::scr_refresh() ()
#3 0x000000000041ea72 in rxvt_term::flush() ()
#4 0x0000000000439cee in ev_invoke_pending() ()
#5 0x000000000043a73d in ev_run ()
#6 0x0000000000419333 in main ()
(gdb)
The text was updated successfully, but these errors were encountered: