gnome-search-tool: "fast search" is crashing after results are found

Bug #175565 reported by zerwas
10
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-utils

Selecting "Filesystem" in gnome-search-tool and finding a file that lies in a directory anywhere under /home (it does not play a role if it lies in /home/foo or /home/bar) results in a crash of locate. A window pops up asking me if i want to disable the "fast search". At the moment i am not able to reproduce a better backtrace than attached at the bottom. Thanks in advance for processing this bug.

Using up-to-date Ubuntu 7.10 with GNOME gnome-search-tool 2.20.0.1.

(gdb) run
Starting program: /usr/bin/gnome-search-tool
[Thread debugging using libthread_db enabled]
[New Thread -1226938704 (LWP 8374)]
[New Thread -1243755632 (LWP 8377)]
[New Thread -1252148336 (LWP 8378)]
[Thread -1243755632 (LWP 8377) exited]
[Thread -1252148336 (LWP 8378) exited]
[New Thread -1243755632 (LWP 8379)]
[New Thread -1252148336 (LWP 8380)]
[Thread -1252148336 (LWP 8380) exited]
[Thread -1243755632 (LWP 8379) exited]
[New Thread -1243755632 (LWP 8381)]
[New Thread -1252148336 (LWP 8382)]
[Thread -1243755632 (LWP 8381) exited]
*** glibc detected *** /usr/bin/locate: double free or corruption (fasttop): 0x08052850 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e1ed65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e22800]
/usr/bin/locate[0x804b149]
/usr/bin/locate[0x804af63]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7dcb050]
/usr/bin/locate[0x8049301]
======= Memory map: ========
08048000-08050000 r-xp 00000000 08:23 1877782 /usr/bin/slocate
08050000-08051000 rw-p 00007000 08:23 1877782 /usr/bin/slocate
08051000-08072000 rw-p 08051000 00:00 0 [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d7e000-b7d87000 r-xp 00000000 08:23 277461 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d87000-b7d89000 rw-p 00008000 08:23 277461 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d89000-b7d91000 r-xp 00000000 08:23 277463 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d91000-b7d93000 rw-p 00007000 08:23 277463 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d93000-b7da7000 r-xp 00000000 08:23 277458 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7da7000-b7da9000 rw-p 00013000 08:23 277458 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7da9000-b7dab000 rw-p b7da9000 00:00 0
b7dab000-b7db2000 r-xp 00000000 08:23 277459 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7db2000-b7db4000 rw-p 00006000 08:23 277459 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7db4000-b7db5000 rw-p b7db4000 00:00 0
b7db5000-b7ef9000 r-xp 00000000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7ef9000-b7efa000 r--p 00143000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7efa000-b7efc000 rw-p 00144000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7efc000-b7eff000 rw-p b7efc000 00:00 0
b7f09000-b7f13000 r-xp 00000000 08:23 228547 /lib/libgcc_s.so.1
b7f13000-b7f14000 rw-p 0000a000 08:23 228547 /lib/libgcc_s.so.1
b7f14000-b7f17000 rw-p b7f14000 00:00 0
b7f17000-b7f31000 r-xp 00000000 08:23 228548 /lib/ld-2.6.1.so
b7f31000-b7f33000 rw-p 00019000 08:23 228548 /lib/ld-2.6.1.so
bfe4e000-bfe64000 rw-p bfe4e000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
[Thread -1252148336 (LWP 8382) exited]
[New Thread -1252148336 (LWP 8383)]
[New Thread -1243755632 (LWP 8384)]
[New Thread -1264067696 (LWP 8385)]
[Thread -1252148336 (LWP 8383) exited]
[New Thread -1252148336 (LWP 8386)]
[New Thread -1273246832 (LWP 8387)]
[Thread -1273246832 (LWP 8387) exited]
[Thread -1264067696 (LWP 8385) exited]
[Thread -1252148336 (LWP 8386) exited]
[Thread -1243755632 (LWP 8384) exited]
[New Thread -1252148336 (LWP 8388)]
[New Thread -1243755632 (LWP 8389)]
[Thread -1243755632 (LWP 8389) exited]
[Thread -1252148336 (LWP 8388) exited]

Program exited normally.
(gdb) quit
gnu@study:~$ gnome-search-tool
gnu@study:~$ gnome-search-tool
*** glibc detected *** /usr/bin/locate: double free or corruption (fasttop): 0x08052850 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e09d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e0d800]
/usr/bin/locate[0x804b149]
/usr/bin/locate[0x804af63]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7db6050]
/usr/bin/locate[0x8049301]
======= Memory map: ========
08048000-08050000 r-xp 00000000 08:23 1877782 /usr/bin/slocate
08050000-08051000 rw-p 00007000 08:23 1877782 /usr/bin/slocate
08051000-08072000 rw-p 08051000 00:00 0 [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7d69000-b7d72000 r-xp 00000000 08:23 277461 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d72000-b7d74000 rw-p 00008000 08:23 277461 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7d74000-b7d7c000 r-xp 00000000 08:23 277463 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d7c000-b7d7e000 rw-p 00007000 08:23 277463 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7d7e000-b7d92000 r-xp 00000000 08:23 277458 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7d92000-b7d94000 rw-p 00013000 08:23 277458 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7d94000-b7d96000 rw-p b7d94000 00:00 0
b7d96000-b7d9d000 r-xp 00000000 08:23 277459 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7d9d000-b7d9f000 rw-p 00006000 08:23 277459 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7d9f000-b7da0000 rw-p b7d9f000 00:00 0
b7da0000-b7ee4000 r-xp 00000000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7ee4000-b7ee5000 r--p 00143000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7ee5000-b7ee7000 rw-p 00144000 08:23 277452 /lib/tls/i686/cmov/libc-2.6.1.so
b7ee7000-b7eea000 rw-p b7ee7000 00:00 0
b7ef4000-b7efe000 r-xp 00000000 08:23 228547 /lib/libgcc_s.so.1
b7efe000-b7eff000 rw-p 0000a000 08:23 228547 /lib/libgcc_s.so.1
b7eff000-b7f02000 rw-p b7eff000 00:00 0
b7f02000-b7f1c000 r-xp 00000000 08:23 228548 /lib/ld-2.6.1.so
b7f1c000-b7f1e000 rw-p 00019000 08:23 228548 /lib/ld-2.6.1.so
bff44000-bff59000 rw-p bff44000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-utils:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!.

Changed in gnome-utils:
status: Incomplete → Invalid
Revision history for this message
sandro76 (alessandro-collina) wrote :

I have this problem too.
This is the message that i see in the terminal

sandro@sandro-laptop:~$ gnome-search-tool

** (gnome-search-tool:10270): WARNING **: Cannot extract frame from the grid

**
** ERROR:(gsearchtool-spinner.c:682):bump_spinner_frame_cb: assertion failed: (frame != NULL)
Aborted

Revision history for this message
Gilles Coulais (poupoul2) wrote :

Hello. I also found this bug on my Hardy, using gnome-utils 2.20.0.1-1ubuntu5. I tried to generate a backtrace, but am unable to do it using the command lines of the debug pages :

me@me-xfce:~$ gdb <gnome-search-tool> 2>&1 | tee gdb-<gnome-search-tool>.txt
bash: Erreur de syntaxe près du symbole inattendu « 2 »

Same error when using Strace.
The only thing I can provide is the xsession-errors

Changed in gnome-utils:
status: Invalid → New
Revision history for this message
Gilles Coulais (poupoul2) wrote :
Revision history for this message
Gilles Coulais (poupoul2) wrote :

Me I'm stupid. Here is the gdb backtrace file

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in hardy or intrepid?

Changed in gnome-utils:
status: New → Incomplete
Revision history for this message
Gilles Coulais (poupoul2) wrote :

In fact, it is crashing on Hardy (which is the version I use). I don't have (yet) an Intrepid installed.

Revision history for this message
aGF2c2hleA (lucky-winner) wrote :

Just noticed today on Hardy 8.04.1 - gnome-utils 2.20.0.1-1ubuntu5...

** (gnome-search-tool:9728): WARNING **: Cannot extract frame from the grid

**
** ERROR:(gsearchtool-spinner.c:682):bump_spinner_frame_cb: assertion failed: (frame != NULL)
Aborted

Same crash and error while searching with both filesystem and home options

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new comments are a gnome-utils issue and different than the locate crash described there, could you open a new bug?

Changed in gnome-utils:
status: Incomplete → Invalid
Revision history for this message
Gilles Coulais (poupoul2) wrote :

gnome-search-tool is installed through gnome-utils, as indicated in the first post : Binary package hint: gnome-utils

Changed in gnome-utils:
status: Invalid → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

why do you reopen the bug? the bug description is different of the new comments open a new bug

Changed in gnome-utils:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.