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 572147 - 'Segmentation fault' with predefined LD_PRELOAD environment variable
'Segmentation fault' with predefined LD_PRELOAD environment variable
Status: RESOLVED NOTGNOME
Product: GIMP
Classification: Other
Component: General
2.6.5
Other All
: Normal critical
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-02-17 13:43 UTC by Trương Xuân Tính
Modified: 2009-02-17 21:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Trương Xuân Tính 2009-02-17 13:43:03 UTC
Steps to reproduce:
I have a program which need a library to be put in the LD_PRELOAD, it's xvnkb. So I have the 'export LD_PRELOAD=/usr/lib/xvnkb.so' in my .bashrc. Gimp give me a segmentation fault at startup regardless the xvnkb is running or not.
And this happen to Gimp 2.6.x but not for 2.4.x

Stack trace:
This is the only output I've got in the terminal:
Segmentation fault

Other information:
I found a workaround for this problem. I unset the LD_PRELOAD then launch GIMP, everything is fine. Here is the command I use:
unset LD_PRELOAD;gimp
Comment 1 Sven Neumann 2009-02-17 21:15:36 UTC
So there's a problem with the library that you preload. Please report the problem to the developers of this library then.