This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191326 - IDE confuses intel-Linux and intelSolaris binaries
Summary: IDE confuses intel-Linux and intelSolaris binaries
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P4 normal (vote)
Assignee: issues@cnd
: 191576 (view as bug list)
Depends on:
Reported: 2010-10-25 20:50 UTC by Thomas Preisler
Modified: 2014-07-30 10:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2010-10-25 20:50:14 UTC
From CR 6994038:

At some point some feature of the IDE that automatically searches for
binaries kicked in and chose a binary to populate BuildResult or something
Then when we ran or debugged that project the run failed. 
It turned out to be because the IDE search machinery could not
differentiate between an intel-Solaris and a intel-Linux binary.
In fact the ELF header looks identical for these two.
We needed to solve a similar problem in dbx (see CR 6988833)
and for now will look at the ".interp" section to
distinguish solaris from Linux binaries.
Comment 1 Thomas Preisler 2010-10-29 19:48:10 UTC
Decided to keep the CR open. Will close this one.
Comment 2 Vladimir Voskresensky 2010-11-02 20:41:15 UTC
*** Bug 191576 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Simon 2014-07-30 10:08:12 UTC
Filtration by platform of binary files results in performance problem especially for remote file system (because it requires reading more than 16 first bytes of binary file).
Possible solution is verifying selected file in
To do this IDE need a way to differ *NIX platform and *NIX binary.