Stereo Tool https://forums.stereotool.com/ |
|
Segmentation Fault uMPX https://forums.stereotool.com/viewtopic.php?t=30322 |
Page 1 of 1 |
Author: | kj_dunnink [ Mon Mar 15, 2021 9:49 pm ] |
Post subject: | Segmentation Fault uMPX |
Hello, tried to install the latest release of the 32-bit micrompx decoder tonight (version for raspberry) and got a segmentation fault. Code: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Code: sudo ./MicroMPX_Decoder_ARM32 Segmentation fault |
Author: | hvz [ Wed Mar 17, 2021 10:29 am ] |
Post subject: | Re: Segmentation Fault uMPX |
Thanks for reporting this! I've tested it here on different Pi's (2, 3 and 4) without any issues. So, I need more info to figure out what's wrong. Did you upgrade from an earlier MicroMPX version that worked? Or is this a fresh install? If you upgraded from an earlier, version, *maybe* something in the settings is triggering this. Please try the following: - Go to your home directory, and rename the file .MicroMPX_Decoder.rc to something else, for example Code: mv .MicroMPX_Decoder.rc .MicroMPX_Decoder.rc.20210317Then try to start MicroMPX again. If this solves the issue, please send me the old settings file so we can try to reproduce it here. If this doesn't help, please try the following: Code: gdb ./MicroMPX_Decoder_ARM32 run bt disassemble quit(So, you start 'gdb' with MicroMPX_Decoder_ARM32 as argument, this will give you a new prompt "(gdb)" after which you can type the other 4 commands) And paste the error message (last line from run) and the output of bt and disassemble here. |
Author: | kj_dunnink [ Wed Mar 17, 2021 7:57 pm ] |
Post subject: | Re: Segmentation Fault uMPX |
Code: pi@raspberrypi:~ $ gdb ./MicroMPX_Decoder_ARM32 GNU gdb (Raspbian 8.2.1-2) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./MicroMPX_Decoder_ARM32...(no debugging symbols found)...d one. (gdb) run Starting program: /home/pi/MicroMPX_Decoder_ARM32 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00143104 in ?? () (gdb) bt #0 0x00143104 in ?? () #1 0x00000010 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) disassemble No function contains program counter for selected frame. (gdb) quit A debugging session is active. Inferior 1 [process 544] will be killed. Quit anyway? (y or n) yQuick note, I'm using a raspberry pi 1B+. Oldie, but with the latest released Raspbian. I also downloaded an older version of the Decoder but it gives the same error. |
Author: | kj_dunnink [ Fri Mar 19, 2021 9:24 pm ] |
Post subject: | Re: Segmentation Fault uMPX |
I think its due to the hardware revision of the Pi. On my Pi 4 it runs like a charm! |
Author: | hvz [ Mon Mar 29, 2021 9:36 pm ] |
Post subject: | Re: Segmentation Fault uMPX |
You need at least a Pi 2, we're using instructions that the Pi 1 doesn't support. So it makes sense that it crashes. |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |