Segmentation fault (core dumped)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Segmentation fault (core dumped)

Post by metro » Thu Apr 12, 2018 10:57 pm

Hi, I'm in need of some sdvice,
Today I removed my hard drive from my old computer and placed it in a faster Dell 990 sff i7
I then re-installed from a live CD
updated everything and almost everything works as expected but...
when I try to start my RunBasic program http://www.runbasic.com/
I get nothing, so I run it via a terminal after a CD to the correct folder
then I get.... Segmentation fault (core dumped)

Ive been using the software for 8 or more years and never experienced this.
can anyone advise how I can trace the error to find the cause

thanks in advance
metro

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Fri Apr 13, 2018 8:14 am

After some playing with Virtualbox and Pclinuxos the program works fine
and up until the upgrade to Mint 18.3 it has worked fine
I would like to know where to look for error messages to solve this

User avatar
Flemur
Level 16
Level 16
Posts: 6118
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Segmentation fault (core dumped)

Post by Flemur » Fri Apr 13, 2018 5:03 pm

metro wrote:
Fri Apr 13, 2018 8:14 am
After some playing with Virtualbox and Pclinuxos the program works fine
How are Virtualbox and Pclinuxos involved with the RunBasic problem?
Generally -
- reinstall the program, and/or
- move (=rename) or delete any .conf/etc files for the program under you $HOME so it gets a fresh start.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Fri Apr 13, 2018 11:43 pm

thanks for taking the time Flemur
the reference to Virtualbox and PClinuxos was to demonstrate that runbasic works with PcLinuxos
and up until the latest update worked flawlessly with Mint 18.3 64bit
I renamed the rb101 folder and copied the original software from 2008 , there is no install process its a simple copy and paste

I still get the same error
frustrating

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Fri Jul 20, 2018 11:36 pm

I have not yet solved this problem, today I did a fresh install of Mint 19. I expected the problem was related to the last update I did with my Mint 18.3 (64)
back in April.
I have been running runbasic in a virtual machine (32bit) but it is annoying to have to start another distro.
I wonder if anyone can decipher the last entry in my syslog and offer an idea as to how I may fix the problem.

Thanks in advance
Jul 21 11:17:41 Dell dbus-daemon[1177]: [session uid=1000 pid=1177] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.91' (uid=1000 pid=4742 comm="/usr/bin/gnome-terminal.real
" label="unconfined")
Jul 21 11:17:41 Dell systemd[1129]: Starting GNOME Terminal Server...
Jul 21 11:17:41 Dell dbus-daemon[1177]: [session uid=1000 pid=1177] Successfully activated service 'org.gnome.Terminal'
Jul 21 11:17:41 Dell systemd[1129]: Started GNOME Terminal Server.
Jul 21 11:18:04 Dell kernel: [ 1463.551806] show_signal_msg: 11 callbacks suppressed
Jul 21 11:18:04 Dell kernel: [ 1463.551808] rbp[4760]: segfault at 9f0b0da1 ip 00000000080ac563 sp 00000000ffd1e8b4 error 4 in rbp[8048000+a0000]

PS rbp is the startup sript for runbasic

User avatar
trytip
Level 8
Level 8
Posts: 2152
Joined: Tue Jul 05, 2016 1:20 pm

Re: Segmentation fault (core dumped)

Post by trytip » Fri Jul 20, 2018 11:58 pm

it says something about kernel. try a different one
Image

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Sat Jul 21, 2018 12:52 am

thanks trytip
is it smart to down grade to old kernel with the latest version of Mint
if so how is it done
I've held down the left Ctrl key whilst re-booting
but there is no menu, goes straight to log-in

User avatar
trytip
Level 8
Level 8
Posts: 2152
Joined: Tue Jul 05, 2016 1:20 pm

Re: Segmentation fault (core dumped)

Post by trytip » Sat Jul 21, 2018 1:40 am

not sure why you don't have a grub menu , usually the Shift key is to bring menu.. did you install a kernel or did you already have one laying around. not sure how 18.3 is on kernels 4.9.113 is an LTS kernel available in ukuu
you say latest version of mint ? are you using 18 or 19?
Image

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Sat Jul 21, 2018 1:53 am

Thanks for taking the time trytip
Distribution: Linux Mint 19 Tara
Architecture: amd64
Running kernel: 4.15.0-29-generic
Kernel version: 4.15.0.29.31
Cache: /home/laurie/.cache/ukuu
Temp: /tmp/ukuu/jtF6uxKV
----------------------------------------------------------------------
Found installed: 4.15.0-24.26
Found installed: 4.15.0-29.31
Found installed: 4.15.0.29.31
Found installed: 4.15.0-20.21

so do I just remove all but the one I want to keep ?
or is it possible to just get the system to use the one I want (4.15.0-20.21)
which if I remember was the last time runbasic worked with 64bit system (i386 updated)
runbasic works fine with Linux Mint 32bit Xfce on my little intel Atom desktop
but I want 64bit for my main desktop to be able to use the extra ram
sorry about the Noob questions

User avatar
thx-1138
Level 6
Level 6
Posts: 1162
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Segmentation fault (core dumped)

Post by thx-1138 » Sat Jul 21, 2018 8:46 am

metro wrote:
Sat Jul 21, 2018 1:53 am
.................................
...from the above, i'm a bit confused in regards under which architectures and/or kernel versions you had this running successfully.

On a Mint 18.3, 64-bit, with merely a very few 'basic' 32-bit libs installed...
ldd rbp
linux-gate.so.1 => (0xf7f9c000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7f62000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7f59000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7f54000)
libX11.so.6 => not found
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7eff000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf7ee3000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7d2d000)
/lib/ld-linux.so.2 (0xf7f9e000)
So, in my case, my best bet would be to sudo apt-get install libx11-6:i386

Ie. that's more or less where i'd be looking for at first...
Alternatively, you could try sudo apt-get install ia32-libs to grab a bunch of 32-bit libs at once:
from what i see, that package still exists for Mint 19 64-bit.

This is pretty old software, (...no guarantee it will work properly after a decade), Nov 4 2008 according to the readme.txt...

metro
Level 1
Level 1
Posts: 27
Joined: Sat Mar 05, 2016 5:43 am

Re: Segmentation fault (core dumped)

Post by metro » Sat Jul 21, 2018 9:33 am

thanks thx-1138,
RunBasic was working with 18.3 64bit.
when I loaded up a new(secondhand) desktop (in April) with 18.3(64bit) and did an update after the install I started to get the seg error
I also did update the 18.3(64) with 32 bit libs and that did not help

With the fresh install of Mint 19 I did sudo apt-get install ia32-libs
no help there either.

I may just have to accept the 32bit version but then 8gig of ram is overkill

User avatar
trytip
Level 8
Level 8
Posts: 2152
Joined: Tue Jul 05, 2016 1:20 pm

Re: Segmentation fault (core dumped)

Post by trytip » Sat Jul 21, 2018 10:44 am

i'm confused as well :? i only suggested you use ukuu to install a kernel lower than 4.15 but if you already had it installed why not boot with 4.15.0-20 the one you say it used to work with runbasic?
with ukuu or the mint kernel utility from software updates you can remove any kernel other than the one you are currently on.

on my mint19 i have the default kernel 4.15.0-20 which i keep and i use ukuu to install and run the latest. so i have the oldest and newest installed, anything in between i don't keep
Image

Post Reply

Return to “Software & Applications”