Skip to contentSkip to conversation

: segfault when trying to connect dmix->plug

ALSA - lib 0000455 [email protected] 1 participant 1 message Aug 18, 2004

lore
Share & tools
lore
#0 lore raw

The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000455
======================================================================
Reported By: stsp
Assigned To:
======================================================================

Project:                    ALSA - lib
Bug ID:                     455
Category:                   pcm - digital audio
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             08-18-2004 20:20 CEST
Last Modified:              08-18-2004 20:20 CEST

======================================================================
Summary: segfault when trying to connect dmix->plug
Description:
Hi.

With the attached configuration I get
segmentation fault:
---

$ ogg123 mise02-ulicka.ogg
ALSA lib pcm_dmix.c:873:(snd_pcm_dmix_open) dmix plugin can be only
connected to hw plugin
Segmentation fault
---

Here is the problematic place:
---
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1078196992 (LWP 30505)] snd_pcm_plug_open (pcmp=0xbffff7c0, name=0x43653b13 "default",

    sformat=1131543104, schannels=1131543104, srate=1131543104,
    route_policy=1131543104, ttable=0x4371fa40, tt_ssize=1131543104,
    tt_cused=1131543104, tt_sused=1131543104, slave=0x428c6fdc,
    close_slave=1131543104) at pcm_plug.c:1034

1034 pcm->fast_ops = slave->fast_ops;
(gdb) p pcm->fast_ops
$1 = (snd_pcm_fast_ops_t *) 0x0
---
So it is trying to assign to NULL.
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
08-18-04 20:20 stsp New Bug
08-18-04 20:20 stsp File Added: asound.conf
======================================================================

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285