-
Notifications
You must be signed in to change notification settings - Fork 19
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
Thread 1 "view" received signal SIGSEGV, Segmentation fault. #4
Comments
Hi Celem, Well line view.cpp:452 is glGenVertexArrays(1, &vertex_array); Which doesn't give us a huge help. Certainly nothing obviously wrong there. What I will do shortly, probably tomorrow now, is fire up my Ubuntu VM 16.04 and do some tests. I do tend to run it on the Mac most of the time, so let me give the Ubuntu version a trashing. Does it die if you pipe the output direct to view without going to a file first ? ./dsn2pcb test1.dsn | ./pcb --v 1 --z 8 --q 10 --r 2 | ./view Chris |
I just gave the Mac version a spin with: ./dsn2pcb test1.dsn | ./pcb --v 1 --z 8 --q 10 --r 2 | ./view And all's fine there. I'll set my Ubuntu VM up tomorrow and check that. Chris |
Yes, it dies if I pipe it. I used an intermediate file to help identify where it failed (view) and then limited execution further to just the failing portion. Ed FYI - the arch package glfw-x11-git 3.2.1.r561.g23dfeee4-1 provides: The arch glew 2.1.0-1 package provides" There is an older glew package - glew1.10 1.10.0-1 |
Built and got the SEGFAULT on Ubuntu under Virtualbox VM. I added the patches as detailed in #3 and things then worked. extra lib of 'glew' glewExperimental = GL_TRUE; As shown in #3 . I wasn't targeting Linux for this project, but I'm planning on moving over to SDL rather than glfw3 as I'm not happy with glfw3. That should hopefully get things fixed on Linux as my other ChrysaLisp project uses SDL and that works fine across Mac/Linux. Chris |
vygr - thanks. I finally got C-PCB working on Manjaro/Arch Linux once I placed the patch in the correct place. I couldn't get a good compile on Linux Mint 18.3. It works very well on Manjaro. |
Sorry not yet. It's still a Work in Progress, needs more love yet :) Chris |
vygr, My interest stems from the pcb-rnd EDA project. Pcb-rnd was forked from the gEDA/PCB project. gEDA/PCB is fairly dormant and pcb-rnd was spawned to add features. Lately pcb-rnd has moved at a much accelerated pace. While it retains the basic autorourer that it inherited from gEDA/PCB it can also work with Freerouting via DSN export/SES Import, which is also supported by KiCad. KiCad is a monolithic approach to EDA design while pcb-rnd is more along the Unix/Linux toolbox lines. |
Compiles without error BUT view gives a SIGSEGV Segmentation fault. The "PCB Viewer" window opens (blank) and then there is the SIGSEGV.
Below is a gdb backtrace of the problem. Any ideas?
The text was updated successfully, but these errors were encountered: