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 168569 - gnome-search-tool crashes
gnome-search-tool crashes
Status: VERIFIED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gsearchtool
trunk
Other All
: High critical
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-26 07:15 UTC by shakti
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Fixes the problem (1.35 KB, patch)
2005-02-26 07:43 UTC, shakti
none Details | Review
Applied patch. (1.33 KB, patch)
2005-02-28 02:14 UTC, Dennis Cranston
committed Details | Review

Description shakti 2005-02-26 07:15:00 UTC
Steps to reproduce:
1. Run 'gnome-search-tool'
2. Enter any file name in the entry field "Name Contains"
3. Click on 'Find'
4. The application crashes


Stack trace:
Backtrace was generated from '/opt/gnome210/bin/gnome-search-tool'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1089220224 (LWP 28948)]
[New Thread 1094101936 (LWP 28950)]
[Thread debugging using libthread_db enabled]
[New Thread 1089220224 (LWP 28948)]
[New Thread 1094101936 (LWP 28950)]
[Thread debugging using libthread_db enabled]
[New Thread 1089220224 (LWP 28948)]
[New Thread 1094101936 (LWP 28950)]
[New Thread 1093700528 (LWP 28949)]
0xffffe410 in ?? ()

Thread 3 (Thread 1093700528 (LWP 28949))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 poll
    from /lib/tls/libc.so.6
  • #5 g_main_context_iterate
    at gmain.c line 2880


Other information:
Comment 1 shakti 2005-02-26 07:25:24 UTC
Oh, it happened because 'locate' command is not present.
Comment 2 shakti 2005-02-26 07:26:25 UTC
Attaching a patch soon.
Comment 3 shakti 2005-02-26 07:43:27 UTC
Created attachment 37959 [details] [review]
Fixes the problem

It checks if the 'locate' command is present or not.
Comment 4 Dennis Cranston 2005-02-28 02:14:57 UTC
Created attachment 38034 [details] [review]
Applied patch.

Thanks for reporting the bug.  The first patch was not correct, but this patch
will prevent the crash.  I have applied it to cvs.