-
-
Notifications
You must be signed in to change notification settings - Fork 153
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 on openSUSE 13.1 #106
Comments
On Thu, Mar 20, 2014 at 02:20:02PM -0700, sudden6 wrote:
Regarding the build: you should probably try the master branch with the |
The segmentation fault occurs in an ncurses-internal subroutine. Could the OP please post the checksums of /lib64/libncurses.so and /usr/lib64/libncurses.so, from which we can find out if the two libncurses.so are the same or different? |
@sudden6 I have a theory that your -lncurses is defaulting to some odd curses installed, we might want to try from a clean slate. |
@jin-eld I tried it with autotools first, also no luck same error |
@sudden6: please clarify, I understand you have the segfault no matter what you use to build, but do you also have the problem of ncurses not being found? If configure did not detect ncurses, please post me your config.log from the autotools configure run so I can see why it could not detect the ncurses library, thanks. |
here the conf.log with autotools: https://gist.github.com/sudden6/9675944 |
Well, wait, that log shows me that ncurses was actually found: Configure does not abort but run through... so, do you get an error when you run "make"? |
@jin-eld ok, then it only isn't found with the bsdmake branch |
Maybe the sources of libncurses used in opensuse can help? |
From what I can see it compiles ncurses5 and ncurses6, at the same time a pkg-config configuration file is not provided. In this scenario we try to use ncurses5. You could try to override the default behavior and try to link vs. ncurses6 and see what happens. If I got it right, then it should attempt to link vs. ncurses6... of course we don't know if it will help with the segfault, but it's worth a try. |
@sudden6 |
Sorry for the late reply. Then I tried the bsdbuild branch, because I could easily modify the makefile directly and got the following errors: personally I think it might be a threading problem as someone mentioned, because of the calls to libpthread on the end of the stacktrace. |
@JFreegman It worked! |
This is fixed now. I don't know why but maybe it was my fault, because on my laptop it doesn't work but on a vm on my pc and on the pc it does... |
The problem is not solved. I have same issue with my opensuse 13.1 and recent toxic. |
Problem seems fixed now (02b192d). It was a rare race condition where the windows thread was trying to print to the prompt window before it was initialized. |
Due to some problem with ncurses toxic doesn't run on openSUSE
backtrace: https://gist.github.com/sudden6/9652660
First problem I see is ncurses not being found: https://gist.github.com/sudden6/9674035
it is definitly installed on my system, including the devel packages.
The second problem is the segfault, which I have no idea how this is happening.
The text was updated successfully, but these errors were encountered: