After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666934 - Segfault in _shell_app_do_match()
Segfault in _shell_app_do_match()
Status: RESOLVED DUPLICATE of bug 663815
Product: gnome-shell
Classification: Core
Component: general
3.2.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-28 05:13 UTC by Vitaly Bordug
Modified: 2012-01-11 09:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
/tmp/log (1.88 KB, text/plain)
2011-12-28 05:19 UTC, Vitaly Bordug
Details
log with more debuginfos and all-hread bt (7.17 KB, text/plain)
2012-01-10 11:10 UTC, Vitaly Bordug
Details

Description Vitaly Bordug 2011-12-28 05:13:56 UTC
It's enough to trigger this with normal type-search from the activities. Newly-created user has this as well (no ext's installed).

gdb log to follow.
Comment 1 Vitaly Bordug 2011-12-28 05:19:45 UTC
Created attachment 204277 [details]
/tmp/log

/tmp/log
Comment 2 Akhil Laddha 2011-12-28 06:44:12 UTC
Can you please install debuginfo packages of gnome-shell, libgjs, libmozjs, glib and mutter and provide us updated trace and it will be good to do 'thread apply all bt' in gdb instead of 'bt', that will give complete stacktrace, tia.
Comment 3 Akhil Laddha 2011-12-28 11:13:13 UTC
Please refer wiki [1] page for how to debug gnome-shell.

[1] https://live.gnome.org/GnomeShell/Debugging
Comment 4 Florian Müllner 2011-12-28 13:01:45 UTC
I suspect a dupe of bug 663815 - .desktop files must not miss Name or Exec fields, but at least the latter has been spotted in the wild.
Comment 5 Vitaly Bordug 2012-01-10 10:50:24 UTC
Florian: it fails for any search I did, for instance "term" should do the gnome-terminal as it did in F15.

I have had another fresh install of the F16 (other PC) and serach works fine there. So it must be something messed up with upgrade (Since F11 iirc there were no reinstalls on my box).

I installed debuginfo stuff but didn't yet get another bt - will do over today.
Comment 6 Vitaly Bordug 2012-01-10 11:10:43 UTC
Created attachment 204932 [details]
log with more debuginfos and all-hread bt

what was requested.

there are some ??'s in stack frame unroll so I guess not all debuginfo things are there. But this might be useful meanwhile.
Comment 7 Vitaly Bordug 2012-01-10 11:12:23 UTC
moving back to UNCONFIRMED. I'll try to do better backtrace, let me know if something is needed.
Comment 8 Florian Müllner 2012-01-10 23:55:49 UTC
(In reply to comment #5)
> Florian: it fails for any search I did, for instance "term" should do the
> gnome-terminal as it did in F15.

This doesn't really matter wrt a potential duplicate - if you search for "term", the term is compared to the Exec line of every .desktop file on your system to find matches. If a .desktop file does not have an Exec line (which is invalid according to the spec), the shell crashes.

Can you try if something like

grep -L Exec /usr/share/applications/*.desktop .local/share/applications/*.desktop

produces any output?
Comment 9 Vitaly Bordug 2012-01-11 09:37:52 UTC
Florian: Great thanks, and great catch. I happen to have .desktop from nautilus-pastebin despite of no such RPM package. Not sure why it worked before but this is definitely a dupe.

Thanks!

*** This bug has been marked as a duplicate of bug 663815 ***