Bug 202482 - global variable named 'pipe' messes gstreamer plugin gstgnomevfs
global variable named 'pipe' messes gstreamer plugin gstgnomevfs
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2006-08-14 15:04 EDT by Victor Bogado
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-12-11 16:10:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
program that gives me a problem... (696 bytes, text/plain)
2006-08-14 15:04 EDT, Victor Bogado
no flags Details

  None (edit)
Description Victor Bogado 2006-08-14 15:04:51 EDT
Description of problem:
When I compile the test program I have attached the program gives me the
following output : 

ERROR: Caught a segmentation fault while loading plugin file:

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

Version-Release number of selected component (if applicable):
I tryed this with both x86 and x86-64 plataforms with the latest gstreamer

How reproducible:

Steps to Reproduce:
1. compile the program 
2. run it
Actual results:
segfault in the /usr/lib/gstreamer-0.10/libgstgnomevfs.so plugin

Expected results:
a simple test with the videotestsrc being displayed in a window.

Additional info:
An interesting point is that if I change the name of the pipe variable it works
ok. My guess is that this package is using this name "pipe" so it conflicts with
my variable and this messes everything.
Comment 1 Victor Bogado 2006-08-14 15:04:52 EDT
Created attachment 134161 [details]
program that gives me a problem...
Comment 2 Victor Bogado 2006-08-14 15:14:15 EDT
Version used : 

Comment 3 Adam Jackson 2006-12-11 16:00:57 EST
The pipe(3) function is provided by glibc, not gstreamer.
Comment 4 Jakub Jelinek 2006-12-11 16:10:55 EST
Obviously you can't name your variables in a way which will preempt standard
library functions that are used by the application, even indirectly.

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