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 163227 - Warning in gnome terminal: 'LD_PRELOAD cannot be preloaded: ignored'
Summary: Warning in gnome terminal: 'LD_PRELOAD cannot be preloaded: ignored'
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 11:41 UTC by soldatov
Modified: 2009-04-22 08:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2009-04-21 11:41:54 UTC
Build from http://smetiste.czech.sun.com/builds/netbeans/6.7/beta/2009-04-19_22-54-40

Scenario:
- Create Welcome
- Run it
==> Gnome-terminal contains such text:
ERROR: ld.so: object '/usr/local/netbeans-6.7beta/dlight1/bin/prof_agent-Linux-x86_64.so' from LD_PRELOAD cannot be
preloaded: ignored.
Creating experiment database /tmp/dlight_vs157455/experiment_1.er ...
Welcome ...

Arguments:
1: arg 1
2: arg 2
3: arg 3
4: arg 4
ERROR: ld.so: object '/usr/local/netbeans-6.7beta/dlight1/bin/prof_agent-Linux-x86_64.so' from LD_PRELOAD cannot be
preloaded: ignored.
Press [Enter] to close the terminal ...
Comment 1 Leonid Lenyashin 2009-04-21 11:57:35 UTC
Valera, please nominate the IZ as Beta showstopper.
Comment 2 Maria Tishkova 2009-04-21 12:17:01 UTC
Here are 2 issues actually:

1. prof_agent is not loaded
2. issue in gizmo configuration - as SunStudio collect started when Simple (Indicators only) was selected
Comment 3 Leonid Lenyashin 2009-04-21 12:23:41 UTC
Just a note: "LD_PRELOAD cannot be preloaded: ignored" ois a typical message when file is not found or has wrong
permission or just corrupted and has wrong ELF-header.
Comment 4 Alexey Vladykin 2009-04-21 12:53:58 UTC
I suspect that LD_PRELOAD warning is issued when trying to preload prof_agent-Linux-x86_64.so into `collect`, which is a
32-bit application. Making sure that prof_agent and collect are not used together should fix this problem.
Comment 5 Alexey Vladykin 2009-04-21 15:22:25 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/6d3a3f798722
Valera, could you please test the fix and approve integration in release67_beta?
Comment 6 soldatov 2009-04-21 15:28:15 UTC
Can you send jar?
Comment 7 soldatov 2009-04-21 15:53:00 UTC
Works correctly.
Verified in build from http://spbweb.russia.sun.com/~av202691/nb163227.zip
Comment 8 Alexey Vladykin 2009-04-21 16:03:18 UTC
Integrated in release67_beta: http://hg.netbeans.org/release67_beta/rev/b277f654b05a
Comment 10 Quality Engineering 2009-04-22 08:43:17 UTC
Integrated into 'main-golden', will be available in build *200904220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6d3a3f798722
User: Alexey Vladykin <alexey_vladykin@netbeans.org>
Log: Fixed #163227 Warning in gnome terminal: 'LD_PRELOAD cannot be preloaded: ignored'