-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Segfaults while using the search functionality #598
Description
Platform version: Linux (archlinux latest)
Sourcetrail version: 2018.2.77
Description of the problem: Sourcetrail crashes with a segfault when I'm using the search box to input search queries. This seems to happen only on one of the indexes that I use and only when the query starts with the letter 't'. I did notice that it's less likely for it to crash if I type my query slower, for example, if I type tv in the search box then the program will in 99% of the cases instantly crash however If I type t wait 2-3 seconds followed by v then sometimes it will survive.
Steps to reproduce the problem: Type queries in the search box.
Unfortunately I cannot share the index for debugging purposes but I hope the description along with the log bellow can give you some clues as to where the problem might lie.
15:21:36 | Application.cpp:423 logStorageStats() | INFO:
Graph:
1132112 Nodes
5234828 Edges
Code:
24776 Files
7422380 Lines of Code
Errors:
7229 Errors
0 Fatal Errors
15:21:36 | BookmarkController.cpp:468 getBookmarks() | INFO: Retrieving bookmarks with filter "1" and order "2"
15:21:36 | BookmarkController.cpp:429 getAllBookmarks() | INFO: Retrieving all bookmarks
15:21:36 | INFO: send MessageRefresh ui
15:21:36 | INFO: send MessageSearch @overview
15:21:36 | INFO: send MessageActivateAll
15:21:44 | GraphController.cpp:1372 bundleNodesByType() | ERROR: Nodes left after bundling for overview
15:21:48 | INFO: send MessageWindowFocus
15:21:48 | INFO: send MessagePingReceived
15:21:49 | INFO: send MessageWindowFocus
15:21:49 | INFO: send MessageWindowFocus
15:21:49 | INFO: send MessagePingReceived
15:21:52 | INFO: send MessageSearchAutocomplete t[1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288]
15:21:52 | SearchController.cpp:89 handleMessage() | INFO: autocomplete string: "t"
Segmentation fault (core dumped)