Thread: [Osw-users] segmentation faults with 1.1beta4 linux
Brought to you by:
peoplestank
From: smoerk <sm...@gm...> - 2003-12-22 23:01:16
|
hi, i tried to run the 1.1beta4 rpm on redhat fedora 1 / planet ccrma and ran into several segfaults. ... with OSS it segfaults sometimes... [root@audio7 root]# osw OSW - Open Sound World (c) 2001-2003 Amar Chaudhary (c) 1998-2001 Regents of the University of California All rights reserved. See Licence file for full licensing info. /oss: Initializing OSS Drivers /audio/0: 12 output_channels. /audio/0: 12 input channels. /audio/0: 24 bytes per sample frame. /audio/0: buffer 2^7 samples (3072 bytes). /audio/0: could not set new input buffer size. /audio/0: could not set output sample resolution /audio/0: could not set input sample resolution /audio/0: could not set output sample rate. /audio/0: could not set output sample rate. No browser preference set, autodetecting... trying galeon... trying opera... trying mozilla... Setting browser to mozilla /usr/local/bin/osw: line 56: 12219 Segmentation fault $cmd [root@audio7 root]# ... and sometimes not (sample rate of 135890912 Hz?) ... [root@audio7 root]# osw OSW - Open Sound World (c) 2001-2003 Amar Chaudhary (c) 1998-2001 Regents of the University of California All rights reserved. See Licence file for full licensing info. /oss: Initializing OSS Drivers /audio/0: 0 output_channels. /audio/0: 0 input channels. /audio/0: 0 bytes per sample frame. /audio/0: buffer 2^7 samples (0 bytes). /audio/0: could not set new input buffer size. /audio/0: could not set output sample resolution /audio/0: could not set input sample resolution /audio/0: Sample rate is now 44100 Hz. /audio/0: Sample rate is now 135890912 Hz. /dock/out: 1: Invalid audio output channel. /dock/out: 2: Invalid audio output channel. Output buffer size 0 /dock/input: 1: Invalid audio input channel. /dock/input: 2: Invalid audio input channel. 0 [/me closing osw] Destroying patch... Error in startup script: can't invoke "winfo" command: application has been destroyed while executing "winfo screenwidth ." (object "::Patch::viewview0" method "::View::MakeView" body line 3) invoked from within "MakeView" while constructing object "::Patch::viewview0" in ::View::constructor (body line 3) invoked from within "View view#auto" (object "::patchObj-/default0" method "::Patch::AssignView" body line 2) invoked from within "AssignView" while constructing object "::patchObj-/default0" in ::Patch::constructor (body line 6) invoked from within "Patch patchObj-/default$defaultCount -patchClass default -patchInstance default$defaultCount " (procedure "oswNewPatch" line 6) invoked from within "oswNewPatch" invoked from within "if {[llength $commandLineFiles] > 0} { foreach patch $commandLineFiles { puts $patch if {[file extension $patch] == ".osd"} { StartExterna..." (file "/usr/local/lib/osw/oswinit.tcl" line 1058) [root@audio7 root]# ... alsa never starts in GUI mode ... [root@audio7 root]# osw -dr alsa OSW - Open Sound World (c) 2001-2003 Amar Chaudhary (c) 1998-2001 Regents of the University of California All rights reserved. See Licence file for full licensing info. User requested driver alsa. Trying ALSA driver... Using ALSA device hw:0,0 /audio/0: 32 bits per sample. /audio/0: Invalid argument /usr/local/bin/osw: line 56: 12201 Segmentation fault $cmd [root@audio7 root]# ... but always works in server mode ... [root@audio7 root]# osw -dr alsa --server OSW - Open Sound World (c) 2001-2003 Amar Chaudhary (c) 1998-2001 Regents of the University of California All rights reserved. See Licence file for full licensing info. User requested driver alsa. Trying ALSA driver... Using ALSA device hw:0,0 /audio/0: 32 bits per sample. stream : PLAYBACK access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: Device has 2 output channels. /audio/0: 32 bits per input sample. stream : CAPTURE access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: Device has 2 input channels. /audio/0: 32 bits per sample. stream : PLAYBACK access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: 32 bits per input sample. stream : CAPTURE access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: Sample rate is now 44100 Hz. /audio/0: 32 bits per sample. stream : PLAYBACK access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: 32 bits per input sample. stream : CAPTURE access : RW_INTERLEAVED format : S32_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 32 buffer_size : 8192 period_size : 1024 period_time : 23219 tick_time : 1000 /audio/0: Sample rate is now 44100 Hz. /audio/0: 32 bits per sample. /audio/0: Invalid argument Enabled alsa driver. Adding UDP server on port 7707 UDP socket initialized to 255.255.255.255, port 7708. Starting Thread UDP socket initialized to 255.255.255.255, port 7706. Task Process setting priority level 50... 0 : Success. Task Process setting priority level 49... Starting Thread 0 : Success. Watch and Wait... /scheduler: 0 activations, 9992 interupts /scheduler: 0 activations, 10001 interupts ... but i didn't test audio, i have to figure out how the server mode works ... |
From: <am...@pt...> - 2003-12-23 04:27:10
|
hi, a couple of requests: a) does this only happen with OSS? b) can you run the following debug procedure: run "osw --debug" type "run" at the next prompt when the segfault happens, type "bt" and e-mail the results to me. Thanks. -Amar > hi, > > i tried to run the 1.1beta4 rpm on redhat fedora 1 / planet ccrma and > ran into several segfaults. > > ... with OSS it segfaults sometimes... > > [root@audio7 root]# osw > OSW - Open Sound World > (c) 2001-2003 Amar Chaudhary > (c) 1998-2001 Regents of the University of California > All rights reserved. See Licence file for full licensing info. > /oss: Initializing OSS Drivers > /audio/0: 12 output_channels. > /audio/0: 12 input channels. > /audio/0: 24 bytes per sample frame. > /audio/0: buffer 2^7 samples (3072 bytes). > /audio/0: could not set new input buffer size. > /audio/0: could not set output sample resolution > /audio/0: could not set input sample resolution > /audio/0: could not set output sample rate. > /audio/0: could not set output sample rate. > No browser preference set, autodetecting... > trying galeon... > trying opera... > trying mozilla... > Setting browser to mozilla > /usr/local/bin/osw: line 56: 12219 Segmentation fault $cmd > [root@audio7 root]# > > > > ... and sometimes not (sample rate of 135890912 Hz?) ... > > [root@audio7 root]# osw > OSW - Open Sound World > (c) 2001-2003 Amar Chaudhary > (c) 1998-2001 Regents of the University of California > All rights reserved. See Licence file for full licensing info. > /oss: Initializing OSS Drivers > /audio/0: 0 output_channels. > /audio/0: 0 input channels. > /audio/0: 0 bytes per sample frame. > /audio/0: buffer 2^7 samples (0 bytes). > /audio/0: could not set new input buffer size. > /audio/0: could not set output sample resolution > /audio/0: could not set input sample resolution > /audio/0: Sample rate is now 44100 Hz. > /audio/0: Sample rate is now 135890912 Hz. > /dock/out: 1: Invalid audio output channel. > /dock/out: 2: Invalid audio output channel. > Output buffer size 0 > /dock/input: 1: Invalid audio input channel. > /dock/input: 2: Invalid audio input channel. > 0 > > [/me closing osw] > > Destroying patch... > Error in startup script: can't invoke "winfo" command: application has > been destroyed > while executing > "winfo screenwidth ." > (object "::Patch::viewview0" method "::View::MakeView" body line 3) > invoked from within > "MakeView" > while constructing object "::Patch::viewview0" in > ::View::constructor (body line 3) > invoked from within > "View view#auto" > (object "::patchObj-/default0" method "::Patch::AssignView" body > line 2) > invoked from within > "AssignView" > while constructing object "::patchObj-/default0" in > ::Patch::constructor (body line 6) > invoked from within > "Patch patchObj-/default$defaultCount -patchClass default -patchInstance > default$defaultCount " > (procedure "oswNewPatch" line 6) > invoked from within > "oswNewPatch" > invoked from within > "if {[llength $commandLineFiles] > 0} { > foreach patch $commandLineFiles { > puts $patch > if {[file extension $patch] == ".osd"} { > StartExterna..." > (file "/usr/local/lib/osw/oswinit.tcl" line 1058) > [root@audio7 root]# > > > ... alsa never starts in GUI mode ... > > [root@audio7 root]# osw -dr alsa > OSW - Open Sound World > (c) 2001-2003 Amar Chaudhary > (c) 1998-2001 Regents of the University of California > All rights reserved. See Licence file for full licensing info. > User requested driver alsa. > Trying ALSA driver... > Using ALSA device hw:0,0 > /audio/0: 32 bits per sample. > /audio/0: Invalid argument > /usr/local/bin/osw: line 56: 12201 Segmentation fault $cmd > [root@audio7 root]# > > > > ... but always works in server mode ... > > [root@audio7 root]# osw -dr alsa --server > OSW - Open Sound World > (c) 2001-2003 Amar Chaudhary > (c) 1998-2001 Regents of the University of California > All rights reserved. See Licence file for full licensing info. > User requested driver alsa. > Trying ALSA driver... > Using ALSA device hw:0,0 > /audio/0: 32 bits per sample. > stream : PLAYBACK > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: Device has 2 output channels. > /audio/0: 32 bits per input sample. > stream : CAPTURE > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: Device has 2 input channels. > /audio/0: 32 bits per sample. > stream : PLAYBACK > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: 32 bits per input sample. > stream : CAPTURE > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: Sample rate is now 44100 Hz. > /audio/0: 32 bits per sample. > stream : PLAYBACK > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: 32 bits per input sample. > stream : CAPTURE > access : RW_INTERLEAVED > format : S32_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 32 > buffer_size : 8192 > period_size : 1024 > period_time : 23219 > tick_time : 1000 > /audio/0: Sample rate is now 44100 Hz. > /audio/0: 32 bits per sample. > /audio/0: Invalid argument > Enabled alsa driver. > Adding UDP server on port 7707 > UDP socket initialized to 255.255.255.255, port 7708. > Starting Thread > UDP socket initialized to 255.255.255.255, port 7706. > Task Process setting priority level 50... 0 : Success. > Task Process setting priority level 49... Starting Thread > 0 : Success. > Watch and Wait... > /scheduler: 0 activations, 9992 interupts > /scheduler: 0 activations, 10001 interupts > > > > ... but i didn't test audio, i have to figure out how the server mode > works ... > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Osw-users mailing list > Osw...@li... > https://lists.sourceforge.net/lists/listinfo/osw-users > |
From: smoerk <sm...@gm...> - 2003-12-23 21:45:12
|
am...@pt... wrote: > hi, a couple of requests: > a) does this only happen with OSS? no, it sometimes happens with oss and always with alsa. > b) can you run the following debug procedure: > > run "osw --debug" > type "run" at the next prompt > when the segfault happens, type "bt" and e-mail the results to me. this doesn't work [root@audio7 root]# osw --debug ------------------------------------------------ Starting OSW using the GDB debugger. Type 'run' to launch program. If OSW crashes, type 'bt' to backtrace. Use Ctl-C to suspend and return to the debugger. Type 'q' to quit. ------------------------------------------------ GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh) Copyright 2003 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 "i386-redhat-linux-gnu"..."/usr/local/lib/osw/oswinit.tcl": not in executable format: File format not recognized (gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command. |