* [ALSA - lib 0001571]: Segfaults when trying to specify the preamble values (iec958 plugin)
@ 2005-11-17 0:51 bugtrack
0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-11-17 0:51 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1571>
======================================================================
Reported By: nboullis
Assigned To:
======================================================================
Project: ALSA - lib
Issue ID: 1571
Category: 1_pcm - digital audio
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 11-17-2005 01:51 CET
Last Modified: 11-17-2005 01:51 CET
======================================================================
Summary: Segfaults when trying to specify the preamble values
(iec958 plugin)
Description:
When I try to specify the preamble values for the iec958 plugin (see the
attached .asoundrc file for an example), I get segfaults with all
applications that try to use the corresponding device. If I simply comment
out the 3 preamble lines, the application runs fine (well, not with the
null output, but with a real S/PDIF device) but I get no sound since I'm
not using the correct preamble values.
(This is with version 1.0.10.)
Here is a backtrace I got with valgrind (using xmms as the application):
==15761==
==15761== Thread 5:
==15761== Invalid read of size 4
==15761== at 0x1CADD3F7: snd_config_iterator_first (conf.c:3146)
==15761== by 0x1CB373BB: _snd_pcm_iec958_open (pcm_iec958.c:623)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA61A: snd_pcm_open_slave (pcm.c:2187)
==15761== by 0x1CB1A32C: _snd_pcm_plug_open (pcm_plug.c:1140)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA2BD: snd_pcm_open_noupdate (pcm.c:2102)
==15761== by 0x1CAFA376: snd_pcm_open (pcm.c:2123)
==15761== by 0x1CAB0E18: (within /usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CAB09D1: alsa_open (in
/usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CBB0469: (within /usr/lib/xmms/Input/libmpg123.so)
==15761== by 0x1BAFFB62: start_thread (in /lib/tls/libpthread-0.60.so)
==15761== Address 0x4 is not stack'd, malloc'd or (recently) free'd
Hope this helps.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-17-05 01:51 nboullis New Issue
11-17-05 01:51 nboullis File Added: .asoundrc
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ALSA - lib 0001571]: Segfaults when trying to specify the preamble values (iec958 plugin)
@ 2005-11-19 0:35 bugtrack
0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-11-19 0:35 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1571>
======================================================================
Reported By: nboullis
Assigned To:
======================================================================
Project: ALSA - lib
Issue ID: 1571
Category: 1_pcm - digital audio
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 11-17-2005 01:51 CET
Last Modified: 11-19-2005 01:35 CET
======================================================================
Summary: Segfaults when trying to specify the preamble values
(iec958 plugin)
Description:
When I try to specify the preamble values for the iec958 plugin (see the
attached .asoundrc file for an example), I get segfaults with all
applications that try to use the corresponding device. If I simply comment
out the 3 preamble lines, the application runs fine (well, not with the
null output, but with a real S/PDIF device) but I get no sound since I'm
not using the correct preamble values.
(This is with version 1.0.10.)
Here is a backtrace I got with valgrind (using xmms as the application):
==15761==
==15761== Thread 5:
==15761== Invalid read of size 4
==15761== at 0x1CADD3F7: snd_config_iterator_first (conf.c:3146)
==15761== by 0x1CB373BB: _snd_pcm_iec958_open (pcm_iec958.c:623)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA61A: snd_pcm_open_slave (pcm.c:2187)
==15761== by 0x1CB1A32C: _snd_pcm_plug_open (pcm_plug.c:1140)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA2BD: snd_pcm_open_noupdate (pcm.c:2102)
==15761== by 0x1CAFA376: snd_pcm_open (pcm.c:2123)
==15761== by 0x1CAB0E18: (within /usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CAB09D1: alsa_open (in
/usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CBB0469: (within /usr/lib/xmms/Input/libmpg123.so)
==15761== by 0x1BAFFB62: start_thread (in /lib/tls/libpthread-0.60.so)
==15761== Address 0x4 is not stack'd, malloc'd or (recently) free'd
Hope this helps.
======================================================================
----------------------------------------------------------------------
nboullis - 11-19-05 01:35
----------------------------------------------------------------------
As asked by Takashi Iwai, I just re-did the same experiment within gdb;
here is the backtrace:
#0 0xb6f5b0b7 in snd_config_iterator_first () from
/usr/lib/libasound.so.2
#1 0xb6fb23dc in _snd_pcm_iec958_open () from /usr/lib/libasound.so.2
#2 0xb6f75a37 in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#3 0xb6f763ab in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#4 0xb6f960f5 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#5 0xb6f75a37 in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#6 0xb6f7604e in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#7 0xb6f76107 in snd_pcm_open () from /usr/lib/libasound.so.2
#8 0xb7001e19 in alsa_open () from /usr/lib/xmms/Output/libALSA.so
#9 0xb70019d2 in alsa_open () from /usr/lib/xmms/Output/libALSA.so
#10 0xb6ebe46a in get_iplugin_info () from
/usr/lib/xmms/Input/libmpg123.so
#11 0xb7d8fb63 in start_thread () from /lib/tls/libpthread.so.0
#12 0xb7bfa18a in clone () from /lib/tls/libc.so.6
(I have lost my 1.0.10 build, so this is with debian's 1.0.9-3 (with my
preamble patch applied).
If it is usefull, I can do it again with a clean 1.0.10 ou CVS HEAD build.
Issue History
Date Modified Username Field Change
======================================================================
11-17-05 01:51 nboullis New Issue
11-17-05 01:51 nboullis File Added: .asoundrc
11-17-05 01:53 nboullis Issue Monitored: nboullis
11-19-05 01:35 nboullis Note Added: 0006760
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ALSA - lib 0001571]: Segfaults when trying to specify the preamble values (iec958 plugin)
@ 2005-11-23 16:45 bugtrack
0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-11-23 16:45 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1571>
======================================================================
Reported By: nboullis
Assigned To:
======================================================================
Project: ALSA - lib
Issue ID: 1571
Category: 1_pcm - digital audio
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 11-17-2005 01:51 CET
Last Modified: 11-23-2005 17:45 CET
======================================================================
Summary: Segfaults when trying to specify the preamble values
(iec958 plugin)
Description:
When I try to specify the preamble values for the iec958 plugin (see the
attached .asoundrc file for an example), I get segfaults with all
applications that try to use the corresponding device. If I simply comment
out the 3 preamble lines, the application runs fine (well, not with the
null output, but with a real S/PDIF device) but I get no sound since I'm
not using the correct preamble values.
(This is with version 1.0.10.)
Here is a backtrace I got with valgrind (using xmms as the application):
==15761==
==15761== Thread 5:
==15761== Invalid read of size 4
==15761== at 0x1CADD3F7: snd_config_iterator_first (conf.c:3146)
==15761== by 0x1CB373BB: _snd_pcm_iec958_open (pcm_iec958.c:623)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA61A: snd_pcm_open_slave (pcm.c:2187)
==15761== by 0x1CB1A32C: _snd_pcm_plug_open (pcm_plug.c:1140)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA2BD: snd_pcm_open_noupdate (pcm.c:2102)
==15761== by 0x1CAFA376: snd_pcm_open (pcm.c:2123)
==15761== by 0x1CAB0E18: (within /usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CAB09D1: alsa_open (in
/usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CBB0469: (within /usr/lib/xmms/Input/libmpg123.so)
==15761== by 0x1BAFFB62: start_thread (in /lib/tls/libpthread-0.60.so)
==15761== Address 0x4 is not stack'd, malloc'd or (recently) free'd
Hope this helps.
======================================================================
----------------------------------------------------------------------
nboullis - 11-19-05 01:35
----------------------------------------------------------------------
As asked by Takashi Iwai, I just re-did the same experiment within gdb;
here is the backtrace:
#0 0xb6f5b0b7 in snd_config_iterator_first () from
/usr/lib/libasound.so.2
#1 0xb6fb23dc in _snd_pcm_iec958_open () from /usr/lib/libasound.so.2
#2 0xb6f75a37 in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#3 0xb6f763ab in snd_pcm_open_slave () from /usr/lib/libasound.so.2
#4 0xb6f960f5 in _snd_pcm_plug_open () from /usr/lib/libasound.so.2
#5 0xb6f75a37 in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#6 0xb6f7604e in snd_async_handler_get_pcm () from
/usr/lib/libasound.so.2
#7 0xb6f76107 in snd_pcm_open () from /usr/lib/libasound.so.2
#8 0xb7001e19 in alsa_open () from /usr/lib/xmms/Output/libALSA.so
#9 0xb70019d2 in alsa_open () from /usr/lib/xmms/Output/libALSA.so
#10 0xb6ebe46a in get_iplugin_info () from
/usr/lib/xmms/Input/libmpg123.so
#11 0xb7d8fb63 in start_thread () from /lib/tls/libpthread.so.0
#12 0xb7bfa18a in clone () from /lib/tls/libc.so.6
(I have lost my 1.0.10 build, so this is with debian's 1.0.9-3 (with my
preamble patch applied).
If it is usefull, I can do it again with a clean 1.0.10 ou CVS HEAD build.
----------------------------------------------------------------------
tiwai - 11-23-05 17:45
----------------------------------------------------------------------
OK it's a typo. The patch is attached.
Issue History
Date Modified Username Field Change
======================================================================
11-17-05 01:51 nboullis New Issue
11-17-05 01:51 nboullis File Added: .asoundrc
11-17-05 01:53 nboullis Issue Monitored: nboullis
11-19-05 01:35 nboullis Note Added: 0006760
11-23-05 17:45 tiwai Note Added: 0006820
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ALSA - lib 0001571]: Segfaults when trying to specify the preamble values (iec958 plugin)
@ 2005-11-23 16:46 bugtrack
0 siblings, 0 replies; 4+ messages in thread
From: bugtrack @ 2005-11-23 16:46 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1571>
======================================================================
Reported By: nboullis
Assigned To: tiwai
======================================================================
Project: ALSA - lib
Issue ID: 1571
Category: 1_pcm - digital audio
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 11-17-2005 01:51 CET
Last Modified: 11-23-2005 17:46 CET
======================================================================
Summary: Segfaults when trying to specify the preamble values
(iec958 plugin)
Description:
When I try to specify the preamble values for the iec958 plugin (see the
attached .asoundrc file for an example), I get segfaults with all
applications that try to use the corresponding device. If I simply comment
out the 3 preamble lines, the application runs fine (well, not with the
null output, but with a real S/PDIF device) but I get no sound since I'm
not using the correct preamble values.
(This is with version 1.0.10.)
Here is a backtrace I got with valgrind (using xmms as the application):
==15761==
==15761== Thread 5:
==15761== Invalid read of size 4
==15761== at 0x1CADD3F7: snd_config_iterator_first (conf.c:3146)
==15761== by 0x1CB373BB: _snd_pcm_iec958_open (pcm_iec958.c:623)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA61A: snd_pcm_open_slave (pcm.c:2187)
==15761== by 0x1CB1A32C: _snd_pcm_plug_open (pcm_plug.c:1140)
==15761== by 0x1CAF9CB6: snd_pcm_open_conf (pcm.c:2070)
==15761== by 0x1CAFA2BD: snd_pcm_open_noupdate (pcm.c:2102)
==15761== by 0x1CAFA376: snd_pcm_open (pcm.c:2123)
==15761== by 0x1CAB0E18: (within /usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CAB09D1: alsa_open (in
/usr/lib/xmms/Output/libALSA.so)
==15761== by 0x1CBB0469: (within /usr/lib/xmms/Input/libmpg123.so)
==15761== by 0x1BAFFB62: start_thread (in /lib/tls/libpthread-0.60.so)
==15761== Address 0x4 is not stack'd, malloc'd or (recently) free'd
Hope this helps.
======================================================================
----------------------------------------------------------------------
tiwai - 11-23-05 17:45
----------------------------------------------------------------------
OK it's a typo. The patch is attached.
----------------------------------------------------------------------
tiwai - 11-23-05 17:46
----------------------------------------------------------------------
Fixed on CVS.
Issue History
Date Modified Username Field Change
======================================================================
11-17-05 01:51 nboullis New Issue
11-17-05 01:51 nboullis File Added: .asoundrc
11-17-05 01:53 nboullis Issue Monitored: nboullis
11-19-05 01:35 nboullis Note Added: 0006760
11-23-05 17:45 tiwai Note Added: 0006820
11-23-05 17:45 tiwai File Added: iec958-segfault-fix.diff
11-23-05 17:46 tiwai Status new => resolved
11-23-05 17:46 tiwai Resolution open => fixed
11-23-05 17:46 tiwai Assigned To => tiwai
11-23-05 17:46 tiwai Note Added: 0006821
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-23 16:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23 16:46 [ALSA - lib 0001571]: Segfaults when trying to specify the preamble values (iec958 plugin) bugtrack
-- strict thread matches above, loose matches on Subject: below --
2005-11-23 16:45 bugtrack
2005-11-19 0:35 bugtrack
2005-11-17 0:51 bugtrack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.