All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Segmentation Fault uMPX
PostPosted: Mon Mar 15, 2021 9:49 pm 
User avatar

Joined: Mon Nov 30, 2015 5:05 pm
Posts: 23
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


Top
   
PostPosted: Wed Mar 17, 2021 10:29 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11211
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.20210317
Then 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.


Top
   
PostPosted: Wed Mar 17, 2021 7:57 pm 
User avatar

Joined: Mon Nov 30, 2015 5:05 pm
Posts: 23
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) y
Quick 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.


Top
   
PostPosted: Fri Mar 19, 2021 9:24 pm 
User avatar

Joined: Mon Nov 30, 2015 5:05 pm
Posts: 23
I think its due to the hardware revision of the Pi. On my Pi 4 it runs like a charm!


Top
   
PostPosted: Mon Mar 29, 2021 9:36 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11211
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited