segfault when creating a new library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Jeff Young |
Bug Description
Hello,
When creating a new library in a folder where I don't have write permissions, the program quits with a segfault, without any indication about what went wrong.
The process gets into FILE_OUTPUTFORM
Here comes the bug: this error never gets displayed anywhere, I only get "segfault" in the terminal, whithout any further information. (Needless to say, such a situation is time-consuming when you don't even know where to start the debug.)
I compiled the latest sources from the github mirror, under fedora 29.
[stienlet@localhost kicad-source-
1437e56b7
I tried to do this in FILE_OUTPUTFORM
if( !m_fp ) {
}
My string to stderr gets printed correctly, thet it segfaults, so the bug comes from the exception management system. (and obviously from the permissions in my directory in the first place, but that's solved now)
Changed in kicad: | |
assignee: | nobody → Jeff Young (jeyjey) |
milestone: | none → 5.1.2 |
status: | New → In Progress |
Changed in kicad: | |
status: | In Progress → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
please add version information