WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Apps/tce-audit Segmentation Fault [SOLVED]  (Read 3648 times)

Pseudoman

  • Guest
Apps/tce-audit Segmentation Fault [SOLVED]
« on: January 09, 2013, 11:02:42 PM »
I just installed TC on my netbook (I have been running TC from a USB stick for a few years now) and imported my tcz's from another installation.
Trying to use the Apps program to delete unwanted extensions causes problems. I tried
Code: [Select]
tce-audit builddbDoing so yielded a string of periods and a "segmentation fault."
I could manually remove the extensions, but I don't think that it would resolve any underlying problems with my system.
Any suggestions?
« Last Edit: January 10, 2013, 05:08:13 PM by Pseudoman »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14848
Re: Apps/tce-audit Segmentation Fault
« Reply #1 on: January 10, 2013, 01:19:01 AM »
Did you check that your new /tce folder is tc:staff?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Apps/tce-audit Segmentation Fault
« Reply #2 on: January 10, 2013, 06:11:06 AM »
It's either memory corruption or a bug. Please try to find which command does that, and with which argument exactly.

You can do that by editing tce-audit - make the first line "#!/bin/sh -x" and then run it again.
The only barriers that can stop you are the ones you create yourself.

Pseudoman

  • Guest
Re: Apps/tce-audit Segmentation Fault
« Reply #3 on: January 10, 2013, 10:25:53 AM »
ls -l produces the following line for /mnt/sda1/tce/optional:
Code: [Select]
drwxrwxr-x    2 tc       staff        36864 Jan  9 21:03 optional/
So, it looks like the permissions and ownership are correct.

I will report back with the results of testing tce-audit

Pseudoman

  • Guest
Re: Apps/tce-audit Segmentation Fault
« Reply #4 on: January 10, 2013, 10:33:08 AM »
Code: [Select]
+ EXT=aspell-en.tcz
+ busybox grep -q ^aspell-en.tcz$ /tmp/tce.dep.lst
+ [ 0 == 0 ]
+ deps=
+ [ -f aspell-en.tcz.dep ]
+ cat aspell-en.tcz.dep
+ deps=aspell.tcz
+ local_recursive_scan aspell.tcz
+ EXT=aspell.tcz
+ busybox grep -q ^aspell.tcz$ /tmp/tce.dep.lst
+ [ 0 == 0 ]
+ deps=
+ [ -f aspell.tcz.dep ]
+ cat aspell.tcz.dep
+ deps=aspell-en.tcz
ncursesw.tcz
+ local_recursive_scan aspell-en.tcz
Segmentation fault
+ busybox sort -f tce.lst
+ mv /tmp/sort.6880 tce.lst
+ echo

+ [ -s /tmp/audit_results.txt ]
Here's the last screen of lines produced by applying the changes you mentioned, curaga.

Pseudoman

  • Guest
Re: Apps/tce-audit Segmentation Fault
« Reply #5 on: January 10, 2013, 10:59:20 AM »
Well curaga, looks like you pointed me in the right direction. I figured that since the segmentation fault occurred after the aspell extensions, that they might be cause of things.
So, I manually removed them.
That seems to have fixed things.
Thanks for the help, and thanks for showing me that neat "sh -x" trick!

aus9

  • Guest
Re: Apps/tce-audit Segmentation Fault [SOLVED]
« Reply #6 on: January 10, 2013, 05:36:58 PM »
I did cause a problem with aspell and posted a warning message in the tce section
http://forum.tinycorelinux.net/index.php/topic,14607.0.html

if you are using http://mirrors.163.com/tinycorelinux/ can you download mirrors.tcz (or load it) and strongly suggest you change to a diff mirror please

I believe the issue for 163 is it may not sync as frequently as the others, no offence to their good work in agreeing to mirror.

AFAIK all other mirrors for aspell are good

YMMV
« Last Edit: January 10, 2013, 07:27:56 PM by aus9 »