|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Segmentation fault
hi
why using freecolor -o on my freeBSD 7.0 , I get Segmentation fault ? Code:
bsd# freecolor -o total used free shared buffers cached Mem: 509852 175180 334672 0 0 268 Swap: 2048000 0 2048000 Segmentation fault |
|
|||
thx, but could you pls give some more details, how this should work ?
Last edited by ccc; 25th June 2008 at 12:07 AM. |
|
|||
I've done:
Code:
# echo 'WITH_DEBUG=yes' >> /etc/make.conf # cd /usr/ports/sysutils/freecolor # make deinstall clean # make install clean Code:
# freecolor -o total used free shared buffers cached Mem: 509852 168140 341712 0 0 360 Swap: 2048000 0 2048000 # should I leave WITH_DEBUG=yes in /etc/make.conf ? |
|
|||
Leaving WITH_DEBUG in will just compile the ports with debugging info. As a user you're generally not going to need it (i.e. a waste of your time)
10 to 1, it was the reinstall of freecolor that fixed it, not that you compiled it with WITH_DEBUG. |
|
|||
That is odd. I don't use freecolor myself so I didn't actually check.
|
|
||||
Ah, the ever-unpopular heisenbug.
When I had one of them, it turned out to be an uninitialized variable. Building it with debug zeroed off the variable, and things worked. Mind you, that was my own code, and own mistake. Best of luck tracking it down!
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault error139 | delboy | FreeBSD Ports and Packages | 8 | 9th July 2009 06:32 PM |
page fault error 12 | Mr-Biscuit | FreeBSD General | 2 | 23rd December 2008 11:58 AM |
MYSQL 's fault? | disappearedng | FreeBSD General | 3 | 14th October 2008 11:53 PM |
Segmentation fault (11) - Apache | ijk | FreeBSD Ports and Packages | 16 | 15th July 2008 11:04 AM |
MySQL C library - segmentation fault on mysql_select_db() when using CC optimisation | gor | OpenBSD Packages and Ports | 7 | 10th June 2008 11:42 PM |