On Tue, 2004-10-26 at 13:48, Kevin Ernste wrote:
It runs here fine with ALSA (looks great, by the way,
thanks for the
nice work!). However, the JACK version locks up the terminal and the
process cannot be killed. in fact "ps" dies even trying to view the
PID, etc. I would be happy to try and better diagnose it if others
have a similar problem.
This is with Fedora Core 2 running PlanetCCRMA, kernel
2.6.8.1-1.520.1vR9.ll with "realcap" capabilities in JACK, an
otherwise bullet-proof setup.
In my case it runs with alsa and (only) segfaults with jack (FC2). This
is what I get if I build with "-g":
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1208244320 (LWP 4276)]
0xb7f4fd54 in _mesa_test_os_sse_exception_support ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
(gdb) back
#0 0xb7f4fd54 in _mesa_test_os_sse_exception_support ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#1 0xb7f4fae1 in check_os_sse_support ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#2 0xb7f4fc00 in _mesa_init_all_x86_transform_asm ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#3 0xb7ececab in _math_init () from
/usr/X11R6/lib/modules/dri/radeon_dri.so
#4 0xb7e53aba in one_time_init ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#5 0xb7e55c94 in _mesa_initialize_context ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#6 0xb7e56749 in _mesa_create_context ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#7 0xb7f5570a in radeonCreateContext ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#8 0xb7e418b0 in driCreateContext ()
from /usr/X11R6/lib/modules/dri/radeon_dri.so
#9 0x46fa65da in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1
#10 0x46fa6992 in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1
#11 0x46fa6c2e in glXCreateContext () from /usr/X11R6/lib/libGL.so.1
#12 0xb7fd3ae1 in fgOpenWindow () from /usr/lib/libglut.so.3
#13 0xb7fd25c9 in fgCreateWindow () from /usr/lib/libglut.so.3
#14 0xb7fd3ed4 in glutCreateWindow () from /usr/lib/libglut.so.3
#15 0x08055af1 in main (argc=1, argv=0xbffff894) at sndpeek.cpp:301
(gdb)
-- Fernando
On Tue, 26 Oct 2004 21:01:57 +0200, Tim Orford
<tim(a)orford.org> wrote:
> On Mon, Oct 25, 2004 at 06:31:32AM -0400, Ge Wang wrote:
> > We at the Princeton SoundLab have released our light-weight
> > (stupidly simple yet useful) real-time 3d waveform audio and
> > FFT waterfall visualization. GPL. Plug in a mic, and have some
> > fun, or run it on a file.
> >
> >
http://soundlab.cs.princeton.edu/software/sndpeek/
>
> screenshot looks great so i had to try it!
>
> but on a Mandrake9.2 and a Gentoo machine (both X 4.3.0, ati r200),
> i get a segfault:
>
> [tim@sofa sndpeek]$ gdb ./sndpeek
> GNU gdb 5.3-25mdk (Mandrake Linux)
> Copyright 2002 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 "i586-mandrake-linux-gnu"...
> (gdb) run
> Starting program: /home/tim/sndpeek-1.0/src/sndpeek/sndpeek
> Loading required GL library /usr/X11R6/lib/libGL.so.1.2
> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
> libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
> libGL: XF86DRIGetClientDriverName: 4.0.1 r200 (screen 0)
> drmOpenByBusid: busid is PCI:1:0:0
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 6, (OK)
> drmOpenByBusid: drmOpenMinor returns 6
> drmOpenByBusid: drmGetBusid reports PCI:1:0:0
>
> Program received signal SIGFPE, Arithmetic exception.
> 0x40779d33 in __driUtilCreateScreen () from
> /usr/X11R6/lib/modules/dri/r200_dri.so
> (gdb) backtrace
> #0 0x40779d33 in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #1 0x40779a81 in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #2 0x40779bed in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #3 0x406ecc8b in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #4 0x4066ffba in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #5 0x40672147 in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #6 0x406725b7 in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #7 0x4077e259 in __driUtilCreateScreen () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #8 0x4065d84c in __driUtilUpdateDrawableInfo () from
/usr/X11R6/lib/modules/dri/r200_dri.so
> #9 0x40607a06 in _glthread_SetTSD () from /usr/X11R6/lib/libGL.so.1.2
> #10 0x40607a7e in glXCreateContext () from /usr/X11R6/lib/libGL.so.1.2
> (gdb)
>
> hope you find this info useful.
>
> cheers
> --
> Tim Orford
>