WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Application segmentation fault after rebuilding kernel  (Read 3676 times)

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 778
Re: Application segmentation fault after rebuilding kernel
« Reply #15 on: December 01, 2023, 05:05:01 AM »
@settimid: Good morning!
Just for sake of thoroughness, please go to the command line and enter
Code: [Select]
date which should give you today's date, and
Code: [Select]
time which should just give you the help instructions for the time() function from within busybox.
The above "tests" should take busybox itself out of the equation, leaving:

Red-Hat VDSO Seg-Fault
gettimeofday() and why does one cause seg...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Application segmentation fault after rebuilding kernel
« Reply #16 on: December 01, 2023, 06:08:01 AM »
Hi curaga
Then he would need the initrd from TC4 since it also contains
modules. Plus modify dependency files that call extensions by
kernel version number instead of KERNEL,

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Application segmentation fault after rebuilding kernel
« Reply #17 on: December 01, 2023, 11:00:38 AM »
Was KERNEL introduced after that version? In that case it would indeed be more effort.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Application segmentation fault after rebuilding kernel
« Reply #18 on: December 01, 2023, 11:11:19 AM »
Hi curaga
I just checked tce-load for TC3 and TC4.
TC3 uses a  sed  command to handle  KERNEL:
Code: [Select]
KERNELVER=$(uname -r)
        sed -i "s@KERNEL@$KERNELVER@" $1

TC4 uses this:
Code: [Select]
APPNAME="${APPNAME/-KERNEL/-${KERNELVER}}"
I brought it up because I think I've seen kernel version numbers
used in some .dep files.