Author Topic: [SOLVED] opera malloc  (Read 1165 times)

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
[SOLVED] opera malloc
« on: December 13, 2011, 05:04:07 AM »
After I touched the settings of my video card and X crashed, Opera begun to crash just from its launch.

The answer of the command line is:
Quote
*** glibc detected *** /usr/lib/opera/opera: malloc(): memory corruption (fast): 0x0a4ca900 ***
Killed

A log is written in /var/tmp and consists in a very long file beginning like:
Quote
OPERA-CRASHLOG V1 desktop 11.60 1185 unix Linux-i386
/usr/lib/opera/opera got signal SIGSEGV at address 0813418B

I tried to remove and reinstall Opera even with the option --purge by apt.
The reinstallation is regular but the effects remain.

Tried to make something about swap
Quote
echo 90 > /proc/sys/vm/swappiness

The system is upgraded, the DE is kde.
Looking for an idea, because googling I found several citations of the problem but never a solution.
This even on Opera site.

Thanks
« Last Edit: December 20, 2011, 02:40:24 PM by zafran »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: opera malloc
« Reply #1 on: December 13, 2011, 06:02:40 AM »
Try to create a new user, then log in as new user and check opera.
If it will work from the new user account, it means that some (opera related) settings is broken in your normal user account.

AS



Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #2 on: December 13, 2011, 06:38:31 AM »
I'll try with a new user but I forgot to say that as first I had renamed ~/.opera and it has been regularly recreated.

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #3 on: December 13, 2011, 08:13:37 AM »
For scruple I made a new user but I got the same result launching Opera as new user, old user and root.

Even tried an old kernel but the problem is the same.
« Last Edit: December 13, 2011, 08:59:50 AM by zafran »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: opera malloc
« Reply #4 on: December 13, 2011, 09:07:46 AM »
After I touched the settings of my video card and X crashed, Opera begun to crash just from its launch.

That's a generic description. What X settings did you "touch", and how did you make the changes? Via GUI controls or from a CLI? What did you do to restart X? Have any other applications been affected?


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #5 on: December 13, 2011, 09:19:40 AM »
I had tried to modify the settings launching XFDrake but the xorg.conf it created didn't work.

Then:
# rm /etc/X11/xorg.conf
$ do-vesa
$ startx
and in the control panel I resetted the monitor and the resolution.

So (I think) I got back the same settings I had before since the video is a quite old nVidia and some monthes ago I already had to fight with an upgrade of xorg.
I don't remember what I made then, but something like this.

Everything but Opera seems work fine.
 ???

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: opera malloc
« Reply #6 on: December 13, 2011, 09:28:01 AM »
Which DE are you running? I hope you didn't change the video settings while Opera was running.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #7 on: December 13, 2011, 09:55:48 AM »
I was in Kde but now the problem appears even in lxde

I hope you didn't change the video settings while Opera was running.
It's almost sure it's exactly what I did

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: opera malloc
« Reply #8 on: December 13, 2011, 10:04:44 AM »
Sorry, you already said KDE. I know you said you already removed and reinstalled Opera. But, open Synaptic, mark Opera for removal and remove it. Then, open a terminal, su to root and issue updatedb command. Next issue locate opera command. Find all opera folder and file instances and manually delete them from a file browser in root mode. Make a list of the files if you have to by doing:

locate opera > /root/opera.list

After deleting folders and files relating to Opera, reboot. Reinstall from Synaptic again. Hope that works. Oh, and don't change your video settings with Opera running.  ;)
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #9 on: December 13, 2011, 10:34:39 AM »
Apart icons and users' folders I found these two modules
/lib/modules/2.6.33.7-pclos6.bfs/kernel/drivers/media/dvb/dvb-usb/dvb-usb-opera.ko.gz
/lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/media/dvb/dvb-usb/dvb-usb-opera.ko.gz
but I don't think it would be a good idea to remove them.

I'll try to reinstall after a reboot

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: opera malloc
« Reply #10 on: December 13, 2011, 07:30:57 PM »
You're right. Thanks for the heads up. Don't remove those kernel modules.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: opera malloc
« Reply #11 on: December 20, 2011, 02:39:31 PM »
I hard worked about and installed another pclos kde in another partition.
Opera could work regularly.

In the 2nd system the driver was nouveau at 24 bit, in the 1st system the driver was nvidia at 16 bit.
Choosing 16 bit, opera crashed even in the 2nd system.
Choosing nouveau 24 bit in the 1st, X didn't start.
So, I compared the installed packages and saw that in the 1st some nvidia packages were more than in the 2nd.
I removed them.

Now the 1st works with the driver nouveau at 24 bit and opera goes okay.

« Last Edit: December 20, 2011, 04:09:39 PM by zafran »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12793
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: [SOLVED] opera malloc
« Reply #12 on: December 20, 2011, 05:37:29 PM »
Ah that would explain why Opera crashes here on neomagic gpu with 15 bit depth of color...

Thanks for pursuing this.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: [SOLVED] opera malloc
« Reply #13 on: December 21, 2011, 06:04:31 AM »
Ah that would explain why Opera crashes here on neomagic gpu with 15 bit depth of color...

Thanks for pursuing this.

+1  Good work, zafran!
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline zafran

  • Jr. Member
  • **
  • Posts: 24
Re: [SOLVED] opera malloc
« Reply #14 on: December 21, 2011, 10:07:12 AM »
 :-\  ???
No no.
I pursued a strange behavior of a nvidia board.

Texstar had already noticed that nvidia96 had to be removed but for some miracle everything worked altough that package was still there.
This untill I launched XFdrake.

Here we say 'everything is fine when it finishes fine' and so I remain.

Now I leave my inheritance to younger and stronger owners of neomagic chipsets...
 ::)  ::)
 ;D