N
N
NeOn4eG2011-02-06 21:00:46
ubuntu
NeOn4eG, 2011-02-06 21:00:46

Ubuntu 10.04. Segmentation fault?

It seems that after updating some packages there was a "Segmentation fault" problem. Some applications won't start, e.g. Apache, Samba...

/etc/init.d/apache2 restart<br/>
* Restarting web server apache2<br/>
Segmentation fault [fail]

apt-get update<br/>
E: Method http has died unexpectedly!<br/>
E: Нарушение защиты памяти (segmentation fault) в порождённом процессе http.<br/>
E: Method http has died unexpectedly!<br/>
E: Нарушение защиты памяти (segmentation fault) в порождённом процессе http.<br/>
E: Method http has died unexpectedly!<br/>

Googled. Yandexil. :) Did not help.
Please tell me what is the problem...

Answer the question

In order to leave comments, you need to log in

10 answer(s)
E
Eugene, 2011-02-07
@immaculate

First of all, I would check the iron. Ubuntu has memtest86 in the boot menu. From experience, I can say that some errors appear after half an hour of testing (depending on the speed of the processor and memory, as well as its volume), for some, I heard, after a day of testing.
Then I would launch strace on falling commands.
I would also manually go to the packages.ubuntu.com site, and if there is a newer version of libc, I would try to download and install it manually (dpkg -i if dpkg does not crash).

N
NeOn4eG, 2011-02-07
@NeOn4eG

Still relevant. Fresh ideas are welcome. :)

D
dgeliko, 2011-02-06
@dgeliko

Updates rolled from the official repository? or did they cut some other one and the “smart” aptitude set up everything he wanted?

L
Lev Lybin, 2011-02-06
@lybin

What kernel version? After the update and the first reboot it became?

N
NeOn4eG, 2011-02-07
@NeOn4eG

still relevant :(

V
Veshij, 2011-02-07
@Veshij

dmesg will show something interesting?

G
Gleb Severov, 2011-02-07
@SLEPOI

Typically, a segmentation fault causes an error when the program is working with memory. Treated by the developer. Occasionally, due to differences in platforms, it goes away after rebuilding the program from source on a specific hardware configuration. You can try, but no guarantee of success. If a 64-bit system is a problem in this, it may be ... it’s better to put a 32 bit

V
ValdikSS, 2011-02-07
@ValdikSS

prelink? Yesterday's bug in gent: if there is a prelink on the new glibc, then the programs do not start, and when rebooting, the system does not start.
bugs.gentoo.org/show_bug.cgi?id=353814

V
Vsevolod, 2011-03-15
@sevka_fedoroff

Same stuff. Ubuntu 10.04, 32bit. Flash crashes on YouTube always in Chrome and FF (only HTML5 mode saves), sometimes Evince crashes on some DJVUs, always crashes when loading Hugin.
I see that there is a segmentation fault everywhere, according to the /var/log/messages log:
Mar 15 12:45:31 sevka-jirok kernel: [19742.373372] chrome[8486]: segfault at 0 ip b513835f sp bffa9b50 error 4 in libgcflashplayer.so[ b4d24000+b63000]
Mar 15 12:45:31 sevka-jirok kernel: [19742.622885] chrome[8497]: segfault at 0 ip b512a35f sp bf81f1a0 error 4 in libgcflashplayer.so[b4d16000+b63000]
Mar 12:5 12:30 -jirok kernel: [20163.141903] hugin[8729]: segfault at 118 ip b6917b1f sp bfd262d0 error 4 in libwx_gtk2u_core-2.8.so.0.6.0[b67cb000+32d000]
Mar 15 12:53:02 sevka-jirok kernel: [20192.875504] evince[8994]: segfault at b42f77ac ip b429b28c sp bfc25ba0 error 7
Mar 15 12:53:02 sevka-jirok kernel: [20192.875508] evince: segfault: evince[8996] at b42f77ac ip b429b28c sp b4afefa0 error 7 in libdjvulibre.so.21.1.0[b4177000+17e000] in libdjvulibre.so.21.1.0[b4177000+17e000]
Memory tested for about an hour - everything is ok.

K
Konstantin Vasilyev, 2020-12-21
@KonstantinVasilev

I had this error when starting the antivirus. The hosting support team advised me to run the file under a different version of PHP, and that helped.
For example:
/opt/php7.3_aux1/current/bin/php file.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question