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 679283 - gvncviewer pulse/simple assertion
gvncviewer pulse/simple assertion
Status: RESOLVED FIXED
Product: gtk-vnc
Classification: Other
Component: general
0.5.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-vnc-maint
gtk-vnc-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-02 21:50 UTC by Dominique Leuenberger
Modified: 2013-01-31 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug output + backtrace (107.05 KB, text/plain)
2012-07-03 03:48 UTC, Bernhard M.
Details

Description Dominique Leuenberger 2012-07-02 21:50:58 UTC
+++ This bug was initially created as a clone of Bug #678921 +++

This was originally reported in the openSUSE bug tracker:
https://bugzilla.novell.com/show_bug.cgi?id=766294

###
seen this gvncviewer pulse/simple assertion 
with 12.2 KDE4 doing effects on the remote side
and no pulseaudio running locally (and thus mplayer playing on alsa)

> LANG=C gvncviewer myserver:9
Connected to server
Remote desktop size changed to 1280x1024
Connection initialized
Sending Ctrl+Alt+F1
Sending Ctrl+Alt+F7
Sending Ctrl+Alt+F1
Sending Ctrl+Alt+F1
Sending Ctrl+Alt+F7
Assertion 'p' failed at pulse/simple.c:275, function pa_simple_write().
Aborting.
Aborted
###
Comment 1 Bernhard M. 2012-07-03 03:48:05 UTC
Created attachment 217901 [details]
debug output + backtrace

This was triggered by rebooting a KVM VM (including alsasound start)
Comment 2 Daniel P. Berrange 2013-01-31 10:42:42 UTC
commit c1b4fd07513707d2fe8e8144b6d019494c44ab39
Author: Daniel P. Berrange <berrange@redhat.com>
Date:   Thu Jan 31 10:40:29 2013 +0000

    Avoid crash with unsupported audio formats
    
    Currently if the VNC server sends an unsupported audio format,
    we skip creating the pulse audio instance. When we later receive
    audio data from QEMU we crash on this NULL instance. Instead we
    should simply discard the audio data. Also log a warning if we
    get a format we can't supported
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679283
    
    Signed-off-by: Daniel P. Berrange <berrange@redhat.com>