* Alsa and hdspmixer segfault
@ 2004-10-01 15:26 thewade
2004-10-01 17:23 ` Takashi Iwai
2004-10-01 17:49 ` Lee Revell
0 siblings, 2 replies; 16+ messages in thread
From: thewade @ 2004-10-01 15:26 UTC (permalink / raw)
To: alsa-devel
Hello!
I have just built standard kernel 2.6.9-rc3 on my AMD 64 laptop and
with the patch written by Takshi Iwai (and viewable at http://www.aproximation.org/application/AMD64laptop.html#audio)
my hammerfall accecpts the firmware! Unfortunately now the
hdspmixer wont start.
HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details
Looking for HDSP cards :
Card 0 : SiS SI7012 at 0xe800, irq 169
Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209
Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
Segmentation fault
/var/log/messages
Oct 1 09:17:26 musicbox kernel: hdspmixer[3106]: segfault at 00000000000003e0 rip 0000003092b6d075 rsp 0000007fbfffeaf8 error 4
I saw some patches for hdspmixer go through the list, but they were
for levels errors (I still have them if they turn out to be a fix).
If it helps, the mixer window flashes on the screen for the briefest
second.
Thanks for the help!
-thewade
p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
latest low latency patch:
http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
Any tips? (hdspmixer is more important than this)
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 15:26 Alsa and hdspmixer segfault thewade
@ 2004-10-01 17:23 ` Takashi Iwai
2004-10-01 17:49 ` Lee Revell
1 sibling, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2004-10-01 17:23 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
At Fri, 1 Oct 2004 09:26:37 -0600,
thewade wrote:
>
> Hello!
>
> I have just built standard kernel 2.6.9-rc3 on my AMD 64 laptop and
> with the patch written by Takshi Iwai (and viewable at http://www.aproximation.org/application/AMD64laptop.html#audio)
> my hammerfall accecpts the firmware! Unfortunately now the
> hdspmixer wont start.
At first, try to get CVS version of alsa-lib and alsa-tools, and
install them.
> HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
> This program comes with ABSOLUTELY NO WARRANTY
> HDSPMixer is free software, see the file COPYING for details
>
> Looking for HDSP cards :
> Card 0 : SiS SI7012 at 0xe800, irq 169
> Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209
> Multiface found !
> 1 Hammerfall DSP card found.
> Initializing default presets
> Segmentation fault
>
> /var/log/messages
> Oct 1 09:17:26 musicbox kernel: hdspmixer[3106]: segfault at 00000000000003e0 rip 0000003092b6d075 rsp 0000007fbfffeaf8 error 4
Run hdspmixer on gdb. You can catch the point of segfault.
The stack trace would really helpful for debugging.
> I saw some patches for hdspmixer go through the list, but they were
> for levels errors (I still have them if they turn out to be a fix).
>
> If it helps, the mixer window flashes on the screen for the briefest
> second.
>
> Thanks for the help!
> -thewade
> p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
> latest low latency patch:
> http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
> Any tips? (hdspmixer is more important than this)
What errors?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 15:26 Alsa and hdspmixer segfault thewade
2004-10-01 17:23 ` Takashi Iwai
@ 2004-10-01 17:49 ` Lee Revell
2004-10-01 17:55 ` Lee Revell
1 sibling, 1 reply; 16+ messages in thread
From: Lee Revell @ 2004-10-01 17:49 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
On Fri, 2004-10-01 at 11:26, thewade wrote:
> p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
> latest low latency patch:
> http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
> Any tips? (hdspmixer is more important than this)
Well, it's obvious why it doesn't work. You say you have 2.6.9-rc3, but
the S7 patch is against 2.6.9-rc2-mm4, as the name clearly indicates.
You need to get that kernel to apply S7.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 17:54 thewade
2004-10-01 18:11 ` Takashi Iwai
0 siblings, 1 reply; 16+ messages in thread
From: thewade @ 2004-10-01 17:54 UTC (permalink / raw)
To: alsa-devel
I downloaded the newest cvs (last night really, for me here in -6 MST),
and built it ust now. alsa-lib built fine but hdspmixer in alsa-tools
fails:
make in hdspmixer:
make[1]: Entering directory `/usr/local/src/alsa-tools/hdspmixer/src\'
if g++ -DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE=\\\"hdspmixer\\\" -DVERSION=\\\"1.6\\\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -I/usr/local/include -I/usr/X11R6/include -fno-exceptions -MT HDSPMixerOutputs.o -MD -MP -MF \".deps/HDSPMixerOutputs.Tpo\" -c -o HDSPMixerOutputs.o HDSPMixerOutputs.cxx; \\
then mv -f \".deps/HDSPMixerOutputs.Tpo\" \".deps/HDSPMixerOutputs.Po\"; else rm -f \".deps/HDSPMixerOutputs.Tpo\"; exit 1; fi
In file included from HDSPMixerOutput.h:28,
from HDSPMixerOutputs.h:26,
from HDSPMixerOutputs.cxx:22:
/usr/include/alsa/sound/hdsp.h:35: error: `u_int32_t\' does not name a type
/usr/include/alsa/sound/hdsp.h:36: error: `u_int32_t\' does not name a type
/usr/include/alsa/sound/hdsp.h:37: error: `u_int32_t\' does not name a type
/usr/include/alsa/sound/hdsp.h:38: error: `u_int64_t\' does not name a type
/usr/include/alsa/sound/hdsp.h:39: error: `u_int64_t\' does not name a type
/usr/include/alsa/sound/hdsp.h:41: error: `u_int64_t\' does not name a type
make[1]: *** [HDSPMixerOutputs.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-tools/hdspmixer/src\'
make: *** [all-recursive] Error 1
It turns out that gdb says its a libfltk thing I think, at least with the
current version of hdspmixer I have (Oct 1):
Starting program: /usr/local/bin/hdspmixer
[Thread debugging using libthread_db enabled]
[New Thread 182894123680 (LWP 1231)]
HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details
Looking for HDSP cards :
Card 0 : SiS SI7012 at 0xe800, irq 169
Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209
Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182894123680 (LWP 1231)]
0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
Should I rebuild fltk?
Thanks
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 17:49 ` Lee Revell
@ 2004-10-01 17:55 ` Lee Revell
0 siblings, 0 replies; 16+ messages in thread
From: Lee Revell @ 2004-10-01 17:55 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
On Fri, 2004-10-01 at 13:49, Lee Revell wrote:
> On Fri, 2004-10-01 at 11:26, thewade wrote:
> > p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
> > latest low latency patch:
> > http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
> > Any tips? (hdspmixer is more important than this)
>
> Well, it's obvious why it doesn't work. You say you have 2.6.9-rc3, but
> the S7 patch is against 2.6.9-rc2-mm4, as the name clearly indicates.
> You need to get that kernel to apply S7.
>
Here is the exact sequence of patches you need to apply to get the
latest VP kernel:
http://lkml.org/lkml/2004/9/27/248
Lee
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 18:08 thewade
2004-10-01 18:16 ` Lee Revell
0 siblings, 1 reply; 16+ messages in thread
From: thewade @ 2004-10-01 18:08 UTC (permalink / raw)
To: alsa-devel
> > p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
> > latest low latency patch:
> >
> >http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
> > Any tips? (hdspmixer is more important than this)
>
> Well, it\'s obvious why it doesn\'t work. You say you have 2.6.9-rc3, but
> the S7 patch is against 2.6.9-rc2-mm4, as the name clearly indicates.
> You need to get that kernel to apply S7.
Yes, I realize that I have 2.6.9-rc3 kernel and this is a 2.6.9-rc2 patch.
I was wondering if anybody had the patch files broken down into specific
changes or if there was some way of patching the new code without doing it
by hand.
Alternitvely one could tell me how fast developement is going on that thread
of low-latenct patches and approximately how long it would be to wait to get
the proper patch.
I had simply run the patch to see if the affected files had not been changed,
as I do not know how many or which files will be modified by the patch.
Lastly, what is the best way to determine the latency of my pesent kernel? I
have PD installed, as well as Jack and capabilities enabled.
Thank you!
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 17:54 thewade
@ 2004-10-01 18:11 ` Takashi Iwai
0 siblings, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2004-10-01 18:11 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
At Fri, 1 Oct 2004 11:54:34 -0600,
thewade wrote:
>
> I downloaded the newest cvs (last night really, for me here in -6 MST),
> and built it ust now. alsa-lib built fine but hdspmixer in alsa-tools
> fails:
>
> make in hdspmixer:
> make[1]: Entering directory `/usr/local/src/alsa-tools/hdspmixer/src\'
> if g++ -DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE=\\\"hdspmixer\\\" -DVERSION=\\\"1.6\\\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -I/usr/local/include -I/usr/X11R6/include -fno-exceptions -MT HDSPMixerOutputs.o -MD -MP -MF \".deps/HDSPMixerOutputs.Tpo\" -c -o HDSPMixerOutputs.o HDSPMixerOutputs.cxx; \\
> then mv -f \".deps/HDSPMixerOutputs.Tpo\" \".deps/HDSPMixerOutputs.Po\"; else rm -f \".deps/HDSPMixerOutputs.Tpo\"; exit 1; fi
> In file included from HDSPMixerOutput.h:28,
> from HDSPMixerOutputs.h:26,
> from HDSPMixerOutputs.cxx:22:
> /usr/include/alsa/sound/hdsp.h:35: error: `u_int32_t\' does not name a type
> /usr/include/alsa/sound/hdsp.h:36: error: `u_int32_t\' does not name a type
> /usr/include/alsa/sound/hdsp.h:37: error: `u_int32_t\' does not name a type
> /usr/include/alsa/sound/hdsp.h:38: error: `u_int64_t\' does not name a type
> /usr/include/alsa/sound/hdsp.h:39: error: `u_int64_t\' does not name a type
> /usr/include/alsa/sound/hdsp.h:41: error: `u_int64_t\' does not name a type
> make[1]: *** [HDSPMixerOutputs.o] Error 1
> make[1]: Leaving directory `/usr/local/src/alsa-tools/hdspmixer/src\'
> make: *** [all-recursive] Error 1
Oh I forgot that it was fixed today.
It takes some time until anon cvs is sync'ed.
Wait until tomorrow, or change u_int32_t to uint32_t, and u_int64_t to
uin64_t. Also, add
#include <stdint.h>
at the beginnig of hdsp.h.
> It turns out that gdb says its a libfltk thing I think, at least with the
> current version of hdspmixer I have (Oct 1):
> Starting program: /usr/local/bin/hdspmixer
> [Thread debugging using libthread_db enabled]
> [New Thread 182894123680 (LWP 1231)]
>
> HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
> This program comes with ABSOLUTELY NO WARRANTY
> HDSPMixer is free software, see the file COPYING for details
>
> Looking for HDSP cards :
> Card 0 : SiS SI7012 at 0xe800, irq 169
> Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209
> Multiface found !
> 1 Hammerfall DSP card found.
> Initializing default presets
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 182894123680 (LWP 1231)]
> 0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
>
> Should I rebuild fltk?
Not always, but what shows the stack trace?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 18:14 thewade
0 siblings, 0 replies; 16+ messages in thread
From: thewade @ 2004-10-01 18:14 UTC (permalink / raw)
To: alsa-devel
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 182894123680 (LWP 1231)]
> 0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
>
> Should I rebuild fltk?
My fltk is:
fltk-1.1.4-1.1.fc2.dag.x86_64.rpm
fltk-devel-1.1.4-1.1.fc2.dag.x86_64.rpm
(The best/only rpms I could find. Ive tried the source
but I had problems I think, though Ive forgotten them now)
fltk-1.1.5rc2
fltk-1.2.x (CVS I think)
fltk-2.0.x (CVS I think)
And my arch is:
AMD64 Fedora Core 3 test 1 2.6.9-rc3 standard kernel.
Thanks again!
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 18:08 thewade
@ 2004-10-01 18:16 ` Lee Revell
0 siblings, 0 replies; 16+ messages in thread
From: Lee Revell @ 2004-10-01 18:16 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
On Fri, 2004-10-01 at 14:08, thewade wrote:
> > > p.s. I have 2.6.9-rc3 kernel. I get errors when I try to apply the
> > > latest low latency patch:
> > >
> > >http://people.redhat.com/mingo/voluntary-preempt/voluntary-preempt-full-2.6.9-rc2-mm4-S7
> > > Any tips? (hdspmixer is more important than this)
> >
> > Well, it\'s obvious why it doesn\'t work. You say you have 2.6.9-rc3, but
> > the S7 patch is against 2.6.9-rc2-mm4, as the name clearly indicates.
> > You need to get that kernel to apply S7.
>
> Yes, I realize that I have 2.6.9-rc3 kernel and this is a 2.6.9-rc2 patch.
> I was wondering if anybody had the patch files broken down into specific
> changes or if there was some way of patching the new code without doing it
> by hand.
Currently no. You have to download and apply the patches in the order
spacified in my other email. In particular the -mm patch is very
large. The -mm kernel is basically filling the role of 2.7 for now. It
is an experimental, development kernel that should not really be used on
production systems.
> Alternitvely one could tell me how fast developement is going on that thread
> of low-latenct patches and approximately how long it would be to wait to get
> the proper patch.
Once all the major bugs are resolved, Ingo will generate a patch against
the standard kernel. For now you have to apply the -mm patch then the
VP patch.
>
> I had simply run the patch to see if the affected files had not been changed,
> as I do not know how many or which files will be modified by the patch.
>
> Lastly, what is the best way to determine the latency of my pesent kernel?
What is the smallest period size you can use without xruns? Same
concept as ASIO, you set the latency (aka period size) to the lowest
value that doesn't cause clicks and pops.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 18:19 thewade
0 siblings, 0 replies; 16+ messages in thread
From: thewade @ 2004-10-01 18:19 UTC (permalink / raw)
To: alsa-devel
> > Should I rebuild fltk?
>
> Not always, but what shows the stack trace?
How do I do that? Im not fimilar with gdb.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182894123680 (LWP 2494)]
0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
(gdb) trace
trace command requires an argument
(gdb) trace stack
Tracepoint 1 at 0x3092c92be0
Thanks!
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 18:33 thewade
2004-10-01 19:31 ` Lee Revell
0 siblings, 1 reply; 16+ messages in thread
From: thewade @ 2004-10-01 18:33 UTC (permalink / raw)
To: alsa-devel
> > Lastly, what is the best way to determine the latency of my pesent
> > kernel?
>
> What is the smallest period size you can use without xruns?
256 is too small, 512 works fine. I cant seem to set the period to
anything between that, proabably because its not a 2^2 value. I tried
360 and 384 but jackd wouldn acecpt those. So just over 10ms I guess...
(512/48000 sec)
What is the typical latency with the mm+VP patch installed?
Thanks again,
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-01 18:33 thewade
@ 2004-10-01 19:31 ` Lee Revell
0 siblings, 0 replies; 16+ messages in thread
From: Lee Revell @ 2004-10-01 19:31 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel
On Fri, 2004-10-01 at 14:33, thewade wrote:
> > > Lastly, what is the best way to determine the latency of my pesent
> > > kernel?
> >
> > What is the smallest period size you can use without xruns?
>
> 256 is too small, 512 works fine. I cant seem to set the period to
> anything between that, proabably because its not a 2^2 value. I tried
> 360 and 384 but jackd wouldn acecpt those. So just over 10ms I guess...
> (512/48000 sec)
>
> What is the typical latency with the mm+VP patch installed?
>
With the VP patch the lower limit on latency only depends on the
physical limits of your hardware (the minimum size of a DMA transfer,
PCI timing, etc). Of course, you might want to use a larger period
size than the lowest your hardware supports, due to increased overhead
with an extremely small period size. There are people using JACK at 32
and 64 frames (0.66 and 1.33 ms), even with consumer sound cards. With
RME hardware it should work very well at these low latencies.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-01 23:03 thewade
0 siblings, 0 replies; 16+ messages in thread
From: thewade @ 2004-10-01 23:03 UTC (permalink / raw)
To: alsa-devel
Heres what I get when I run:
gdb hdspmixer
run
bt
GNU gdb Red Hat Linux (6.1post-1.20040607.8rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type \"show copying\" to see the conditions.
There is absolutely no warranty for GDB. Type \"show warranty\" for details.
This GDB was configured as \"x86_64-redhat-linux-gnu\"...Using host libthread_db library \"/lib64/tls/libthread_db.so.1\".
(gdb) run
Starting program: /usr/local/bin/hdspmixer
[Thread debugging using libthread_db enabled]
[New Thread 182894123680 (LWP 3385)]
HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <thomas@undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details
Looking for HDSP cards :
Card 0 : SiS SI7012 at 0xe800, irq 169
Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209
Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182894123680 (LWP 3377)]
0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
(gdb) bt
#0 0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
#1 0x0000003092b6cc56 in innards () from /usr/lib64/libfltk.so.1.1
#2 0x0000003092b6cdf0 in fl_draw_image () from /usr/lib64/libfltk.so.1.1
#3 0x0000003092b6d34c in fl_draw_pixmap () from /usr/lib64/libfltk.so.1.1
#4 0x0000003092b6d099 in fl_draw_pixmap () from /usr/lib64/libfltk.so.1.1
#5 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#6 0x00000000004126b0 in HDSPMixerIOMixer::draw (this=0x58b0a0) at HDSPMixerIOMixer.cxx:79
#7 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#8 0x0000003092b3d275 in Fl_Group::draw_children () from /usr/lib64/libfltk.so.1.1
#9 0x0000003092b3d2d4 in Fl_Group::draw () from /usr/lib64/libfltk.so.1.1
#10 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#11 0x0000003092b5041b in Fl_Scroll::draw_clip () from /usr/lib64/libfltk.so.1.1
#12 0x0000003092b50bb6 in Fl_Scroll::draw () from /usr/lib64/libfltk.so.1.1
#13 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#14 0x0000003092b3d275 in Fl_Group::draw_children () from /usr/lib64/libfltk.so.1.1
#15 0x0000003092b3d2d4 in Fl_Group::draw () from /usr/lib64/libfltk.so.1.1
#16 0x0000003092b60dda in Fl_Window::draw () from /usr/lib64/libfltk.so.1.1
#17 0x0000003092b36f09 in Fl_Double_Window::flush () from /usr/lib64/libfltk.so.1.1
#18 0x0000003092b36e0b in Fl_Double_Window::flush () from /usr/lib64/libfltk.so.1.1
#19 0x0000003092b2af29 in Fl::flush () from /usr/lib64/libfltk.so.1.1
#20 0x0000003092b2abdd in Fl::wait () from /usr/lib64/libfltk.so.1.1
#21 0x0000003092b2acde in Fl::run () from /usr/lib64/libfltk.so.1.1
#22 0x000000000040c489 in main (argc=1, argv=0x7fbffff848) at hdspmixer.cxx:86
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
@ 2004-10-03 4:44 thewade
2005-02-05 0:37 ` thomas charbonnel
0 siblings, 1 reply; 16+ messages in thread
From: thewade @ 2004-10-03 4:44 UTC (permalink / raw)
To: alsa-devel
> > Should I rebuild fltk?
>
> Not always, but what shows the stack trace?
I rebuilt fltk from source, then rebuilt hdspmixer.
I started with fltk-1.1.5rc2. That built but had many warnings. I
moved the libraries installed by fltk-1.1.4-1.1.fc2.dag.x86_64.rpm
and re-ran ldconfig. I then rebuilt and ran hdspmixer but had the
same error as before, line 68 in hdspmixer.cxx (see end of email).
I tried to rebuild fltk-1.2.x but it didnt build.
Then I tried fltk-2.0.x and that built fine, but hdspmixer
complained about the declaration (or lack thereof) of many items.
What should I do?
Thanks!
-thewade
hdspmixer build error with fltk-2.0.x:
hdspmixer.cxx:29:31: FL/Fl_Preferences.H: No such file or directory
In file included from HDSPMixerCard.h:30,
from hdspmixer.cxx:31:
HDSPMixerWindow.h:28:26: FL/Fl_Scroll.H: No such file or directory
HDSPMixerWindow.h:29:24: FL/Fl_Menu.H: No such file or directory
In file included from HDSPMixerWindow.h:48,
from HDSPMixerCard.h:30,
from hdspmixer.cxx:31:
HDSPMixerSetup.h:30:32: FL/Fl_Round_Button.H: No such file or directory
In file included from HDSPMixerWindow.h:48,
from HDSPMixerCard.h:30,
from hdspmixer.cxx:31:
HDSPMixerSetup.h:46: error: ISO C++ forbids declaration of `Fl_Round_Button\' with no type
HDSPMixerSetup.h:46: error: expected `;\' before \'*\' token
(etcetera, etcetera...)
back trace of hdspmixer and fltk-1.1.4-1.1.fc2.dag.x86_64.rpm:
#0 0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
#1 0x0000003092b6cc56 in innards () from /usr/lib64/libfltk.so.1.1
#2 0x0000003092b6cdf0 in fl_draw_image () from /usr/lib64/libfltk.so.1.1
#3 0x0000003092b6d34c in fl_draw_pixmap () from /usr/lib64/libfltk.so.1.1
#4 0x0000003092b6d099 in fl_draw_pixmap () from /usr/lib64/libfltk.so.1.1
#5 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#6 0x00000000004126b0 in HDSPMixerIOMixer::draw (this=0x58b0a0) at HDSPMixerIOMixer.cxx:79
#7 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#8 0x0000003092b3d275 in Fl_Group::draw_children () from /usr/lib64/libfltk.so.1.1
#9 0x0000003092b3d2d4 in Fl_Group::draw () from /usr/lib64/libfltk.so.1.1
#10 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#11 0x0000003092b5041b in Fl_Scroll::draw_clip () from /usr/lib64/libfltk.so.1.1
#12 0x0000003092b50bb6 in Fl_Scroll::draw () from /usr/lib64/libfltk.so.1.1
#13 0x0000003092b3d37e in Fl_Group::draw_child () from /usr/lib64/libfltk.so.1.1
#14 0x0000003092b3d275 in Fl_Group::draw_children () from /usr/lib64/libfltk.so.1.1
#15 0x0000003092b3d2d4 in Fl_Group::draw () from /usr/lib64/libfltk.so.1.1
#16 0x0000003092b60dda in Fl_Window::draw () from /usr/lib64/libfltk.so.1.1
#17 0x0000003092b36f09 in Fl_Double_Window::flush () from /usr/lib64/libfltk.so.1.1
#18 0x0000003092b36e0b in Fl_Double_Window::flush () from /usr/lib64/libfltk.so.1.1
#19 0x0000003092b2af29 in Fl::flush () from /usr/lib64/libfltk.so.1.1
#20 0x0000003092b2abdd in Fl::wait () from /usr/lib64/libfltk.so.1.1
#21 0x0000003092b2acde in Fl::run () from /usr/lib64/libfltk.so.1.1
#22 0x000000000040c489 in main (argc=1, argv=0x7fbffff838) at hdspmixer.cxx:86
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2004-10-03 4:44 thewade
@ 2005-02-05 0:37 ` thomas charbonnel
2005-02-08 19:25 ` Takashi Iwai
0 siblings, 1 reply; 16+ messages in thread
From: thomas charbonnel @ 2005-02-05 0:37 UTC (permalink / raw)
To: thewade; +Cc: alsa-devel, Takashi Iwai
thewade wrote :
> > > Should I rebuild fltk?
> >
> > Not always, but what shows the stack trace?
>
> I rebuilt fltk from source, then rebuilt hdspmixer.
>
> I started with fltk-1.1.5rc2. That built but had many warnings. I
> moved the libraries installed by fltk-1.1.4-1.1.fc2.dag.x86_64.rpm
> and re-ran ldconfig. I then rebuilt and ran hdspmixer but had the
> same error as before, line 68 in hdspmixer.cxx (see end of email).
>
> I tried to rebuild fltk-1.2.x but it didnt build.
> Then I tried fltk-2.0.x and that built fine, but hdspmixer
> complained about the declaration (or lack thereof) of many items.
>
> What should I do?
> Thanks!
> -thewade
Hi,
Sorry for the very late answer, I guess you found a solution since then.
I reply for the record. I just experienced the same problem while
testing the hdsp tools on amd64. It appears that the cr2 helper function
from fltk, called from fl_draw_pixmap, which I use both in hdspconf and
hdspmixer, is badly broken on x86_64 in fltk 1.1.4 (the version shipped
with your FC3, Gentoo and maybe some other distros). I appears to be
fixed in the latest version (1.1.6). Takashi, is there some autoconf
magic we could add to warn about the problem ? Or maybe we could just
add a line to the README file ?
Thomas
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Alsa and hdspmixer segfault
2005-02-05 0:37 ` thomas charbonnel
@ 2005-02-08 19:25 ` Takashi Iwai
0 siblings, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2005-02-08 19:25 UTC (permalink / raw)
To: thomas charbonnel; +Cc: thewade, alsa-devel
At Sat, 05 Feb 2005 01:37:22 +0100,
thomas charbonnel wrote:
>
> thewade wrote :
> > > > Should I rebuild fltk?
> > >
> > > Not always, but what shows the stack trace?
> >
> > I rebuilt fltk from source, then rebuilt hdspmixer.
> >
> > I started with fltk-1.1.5rc2. That built but had many warnings. I
> > moved the libraries installed by fltk-1.1.4-1.1.fc2.dag.x86_64.rpm
> > and re-ran ldconfig. I then rebuilt and ran hdspmixer but had the
> > same error as before, line 68 in hdspmixer.cxx (see end of email).
> >
> > I tried to rebuild fltk-1.2.x but it didnt build.
> > Then I tried fltk-2.0.x and that built fine, but hdspmixer
> > complained about the declaration (or lack thereof) of many items.
> >
> > What should I do?
> > Thanks!
> > -thewade
>
> Hi,
>
> Sorry for the very late answer, I guess you found a solution since then.
> I reply for the record. I just experienced the same problem while
> testing the hdsp tools on amd64. It appears that the cr2 helper function
> from fltk, called from fl_draw_pixmap, which I use both in hdspconf and
> hdspmixer, is badly broken on x86_64 in fltk 1.1.4 (the version shipped
> with your FC3, Gentoo and maybe some other distros). I appears to be
> fixed in the latest version (1.1.6). Takashi, is there some autoconf
> magic we could add to warn about the problem ? Or maybe we could just
> add a line to the README file ?
You can check the string of "fltk-config --version", then.
It'll return like "1.1.6".
And, yes, describing the problem in README is always helpful.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-02-08 19:25 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-01 15:26 Alsa and hdspmixer segfault thewade
2004-10-01 17:23 ` Takashi Iwai
2004-10-01 17:49 ` Lee Revell
2004-10-01 17:55 ` Lee Revell
-- strict thread matches above, loose matches on Subject: below --
2004-10-01 17:54 thewade
2004-10-01 18:11 ` Takashi Iwai
2004-10-01 18:08 thewade
2004-10-01 18:16 ` Lee Revell
2004-10-01 18:14 thewade
2004-10-01 18:19 thewade
2004-10-01 18:33 thewade
2004-10-01 19:31 ` Lee Revell
2004-10-01 23:03 thewade
2004-10-03 4:44 thewade
2005-02-05 0:37 ` thomas charbonnel
2005-02-08 19:25 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox