Skip to content
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

Crash on trying to change the color #51

Closed
eugenezastrogin opened this issue Oct 22, 2017 · 2 comments
Closed

Crash on trying to change the color #51

eugenezastrogin opened this issue Oct 22, 2017 · 2 comments

Comments

@eugenezastrogin
Copy link

eugenezastrogin commented Oct 22, 2017

Steps to reproduce:

  1. Launch calcurse
  2. Enter
  3. o
  4. o
  5. C (config)
  6. c (color)
  7. space

journalctl output:

Oct 22 11:05:32 archframe kernel: calcurse[2274]: segfault at 0 ip 00007f7d9ef37614 sp 00007fff9addd250 error 6 in libncursesw.so.6.0[7f7d9ef1c000+67000]
Oct 22 11:05:32 archframe systemd[1]: Started Process Core Dump (PID 2924/UID 0).
Oct 22 11:05:32 archframe systemd-coredump[2925]: Process 2274 (calcurse) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 2274:
                                                  #0  0x00007f7d9ef37614 pair_content_sp (libncursesw.so.6)
                                                  #1  0x0000000000408df2 n/a (calcurse)
                                                  #2  0x000000000040a0a1 n/a (calcurse)
                                                  #3  0x000000000040aea6 n/a (calcurse)
                                                  #4  0x000000000040381f n/a (calcurse)
                                                  #5  0x00007f7d9e61bf6a __libc_start_main (libc.so.6)
                                                  #6  0x000000000040409a n/a (calcurse)
                                                  
                                                  Stack trace of thread 2593:
                                                  #0  0x00007f7d9e6bf1e0 __nanosleep (libc.so.6)
                                                  #1  0x00007f7d9e6bf0ea sleep (libc.so.6)
                                                  #2  0x00000000004274d9 n/a (calcurse)
                                                  #3  0x0000000000418f4c n/a (calcurse)
                                                  #4  0x00007f7d9e9b908a start_thread (libpthread.so.0)
                                                  #5  0x00007f7d9e6f124f __clone (libc.so.6)
                                                  
                                                  Stack trace of thread 2595:
                                                  #0  0x00007f7d9e6bf1e0 __nanosleep (libc.so.6)
                                                  #1  0x00007f7d9e6bf0ea sleep (libc.so.6)
                                                  #2  0x0000000000420fc9 n/a (calcurse)
                                                  #3  0x00007f7d9e9b908a start_thread (libpthread.so.0)
                                                  #4  0x00007f7d9e6f124f __clone (libc.so.6)

System: Linux archframe 4.13.8-1-ARCH #1 SMP PREEMPT Wed Oct 18 11:49:44 CEST 2017 x86_64 GNU/Linux, calcurse 4.2.2-1

Can provide coredumps if necessary

@lfos
Copy link
Owner

lfos commented Oct 22, 2017

Can you reproduce this with current master? This should have been fixed by commit 5722d2e (Fix segmentation fault when changing colors, 2017-07-28), also see issue #31.

@eugenezastrogin
Copy link
Author

Thank you! Current master indeed does not crash!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants