Bug 2068449

Summary: [abrt] kicad: wxDataViewCtrlInternal::BuildBranch(wxGtkTreeModelNode*)(): kicad killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Matthew Wilson <mj.wilson.uk>
Component: kicadAssignee: Geoffrey Marr <gmarr>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: aimylios, alain.vigne.14, gmarr, kiarakovalevsky, stevenfalco, thibault
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8dd88e2e2b4b103f46365c10e9d36476dae5cf3c
Whiteboard: abrt_hash:65b8ed1f728a600dcff5658fc588e0dbf0f3c807;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-31 13:32:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Matthew Wilson 2022-03-25 11:09:32 UTC
Description of problem:
Used a per-project symbol library.
Opened the "Add Symbol" dialog.
Searched for "16V" (I think -- I did not make a record of what I searched for).

Cannot reproduce the issue.

Version-Release number of selected component:
kicad-1:6.0.2-1.fc35

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        kicad
crash_function: wxDataViewCtrlInternal::BuildBranch(wxGtkTreeModelNode*)
executable:     /usr/bin/kicad
journald_cursor: s=fe2ba9d58bb1455ab573917bc9593f15;i=171c1c;b=82fcbd884b194d70865e6d53980de6ab;m=11bfe2a28;t=5db07a7b133e4;x=206e8ad68a6ef82d
kernel:         5.16.16-200.fc35.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 0 (10 frames)
 #0 wxDataViewCtrlInternal::BuildBranch(wxGtkTreeModelNode*) at ../src/gtk/dataview.cpp:3490
 #1 wxDataViewCtrlInternal::iter_nth_child(_GtkTreeIter*, _GtkTreeIter*, int) at ../src/gtk/dataview.cpp:4094
 #2 wxgtk_tree_model_iter_nth_child(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gint) at ../src/gtk/dataview.cpp:915
 #3 gtk_tree_row_reference_unref_path_helper at ../gtk/gtktreemodel.c:2273
 #5 gtk_tree_row_reference_unref_path at ../gtk/gtktreemodel.c:2289
 #7 gtk_tree_row_reference_free at ../gtk/gtktreemodel.c:2522
 #9 gtk_tree_view_set_model at ../gtk/gtktreeview.c:11525
 #10 wxGtkDataViewModelNotifier::BeforeReset() at ../src/gtk/dataview.cpp:1772
 #11 wxDataViewModel::BeforeReset() at ../src/common/datavcmn.cpp:264
 #12 LIB_TREE_MODEL_ADAPTER::UpdateSearchString(wxString const&, bool) at /usr/src/debug/kicad-6.0.2-1.fc35.x86_64/common/lib_tree_model_adapter.cpp:213

Comment 1 Matthew Wilson 2022-03-25 11:09:36 UTC
Created attachment 1868320 [details]
File: backtrace

Comment 2 Matthew Wilson 2022-03-25 11:09:37 UTC
Created attachment 1868321 [details]
File: core_backtrace

Comment 3 Matthew Wilson 2022-03-25 11:09:38 UTC
Created attachment 1868322 [details]
File: cpuinfo

Comment 4 Matthew Wilson 2022-03-25 11:09:40 UTC
Created attachment 1868323 [details]
File: dso_list

Comment 5 Matthew Wilson 2022-03-25 11:09:41 UTC
Created attachment 1868324 [details]
File: environ

Comment 6 Matthew Wilson 2022-03-25 11:09:42 UTC
Created attachment 1868325 [details]
File: exploitable

Comment 7 Matthew Wilson 2022-03-25 11:09:43 UTC
Created attachment 1868326 [details]
File: limits

Comment 8 Matthew Wilson 2022-03-25 11:09:45 UTC
Created attachment 1868327 [details]
File: maps

Comment 9 Matthew Wilson 2022-03-25 11:09:46 UTC
Created attachment 1868328 [details]
File: mountinfo

Comment 10 Matthew Wilson 2022-03-25 11:09:47 UTC
Created attachment 1868329 [details]
File: open_fds

Comment 11 Matthew Wilson 2022-03-25 11:09:48 UTC
Created attachment 1868330 [details]
File: proc_pid_status

Comment 12 Steven A. Falco 2022-03-25 13:30:12 UTC
I'll report the bug on the KiCad development mailing list, but if it is not reproducible, it may not be possible to track down the root cause.

Comment 13 Steven A. Falco 2022-03-25 17:00:52 UTC
I got the following reply from one of the lead developers on the KiCad mailing list:

<quote>

I think that this is related to https://gitlab.com/kicad/code/kicad/-/issues/7422 (and the other bugs near it).  This is a particularly problematic section of wx/gtk interaction.  I believe that the way this widget works has been improved in wx3.1, so once the new wxWidgets is available for Fedora, the issue should be resolved.

If there are steps to reproduce, we can maybe work around it as we have with the similar issues.

<end quote>

Comment 14 Matthew Wilson 2022-03-31 09:03:19 UTC
Thank you for the quick response.  Yes, it looks like it's the same area of code.

Please feel free to close with "cannot reproduce".

Comment 15 Steven A. Falco 2022-03-31 13:32:02 UTC
Ok - I'll close it.  Thanks for the report.