-
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
segfault #1
Comments
The git mirror of libtickit is not up-to-date. Not sure if that'll fix it, but it's a good place to start. If you can't grab the bzr repo directly, I've attached a tarball of rev 810 that you can use.
Please let me know, thanks! -Ross |
Thank you. After building and installing So to be sure, I have installed |
Maybe this helps: I have commented in all occurrences of |
Thanks, here are some questions that might help me:
|
$ ldd /usr/local/bin/a4
linux-vdso.so.1 (0x00007ffc37187000)
libtickit.so.3 => /usr/local/lib/libtickit.so.3 (0x00007feb2a123000)
libvterm.so.0 => /usr/local/lib/libvterm.so.0 (0x00007feb2a10b000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007feb29f24000)
libunibilium.so.4 => /usr/lib/libunibilium.so.4 (0x00007feb29f0f000)
libtermkey.so.1 => /usr/lib/libtermkey.so.1 (0x00007feb29f03000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007feb2a195000) I use Arch Linux. I couldn't reproduce this with xterm or in a console. Only with st, both my custom build and a clean build of the latest commit (e5e9598). |
And to be more specific about the segfault I get:
|
|
Please apply and test this one line patch. If that resolves the segfault, as I suspect it will, then I'll make a couple more similar updates to make the whole thing more robust. Thanks!
|
Thank you. No crashes so far! |
Titlebar text is typically controlled in bash by setting PROMPT_COMMAND in your .bashrc file, and then you can make color rules in a4.ini to match the text and change the color scheme of individual terminal windows. Here's the standard example, and you can change the titlebar text in other ways as well for additional control.
|
Pushed 8036fd9 to resolve this. Thanks for your help! |
Actually, that patch is not good as it inhibits the initial colorscheme from being applied. This updated one line patch will both set and apply the initial default colors. Please let me know if you're able to validate, thanks!
|
I have tested it and it works as expected! Thank you. |
Reclosing with improved fix bce5e14. |
Hi Ross,
I just tried a4 (after seeing its announcement on the suckless mailing list).
After playing around with it for a minute or two, I get a segmentation fault. I can't reproduce it reliably with a certain sequence of the key strokes, but it happened several times after using these commands (in random order):
(I think
Ctrl-g .
andCtrl-g Enter
were the last before the crash.)Maybe these coredumps help:
Update (with a debug build):
Versions
The text was updated successfully, but these errors were encountered: