Re: [Discuss-gnuradio] Help on OpenBTS Segmentation Fault
I face the same problem .Is there anyone can handle it? please give some advices to deal with it. Thank you very much. William Sherman-3 wrote: This is about an OpenBTS Running Error. I followed all the instructions on the following page and installed OpenBTS and all the other components needed: gnuradio, asterisk, zoiper, etc. http://gnuradio.org/trac/wiki/OpenBTS/BuildingAndRunning My environment: Ubuntu 8.10 Desktop 32 bits version on an Acer laptop with Intel Pentium Dual-Core T3200. OpenBTS: Build 10776 GNURadio: Build 10776 First I powered up USRP with two RFX900 boards connected in the recommended way. Second, I started asterisk and zoiper. I could see the test user in Zoiper registered with asterisk. Then I started the ./transceiver, the display was: ./Transceiver$ ./transceiver 1238941861.849326 3083531968: creating USRP device... 1238941861.849575 3083531968: making USRP device.. Then I opened another terminal window and started OpenBTS900, the displayed messages were like ./apps$ ./OpenBTS900 1238941919.502511 3081861728: GSMConfig.cpp:86 mSI1Frame primitive=DATA raw=(01010101011110011000111010101011) 1238941919.502693 3081861728: GSMConfig.cpp:95 mSI2Frame primitive=DATA raw=(0101100101111010100011101000) 1238941919.502730 3081861728: GSMConfig.cpp:107 mSI3Frame primitive=DATA raw=(01001001011110111001000101010101001010011011010100011010110010101011001010110010101100101011) 1238941919.502763 3081861728: GSMConfig.cpp:116 mSI4Frame primitive=DATA raw=(0011000101111100100100010101010100101001100010101011001010110010101100101011001010110010101100101011001010110010101100101011) 1238941919.502796 3081861728: GSMConfig.cpp:121 mSI5Frame primitive=UNIT_DATA raw=(011111011000) 1238941919.502821 3081861728: GSMConfig.cpp:129 mSI6Frame primitive=UNIT_DATA raw=(011010010001010101010010100110110010) 1238941919.625639 2986560400: SIPInterface.cpp:147 SIPInterface::drive() blocking on socket ... ... But two seconds later, the ./transceiver program had a segmentation fault. 1238941981.989029 3081862032: radioInterface.cpp:250 converted 864 radio samples into 585 transceiver samples 1238941981.989053 3081862032: radioInterface.cpp:374 FN: 60 1238941981.989070 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 3:61, new size: 5 1238941981.989082 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989101 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 4:61, new size: 6 1238941981.989120 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989136 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 5:61, new size: 7 1238941981.989147 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989157 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 6:61, new size: 8 1238941981.989183 3081862032: increment!!! Segmentation fault It is very consistent this way every time I ran it... It first happened with build 10666 of gnuradio and openbts. Then I uninstalled them and installed build 10776 of both. But the error still exists. Please shed some light on this error and how I should debug. Thanks a lot! -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://www.nabble.com/Help-on-OpenBTS-Segmentation-Fault-tp22894583p23400888.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Help on OpenBTS Segmentation Fault
On Tue, May 05, 2009 at 11:41:07PM -0700, jimmyzhang wrote: I face the same problem .Is there anyone can handle it? please give some advices to deal with it. Thank you very much. Use gdb and figure out where the segfault is occurring, then find out why it's segfaulting, then submit a patch to fix it. http://www.gnu.org/software/gdb/documentation Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help on OpenBTS Segmentation Fault
This is about an OpenBTS Running Error. I followed all the instructions on the following page and installed OpenBTS and all the other components needed: gnuradio, asterisk, zoiper, etc. http://gnuradio.org/trac/wiki/OpenBTS/BuildingAndRunning My environment: Ubuntu 8.10 Desktop 32 bits version on an Acer laptop with Intel Pentium Dual-Core T3200. OpenBTS: Build 10776 GNURadio: Build 10776 First I powered up USRP with two RFX900 boards connected in the recommended way. Second, I started asterisk and zoiper. I could see the test user in Zoiper registered with asterisk. Then I started the ./transceiver, the display was: ./Transceiver$ ./transceiver 1238941861.849326 3083531968: creating USRP device... 1238941861.849575 3083531968: making USRP device.. Then I opened another terminal window and started OpenBTS900, the displayed messages were like ./apps$ ./OpenBTS900 1238941919.502511 3081861728: GSMConfig.cpp:86 mSI1Frame primitive=DATA raw=(01010101011110011000111010101011) 1238941919.502693 3081861728: GSMConfig.cpp:95 mSI2Frame primitive=DATA raw=(0101100101111010100011101000) 1238941919.502730 3081861728: GSMConfig.cpp:107 mSI3Frame primitive=DATA raw=(01001001011110111001000101010101001010011011010100011010110010101011001010110010101100101011) 1238941919.502763 3081861728: GSMConfig.cpp:116 mSI4Frame primitive=DATA raw=(0011000101111100100100010101010100101001100010101011001010110010101100101011001010110010101100101011001010110010101100101011) 1238941919.502796 3081861728: GSMConfig.cpp:121 mSI5Frame primitive=UNIT_DATA raw=(011111011000) 1238941919.502821 3081861728: GSMConfig.cpp:129 mSI6Frame primitive=UNIT_DATA raw=(011010010001010101010010100110110010) 1238941919.625639 2986560400: SIPInterface.cpp:147 SIPInterface::drive() blocking on socket ... ... But two seconds later, the ./transceiver program had a segmentation fault. 1238941981.989029 3081862032: radioInterface.cpp:250 converted 864 radio samples into 585 transceiver samples 1238941981.989053 3081862032: radioInterface.cpp:374 FN: 60 1238941981.989070 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 3:61, new size: 5 1238941981.989082 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989101 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 4:61, new size: 6 1238941981.989120 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989136 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 5:61, new size: 7 1238941981.989147 3081862032: radioInterface.cpp:374 FN: 61 1238941981.989157 3081862032: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 6:61, new size: 8 1238941981.989183 3081862032: increment!!! Segmentation fault It is very consistent this way every time I ran it... It first happened with build 10666 of gnuradio and openbts. Then I uninstalled them and installed build 10776 of both. But the error still exists. Please shed some light on this error and how I should debug. Thanks a lot! -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help with OpenBTS
I have problem with segmentation fault when executing the binary ./transceiver and ./OpenBTSxxx together... the output binary's: ./transceiver: 1235159974.196907 3084109504: creating USRP device... 1235159974.197083 3084109504: making USRP device.. 1235159975.017775 3084037008: set RX: 780.00 actual RX: 779.997020 1235159975.030025 3084037008: set TX: -320.00 actual TX: -320.762939 1235159975.099702 3084037008: starting radio interface... 1235159975.116884 3084037008: radio interface started! 1235159975.121985 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 0:0 1235159975.122125 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 1:0 1235159975.122158 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 2:0 1235159975.122197 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 3:0 1235159975.122417 3083897744: Starting USRP 1235159975.122429 3083897744: starting USRP... 1235159975.124900 3083897744: TX pgas: 0.00, 0.00 1235159975.129035 3083897744: USRP started 1235159975.129143 3083897744: radioInterface.cpp:173 converted 585 transceiver samples into 864 radio samples 1235159975.129171 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 4:0 1235159975.129190 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 5:0 1235159975.129206 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 6:0 1235159975.129224 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 7:0 1235159975.129432 3083897744: radioInterface.cpp:173 converted 585 transceiver samples into 864 radio samples 1235159975.129449 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 0:1 1235159975.129464 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 1:1 1235159975.129480 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 2:1 1235159975.129496 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 3:1 1235159975.129718 3083897744: radioInterface.cpp:173 converted 585 transceiver samples into 864 radio samples 1235159975.129739 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 4:1 1235159975.129755 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 5:1 1235159975.129770 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 6:1 1235159975.129946 3083897744: radioInterface.cpp:173 converted 585 transceiver samples into 864 radio samples 1235159975.129962 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 7:1 1235159975.131227 3083828112: radioInterface.cpp:250 converted 864 radio samples into 585 transceiver samples 1235159975.131280 3083828112: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 1:0, new size: 0 1235159975.131295 3083828112: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 2:0, new size: 0 1235159975.131308 3083828112: radioInterface.cpp:382 receiveFIFO: wrote radio vector at time: 3:0, new size: 0 1235159975.131374 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 0:2 1235159975.131413 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 1:2 1235159975.131444 3083897744: radioInterface.cpp:336 transmitFIFO: read radio vector at time: 2:2 1235159975.131632 3083897744: radioInterface.cpp:173 converted 585 transceiver samples into 864 radio samples Falha de segmentação (core dumped) the dump file from GDB: #0 0xb7db6bb6 in memcpy () from /lib/tls/i686/cmov/libc.so.6 #1 0x4e00 in ?? () #2 0xb7feb851 in usrp_basic_rx::read (this=0xb7ce7000, buf=0xb7ce2210, len=82432, overrun=0x9e61749) at usrp_basic.cc:942 #3 0x08058ef2 in USRPDevice::readSamples (this=0x9e311d0, buf=0xb7cf6550, len=864, overrun=0x9e61749, timestamp=20864, underrun=0xb7cf72e7, RSSI=0x0) at USRPDevice.cpp:314 #4 0x0804b46f in RadioInterface::pullBuffer (this=0x9e61550) at radioInterface.cpp:208 #5 0x0804ecb2 in RadioInterface::driveReceiveRadio (this=0x9e61550) at radioInterface.cpp:353 #6 0x0804f780 in ReceiveRadioServiceLoopAdapter (radioInterface=0x9e61550) at radioInterface.cpp:310 #7 0xb802b50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #8 0xb7e1fa0e in clone () from /lib/tls/i686/cmov/libc.so.6 any help?? -- *Bruno Engelbert* /Estagiário Nível Superior/ /DDT - PSN - Produtos e Serviços Networking/ *DÍGITRO TECNOLOGIA* *E-mail:* bruno.engelb...@digitro.com.br mailto:bruno.engelb...@digitro.com.br *Fone:* +55 48 3281- / +55 48 3281-7000 *Fax:* +55 48 3281-7299 *Site:* www.digitro.com http://www.digitro.com /Antes de imprimir pense na sua responsabilidade e compromisso com o meio ambiente/ -- Esta mensagem foi verificada pelo sistema de antivírus da Dígitro Tecnologia
Re: [Discuss-gnuradio] Help with OpenBTS
Hello! There is an OpenBTS discussion list (- http:// openbts.sourceforge.net/). I think the problem is solved by changing file Thread.h (folder CommonLibs) line const static size_t mStackSize=65536; to const static size_t mStackSize=4*65536; Regards -Fabian- ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio