Bug 119370 - Error when searching c/c++ object file
Summary: Error when searching c/c++ object file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Developer Suite
Classification: Retired
Component: CDT
Version: 1.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tom Tromey
QA Contact: eclipse-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-29 22:06 UTC by Keith Seitz
Modified: 2014-08-11 05:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-03 22:40:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Keith Seitz 2004-03-29 22:06:25 UTC
Description of problem:
When using the search feature, clicking on a non-text file causes
errors to be spewed to the console.

Version-Release number of selected component (if applicable):
20040329 nightly

How reproducible:
Every time

Steps to Reproduce:
1. Create/import a project with a string in it. (Need executable!)
2. Open Search dialog and enter the string from above
3. Double-click on the search result that is an object file.
(For example, import the "pi" project and look for the string "pi".
Double-click on "pi.o" or "pi2.o".)
  
Actual results:
Opens editor and spews a bunch of errors to console:
** (<unknown>:1926): WARNING **: Invalid UTF8 string passed to
pango_layout_set_text()


Expected results:
Open editor and no errors

Additional info:
Probably need some sort of binary file "editor" a la hexl-mode.

Comment 1 Keith Seitz 2004-08-03 22:40:28 UTC
This, too, seems to be "fixed". The 3.0 search facilities does not
search binary files any more. Instead it gives errors about not being
able to read a binary file ("could not read file during search"). No
more errors on the terminal. I think this is satisfactory behavior.


Note You need to log in before you can comment on or make changes to this bug.