DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st June 2008
sheriff26 sheriff26 is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default mc core dump in root

hi all ...
I have a strange problem.
I use a lot mc. Work fine ...
but if i'm in root, when i want to run it, i recive a Segmentation fault (core dumped) error mess.

In other non-root users work perfectly.

Any idea ?

Sorry for my english.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 21st June 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

I dont' know what 'mc' is but if you run it with 'gdb' you can find the problem
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #3   (View Single Post)  
Old 21st June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I am unable to reproduce the problem.

Which options did you use?
# cd /usr/ports/misc/mc && showoptions

You can use gdb to trace the problem, but you will first need to recompile mc with debug flags:
# cd /usr/ports/misc/mc && make deinstall install -DWITH_DEBUG

Then use:
# gdb mc

In the gdb prompt type run.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 21st June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

try:
# mv .mc .mc.bak

Last edited by ephemera; 21st June 2008 at 02:44 PM.
Reply With Quote
  #5   (View Single Post)  
Old 21st June 2008
sheriff26 sheriff26 is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

It's working .. but i don't know why
mc = midnight commander

Thanks a lot
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I get a core file out of this program TerryP FreeBSD General 4 25th February 2009 07:28 AM
Dump dates wrong? cwhitmore FreeBSD General 2 17th August 2008 08:49 PM
PHP Dumping Core Every 15 seconds?? Michael FreeBSD General 2 21st June 2008 08:17 PM
Dual core and FreeBSD ViperChief FreeBSD General 13 2nd June 2008 08:30 PM
backing up via 'dump'... Damien787 FreeBSD General 5 8th May 2008 01:05 AM


All times are GMT. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick