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 47920 - Nautilus crashes when I press enter in the Find: text field
Nautilus crashes when I press enter in the Find: text field
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Search Interface
unspecified
Other Linux
: Normal enhancement
: future
Assigned To: Rebecca Schulman
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-03-29 12:20 UTC by Petter Sundlöf
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Petter Sundlöf 2001-09-10 01:19:49 UTC
When I enter a text to search for in the Find search field, and press enter, I
get a crash. The following error message is displayed:

** ERROR **: file search-method.c: line 500
(get_file_info_for_virtual_directory): assertion failed: (file_info->mime_type
== NULL)
aborting...
Aborted

The same also happens when I click the "Find Them!" button.

Nautilus shuts down without a crash dialogue.

Using GNOME-VFS 1.0, GNOME 1.4 RC1.

(And yes, my GNOME stuff et al is in the /usr/local prefix)

Here is the same error debugged with gdb:

(gdb) run
Starting program: /usr/local/bin/nautilus 
[New Thread 1024 (LWP 3285)]
[New Thread 2049 (LWP 3320)]
Delayed SIGSTOP caught for LWP 3320.
[New Thread 1026 (LWP 3327)]
Delayed SIGSTOP caught for LWP 3327.
[New Thread 2051 (LWP 3340)]
Delayed SIGSTOP caught for LWP 3340.
[New Thread 3076 (LWP 3535)]
Delayed SIGSTOP caught for LWP 3535.
[New Thread 4101 (LWP 3537)]
Delayed SIGSTOP caught for LWP 3537.
[New Thread 5126 (LWP 3538)]
Delayed SIGSTOP caught for LWP 3538.
[New Thread 6151 (LWP 3539)]
Delayed SIGSTOP caught for LWP 3539.
[New Thread 7176 (LWP 3540)]
Delayed SIGSTOP caught for LWP 3540.
[New Thread 8201 (LWP 3541)]
Delayed SIGSTOP caught for LWP 3541.
[New Thread 9226 (LWP 3543)]
Delayed SIGSTOP caught for LWP 3543.

** ERROR **: file search-method.c: line 500
(get_file_info_for_virtual_directory): assertion failed: (file_info->mime_type
== NULL)
aborting...
Received Real-time signal 0 in LWP 3327 while waiting for SIGSTOP.

Program received signal SIGABRT, Aborted.

Thread 5126 (LWP 3538)

  • #0 __kill
    from /lib/libc.so.6
  • #1 pthread_kill
    at signals.c line 65
  • #2 raise
    at signals.c line 232
  • #3 abort
    at ../sysdeps/generic/abort.c line 88
  • #4 g_logv
  • #5 g_log
  • #6 get_file_info_for_virtual_directory
    from /usr/local/lib/vfs/modules/libvfs-search.so



------- Additional Comments From darin@bentspoon.com 2001-03-29 13:16:41 ----

Sounds like an installation problem of some kind. MIME types of NULL coming back
means broken gnome-vfs?



------- Additional Comments From odd@findus.dhs.org 2001-03-29 13:41:19 ----

Hm, had no other GNOME-VFS-related problems before.

Recompiling and reinstalling GNOME-VFS.



------- Additional Comments From odd@findus.dhs.org 2001-03-29 23:52:45 ----

This is a swedish system, by the way.

Have recompiled GNOME-VFS, seemingly with no problems -- still the same problem.
Recompiling Nautilus CVS right now.

Is there maybe a small test application I could test the libvfs-search library?



------- Additional Comments From odd@findus.dhs.org 2001-03-30 00:16:31 ----

Recompiling GNOME-VFS and Nautilus didn't help.

Hm, all the search related functions I have in libvfs-search.so are these:

nm /usr/local/lib/vfs/modules/libvfs-search.so |grep  
         U medusa_search_service_connection_destroy
         U medusa_search_service_connection_is_available_for_uri
         U medusa_search_service_connection_new
         U medusa_search_service_connection_read_search_result
         U medusa_search_service_connection_start_search

Just a shot in the dark at something I really don't know what it does :P

By the way, I do not have medusa running.



------- Additional Comments From odd@findus.dhs.org 2001-03-31 14:51:52 ----

Please, could someone tell me what might be going wrong here?



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:19 -------
Comment 1 John Fleck 2002-01-05 04:20:28 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 Christian Fredrik Kalager Schaller 2002-05-12 11:56:19 UTC
File and text search is no longer part of Nautilus. If and when the
functionality gets back in the codebase and implementation will
probably be much much enhanced and/or rewriten compared to the old
one. Closing this bug.
Comment 3 Christian Fredrik Kalager Schaller 2002-05-21 10:19:47 UTC
Sorry for the SPAM. Re-opening the old Search bugs and assigning them to
Rebeckas old Eazel account.
Comment 4 mwehner 2003-10-12 06:48:18 UTC
This bug is ancient and search is no longer part of Nautilus.
Re-closing.