Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-20-2013, 10:07 PM   #1
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 383
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Segmentation faults running most programs

I was playing around, now I'm in a pickle:

Tons of programs give me a "Segmentation fault". I have a modified /etc/profile that loads /mnt/us/.bashrc that loads all my other directories, libs, and binaries in /mnt/us/usr and /mnt/us/bin ...

anything I can do other than kubrick?

even /bin/vi is a Seg fault...

I rebooted the Kindle multiple times (3 or 4).
brianinmaine is online now   Reply With Quote
Old 04-20-2013, 10:20 PM   #2
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,689
Karma: 5850008
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by brianinmaine View Post
I was playing around, now I'm in a pickle:

Tons of programs give me a "Segmentation fault". I have a modified /etc/profile that loads /mnt/us/.bashrc that loads all my other directories, libs, and binaries in /mnt/us/usr and /mnt/us/bin ...

anything I can do other than kubrick?

even /bin/vi is a Seg fault...

I rebooted the Kindle multiple times (3 or 4).
What one thing is common to all of the failing programs ?

That was a rhetorical question.
The "C" library.

Is there among all of the things you have added, a non-Amazon "C" library ?
If so, remove it.

If you system is now too crippled to run the commands you probably need to un-do whatever you have done - - -
Then you could try placing a **STATICALLY LINKED** copy of Busybox on the system and use it's shell and utilities.

OR

KUBRICK back to a known starting point.
knc1 is offline   Reply With Quote
Old 04-20-2013, 10:25 PM   #3
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 383
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Twobob PMed me and suggested the same - rename my custom .bashrc to go back to the system libs and work from there. Trying now. Thanks for the help!

Edit: oh, yeah! that at least lets me run the builtin stuff. Now to track down the mess I made! Thanks AGAIN!

Last edited by brianinmaine; 04-20-2013 at 10:29 PM.
brianinmaine is online now   Reply With Quote
Old 04-21-2013, 01:36 AM   #4
aditya3098
Vala
aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.aditya3098 ought to be getting tired of karma fortunes by now.
 
aditya3098's Avatar
 
Posts: 592
Karma: 1578840
Join Date: Jan 2012
Location: Valinor
Device: Kindle touch (hacked to the core) 5.3.2.1
Also, try running "mntus --fsck umount", and then rebooting.

I need to do that all the time. For some reason, debian wheezy corrupts my kindle as soon as I plug it in.

Last edited by aditya3098; 04-21-2013 at 01:42 AM.
aditya3098 is offline   Reply With Quote
Old 04-21-2013, 10:23 PM   #5
brianinmaine
Addict
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 383
Karma: 1277063
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by aditya3098 View Post
Also, try running "mntus --fsck umount", and then rebooting.

I need to do that all the time. For some reason, debian wheezy corrupts my kindle as soon as I plug it in.
All is better now. I had copied another libc to my path, I removed it and now all is as before. Thanks for the help, I was very concerned I really broke something, glad it was really a minor thing!
brianinmaine is online now   Reply With Quote
Old 04-21-2013, 10:32 PM   #6
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,689
Karma: 5850008
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by brianinmaine View Post
All is better now. I had copied another libc to my path, I removed it and now all is as before. Thanks for the help, I was very concerned I really broke something, glad it was really a minor thing!
sometimes, even a crazy old man makes a lucky guess:
https://bitbucket.org/knc1
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple programs running ronaldl Sigil 5 12-05-2012 09:30 AM
Segmentation Fault bowsprit Calibre 4 12-28-2010 04:13 AM
Segmentation Fault after Qt upgrade reader42 Calibre 8 03-21-2010 06:58 PM
New Calibre install won't start/seg faults on Ubuntu 9.10 64-bit lizajane999 Calibre 4 02-06-2010 02:42 PM
Segmentation fault weedfreak Calibre 10 10-01-2009 02:47 PM


All times are GMT -4. The time now is 04:46 AM.


MobileRead.com is a privately owned, operated and funded community.