padsp segfaults in VLC call to freopen()
Bug #1071593 reported by
gregrwm
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PulseAudio |
Unknown
|
Medium
|
|||
pulseaudio (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
vlc segfaults when i launch it with:
PULSE_SERVER=
and if i just launch it with "vlc", it shows a window with a orange striped cone, i select media->open disc, and the window ceases to render, staying all grey.
works fine in natty.
failures are in freshly installed (and updated) quantal:
ii vlc 2.0.4-0ubuntu1 i386 multimedia player and streamer
reinstalled from scratch, same result.
affects: | vlc (Ubuntu) → pulseaudio (Ubuntu) |
Changed in pulseaudio: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
summary: |
- quantal vlc segfaults or freezes + padsp segfaults in VLC call to freopen() |
Changed in pulseaudio: | |
status: | Confirmed → Unknown |
To post a comment you must log in.
Start VLC under padsp on Linux:
# padsp vlc -Idummy vlc://quit
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
Segmentation fault
The same process runs and exits fine without padsp. In fact, even this trivial and obviously correct piece of C code crashes with padsp while calling glibc freopen(): ------- 8<----- ---8<-- ------8< ------- -8<---- ----8<- ---
----8<-
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
FILE *stream;
stream = fopen("/dev/null", "w+t");
abort( ); "/dev/null" , "w+t", stream);
abort( );
fclose( stream) ; ------- >8----- --->8-- ------> 8------ -->8--- ----->8- ---
if (stream == NULL)
stream = freopen(
if (stream == NULL)
return 0;
}
---->8-
I suspect the root cause is similar to this (Firefox bug): https:/ /bugs.launchpad .net/ubuntu/ +source/ firefox/ +bug/810214/ comments/ 8