WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Segmentation Fault in gparted since tce-update  (Read 6974 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Segmentation Fault in gparted since tce-update
« on: October 23, 2012, 01:24:15 PM »
H'mmm,  seems like some dep is missing since running tce-update, because multiple errors since update.  some fixed by downloading xz.tcz to OnBoot.lst, but everyday this week something else gets ugly.   Today,  Segmentation Fault reported when attempting to run gparted since using tce-update to update tcz's

have uninstalled gparted and reinstalled, problem persists ??

Have updated dep's and tcz's

« Last Edit: October 23, 2012, 01:35:03 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #1 on: October 23, 2012, 01:41:38 PM »
Actually the situation is worse than I first feared,  checking on other apps we find they will not run either.. 

apps like

firefox
shiretoko
pcmanfm
gedit
gparted


This sounds familiar..  will have to revisit recent threads i think

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Segmentation Fault in gparted since tce-update
« Reply #2 on: October 23, 2012, 02:06:39 PM »
You should update deps,  then install missing deps.
Then you can update apps without problems.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #3 on: October 23, 2012, 02:28:15 PM »
thank you Gerald, yes that is the order I update with (usually)

have updated the dep's
no missing deps reported
and no updates available


yet the list of apps above (earlier post) all produce the " segmentation fault "  when attempting to run each and any of them.

I wonder is the glib2-dev was updated simultaneously with glib2 , both are installed..?
« Last Edit: October 23, 2012, 02:29:49 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #4 on: October 23, 2012, 02:52:40 PM »
Nothing else left for me to do, so restored  glib2.tcz and libxml2.tcz and all is well again,,, PHEW!!


All apps open without crashing with the " Segmentation Fault " error

 ;D
« Last Edit: October 23, 2012, 02:55:29 PM by coreplayer2 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Segmentation Fault in gparted since tce-update
« Reply #5 on: October 23, 2012, 02:57:12 PM »
Funny, some of those same programs were missing the xz.tcz after updating deps on my system.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #6 on: October 23, 2012, 03:00:40 PM »
I'd already added xz.tcz to the onboot.lst but in the end that didn't resolve the issue

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Segmentation Fault in gparted since tce-update
« Reply #7 on: October 24, 2012, 05:59:10 PM »
There shouldn't still be a problem, as xz.tcz was added to libxml2.tcz.dep albeit a few hours after the libxml2 update.   All is working fine here, is anyone else having an issue?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #8 on: October 24, 2012, 07:37:38 PM »
I restored the old versions of glib2.tcz and libxml2.tcz and sanity restored :)

Just a thought, I wonder if a conflict with having the old version of glib2-dev installed and the updated glib2 also installed.  looks like both have been updated in the repository will try updating again.

On the other hand glib2 may not be related.. 
« Last Edit: October 24, 2012, 07:41:35 PM by coreplayer2 »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Segmentation Fault in gparted since tce-update
« Reply #9 on: October 24, 2012, 08:12:18 PM »
I had typos in the glib2 info files, but they were all updated.  Should all be good.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #10 on: October 25, 2012, 12:52:21 AM »
Ok have deleted old related extensions & dep lists, updated dep files, fetched missing deps and scanned for updates..

the confusion over the xv.tcz extension was apparently the issue, which appears to be fixed.

All is good now thank you Jason   8)



« Last Edit: October 25, 2012, 12:55:30 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #11 on: June 13, 2013, 10:15:40 PM »
About once a month I tackle another system update.  While it's probably a moot point with TC-5.0 on the horizon, I still have catastrophic " Segmentation Faults " when opening several applications immediately after an extension update is completed.

the culprit is

glib2.tcz

After updating from the repo most installed apps refuse to start and when run from the terminal most result in a Segmentation Fault.   These are some of the effected applications

Shiretoko
gparted
leafpad
meld
gimp2
PCmanFM
Xarchiver
etc. etc..


Restoring original version of glib2.tcz  and rebooting completely resolves the issue
this version is trouble free

1417216 Apr  5  2012 glib2.tcz

the dep files are identical

With these original files installed, all my updated TC-4.7.7 systems are once again totally reliable
« Last Edit: June 13, 2013, 10:41:05 PM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Segmentation Fault in gparted since tce-update
« Reply #12 on: June 14, 2013, 12:29:37 AM »
the md5sum for glib2.tcz checks out OK on the server and is the same as my local glib2, which does not give problems.

Given your problems, it might be worth verifying that tce/optional and tce/optional/upgrade are both owned by tc:staff and that your partion e2fsck is OK?

Code: [Select]
$ cat glib2.tcz.md5.txt
5db8f6ab7a9a773fc20fd35ae0689711  glib2.tcz
« Last Edit: June 14, 2013, 12:31:49 AM by Juanito »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #13 on: June 14, 2013, 04:07:35 AM »
yes ownership and file system are good on all systems which exhibit this issue,  have many systems where this segmentation fault is reproducible. 

I felt for the longest time this issue was caused by either glib2 or libxml2 and have never been able to pinpoint the culprit.   However today and at least on this particular system i can reliably reproduce the phenomena by simply updating glib2 then replacing it with the older version to return normal use of other applications.     For sure there is a conflict with another extension which is the real cause, considering my systems which display this issue have installed similar if not the same set of extensions in the onboot.lst. 



the issue with the upgrade directory, ok may have been self induced.     I remembered that to prevent the update process from unintentionally updating glib2 I had set glib2's immutable bit which most probably prevented tc from processing the files in this directory.  A small detail which I had forgotten about, I'm sure I'm not the first to do that.


thanks
« Last Edit: June 15, 2013, 03:17:29 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Segmentation Fault in gparted since tce-update
« Reply #14 on: June 15, 2013, 03:10:06 PM »
I should clarify, the current glib2.tcz does not cause the issue, but is merely the catalyst.  When booted with an alternative test base onboot.lst there is no conflict with latest glib2 and the previously effected extensions load perfectly.

There is an extension or more than one in my current onboot.lst which is at conflict when the latest glib2.tcz is loaded,  resulting in a segmentation fault attempting to load many effected applications.   I should write a script to load each extension in the onboot.lst (which contains the real culprit) when booted to an alternative base onboot.lst and then test each effected application

have corrected my above post
« Last Edit: June 15, 2013, 03:16:48 PM by coreplayer2 »