Author Topic: [SOLVED] LXDE mess: Segfaults  (Read 1757 times)

qbrick

  • Guest
[SOLVED] LXDE mess: Segfaults
« on: October 23, 2010, 02:13:49 PM »
Hi, I see lots of segfaults on my LXDE install. Similar to the Guayadeque problem on my desktop box, I described earlier in another thread, on my netbook lxterminal is segfaulting when started, leaving a message like klogd: lxterminal: segfault at xxx error 6 in libc-2.10. Keyboard input is impossible at the adressbar of the browser as in any application's Save as... dialogue.
All started with a heavy xscreensaver process owned by root running in the background when logged in as user. Since no further dependencies in Synaptic where claimed, I uninstalled xscreensaver to get my cpu cycles back.

The installation is based on an iso made by the mylivecd script. Everything worked great until yesterday (maybe due to some updates? I don't know).
« Last Edit: October 25, 2010, 11:56:22 AM by qbrick »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE mess: Segfaults
« Reply #1 on: October 23, 2010, 02:22:35 PM »
Have you rebooted since the update?
Have you tried reinstalling xscreensaver to see if that was the cause? Screebsaver can be set through lxdecc >Appearance Settings > Screensaver Settings.


qbrick

  • Guest
Re: LXDE mess: Segfaults
« Reply #2 on: October 23, 2010, 02:54:42 PM »
Yeah, did several reboots in the meantime. Even reinstalled xscreensaver (with lxterminal segfaulting as it did before) and uninstalled it, because I had the annoying xscreensaver process running in the background again, although I just had disabled the xscreensaver daemon for root.
Gksu crashes too when trying to input the root password btw.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE mess: Segfaults
« Reply #3 on: October 23, 2010, 03:35:10 PM »
In the Screensaver Settings, click File > restart daemon. Does this have any affect on the screensaver?

Have you made any modifications to ~/.config/lxterminal/lxterminal.conf? Or to .bash_profile? bashrc?


qbrick

  • Guest
Re: LXDE mess: Segfaults
« Reply #4 on: October 23, 2010, 03:44:25 PM »
No modifications on the files you mentioned.
I changed the settings of the screensaver daemon in every direction (blank screen etc.). Even with the daemon disabled for it started up when I was logged in as user. Weird.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE mess: Segfaults
« Reply #5 on: October 23, 2010, 04:02:38 PM »
What happens if you set the Blank After and Cycle after to a high number of minutes?

Rename those files I mentioned by adding -back to the name (without a space). Log out and then log in.

qbrick

  • Guest
Re: LXDE mess: Segfaults
« Reply #6 on: October 23, 2010, 05:10:58 PM »
Put the configs out of the way - no difference. Lxterminal won't come up. Xterm works btw.
But I don't think, Lxterm is the trouble-maker, since entering the adress bar of my browser or the password text field of gksu causes segfaults on my netbook, too.
I have no explanation for my desktop box running the same system to behave different. I have a root-owned xscreenserver process running too there when logged in as root, but it idles all the time. The input problems too do occur solely on the netbook. What both systems share is the Guayadeque problem I mentioned earlier.
Maybe something broke with the updates that took place recently ((g)libc and curl - both are mentioned in the syslog's segfault message line).

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE mess: Segfaults
« Reply #7 on: October 23, 2010, 05:42:34 PM »
Hi,
Could you paste the exact message ?
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline smurfslover

  • Hero Member
  • *****
  • Posts: 811
Re: LXDE mess: Segfaults
« Reply #8 on: October 23, 2010, 05:55:31 PM »
Try removing /home/yourusername/.config/lxterminal/lxterminal.conf
lxterminal will write a new config file on next startup.
« Last Edit: October 23, 2010, 05:57:11 PM by smurfslover »
Registered Linux User 440970

Every windows machine has an un-patchable critical vulnerability... Its called "Power ON" switch.

qbrick

  • Guest
Re: LXDE mess: Segfaults
« Reply #9 on: October 23, 2010, 06:16:18 PM »
@smurfslover: Already did that. LXterminal keeps segfaulting.

@melodie: This is Chromium crashing when I tried to enter an url in the adress bar:
Quote
Oct 24 01:18:46 localhost klogd: chromium-browse[3815]: segfault at bf460ffc ip ffffe415 sp bf461000 error 6
Oct 24 01:21:21 localhost klogd: chrome[4147]: segfault at 8f936ef ip 0be2e0a4 sp bfbe0713 error 7
Oct 24 01:22:09 localhost klogd: irq 17: nobody cared (try booting with the "irqpoll" option)
Oct 24 01:22:09 localhost klogd: Pid: 0, comm: swapper Not tainted 2.6.33.7-pclos6.bfs #1
Oct 24 01:22:09 localhost klogd: Call Trace:
Oct 24 01:22:09 localhost klogd:  [<c016a914>] __report_bad_irq+0x33/0x74
Oct 24 01:22:09 localhost klogd:  [<c016aa4f>] note_interrupt+0xfa/0x153
Oct 24 01:22:09 localhost klogd:  [<c016b05c>] handle_fasteoi_irq+0x9a/0xbd
Oct 24 01:22:09 localhost klogd:  [<c0104c4b>] handle_irq+0x1f/0x24
Oct 24 01:22:09 localhost klogd:  [<c01044db>] do_IRQ+0x46/0x9f
Oct 24 01:22:09 localhost klogd:  [<c01038b0>] common_interrupt+0x30/0x38
Oct 24 01:22:09 localhost klogd:  [<c014007b>] ? sys_setfsuid+0x13/0xaa
Oct 24 01:22:09 localhost klogd:  [<f8a7a2f1>] ? acpi_idle_enter_bm+0x25c/0x28d [processor]
Oct 24 01:22:09 localhost klogd:  [<c0303c22>] cpuidle_idle_call+0x72/0xd4
Oct 24 01:22:09 localhost klogd:  [<c0102562>] cpu_idle+0x96/0xc4
Oct 24 01:22:09 localhost klogd:  [<c037ee5b>] rest_init+0x7b/0x7d
Oct 24 01:22:09 localhost klogd:  [<c057185a>] start_kernel+0x336/0x33b
Oct 24 01:22:09 localhost klogd:  [<c0571092>] i386_start_kernel+0x92/0x99
Oct 24 01:22:09 localhost klogd: handlers:
Oct 24 01:22:09 localhost klogd: [<f8d4796f>] (ath5k_intr+0x0/0x18a [ath5k])
Oct 24 01:22:09 localhost klogd: Disabling IRQ #17

This is  Lxterminal segfaulting:
Quote
Oct 24 00:55:13 localhost klogd: lxterminal[17243]: segfault at bf09effc ip b6c43239 sp bf09eff4 error 6 in libc-2.10.1.so[b6bdd000+15a000]

And Leafpad crashed a moment ago, when I tried to put a term in the search dialogue box:
Quote
Oct 24 02:12:41 localhost klogd: leafpad[9640]: segfault at bf060ffc ip ffffe415 sp bf061000 error 6


BTW while I fiddled with my netbook and did some other stuff and drank some tea, I downloaded MiniMe 2010.10 which had just arrived on the servers. Seem to have downloaded a corrupted iso twice. Couldn't make an installation image neither on usb stick nor on cd. Well, when things go like this, it's a good idea to step back and let go.
So, just enjoy Saturday evening/Sunday morning and get social, the probs still will be around the next day!  :)
« Last Edit: October 23, 2010, 06:30:31 PM by qbrick »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE mess: Segfaults
« Reply #10 on: October 24, 2010, 04:22:01 AM »
qbrick : I have tested Lxde lately and found also that lxterminal does not work. My suggest : install Sakura and change for Sakura on the panel.

Try to start lxterminal from Sakura to see how it goes and what output, if there is one bring it back here. If you want to test further there is a "howto" debug with gdb at the lxde wiki.

Regards,
Mélodie

/from Chromium, you could try debugging it separately, it happens that some games are not quite ok...

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE mess: Segfaults
« Reply #11 on: October 24, 2010, 05:24:12 AM »
Reinstall glibc. Install glibc-devel. Reboot.

I have had no problems with lxterminal on any of my machines. It always works as expected here. Though the problem you are having shows up in lxterminal, it seems to be originating elsewhere.

You may want to try a different kernel. It could be that your hardware is not interacting well with the kernel you are using.


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LXDE mess: Segfaults
« Reply #12 on: October 24, 2010, 05:58:15 AM »
Quote
Oct 24 01:18:46 localhost klogd: chromium-browse[3815]: segfault at bf460ffc ip ffffe415 sp bf461000 error 6
Oct 24 01:21:21 localhost klogd: chrome[4147]: segfault at 8f936ef ip 0be2e0a4 sp bfbe0713 error 7
Oct 24 01:22:09 localhost klogd: irq 17: nobody cared (try booting with the "irqpoll" option)
Oct 24 01:22:09 localhost klogd: Pid: 0, comm: swapper Not tainted 2.6.33.7-pclos6.bfs #1
Oct 24 01:22:09 localhost klogd: Call Trace:

Did you try that suggestion from the error message?

qbrick

  • Guest
Re: LXDE mess: Segfaults
« Reply #13 on: October 24, 2010, 12:14:32 PM »
Neal, I reinstalled glibc and glibc-devel, but nothing changed. In the meantime Guayadeque seemed to work for an hour on my desktop box after reinstalling the guayadeque-rpm, but then started complaining about a resource not found, however all the tracks are there.

Just would like to know whether it's really just me having such a mess.

BTW booted different kernels (2.6.33 and 2.6.32 bfs kernels) and no difference.
I yet have to try Just19's suggestion, however both systems started to show flaws after they worked very(!) well. And I didn't change anything in the realms of root, since everything simply worked as expected. Except for updates.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE mess: Segfaults
« Reply #14 on: October 24, 2010, 12:20:14 PM »
since everything simply worked as expected. Except for updates.

Hi,

Please tell us more about theses updates. And also tell us what precise kernel versions you tried : there are several in each of the 2 family kernels you have told us about.

BTW, what is Guayadeque ?

==>>
When one application crashes, what does "tail -30 /var/log/messages" invoked as root immediatly after crash says ? and also "tail -30 /var/log/dmesg" ?

Have you added "irqpoll" at the end of the boot kernel line in your /boot/grub/menu.lst as Just19 advised you to do ?
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode