LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2008, 03:03 AM   #1
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Rep: Reputation: 15
Opera refuses to work after Ubuntu 7.10 upgrade to 8.04 Alpha 4


Right, so the problem is as simple as it can be: Opera (9.50 Beta1 & 9.25 - tried both) refuses to start-up with following error report:

Code:
zivs@sesks:~$ opera
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb6add767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb6add8b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb722929d]
#3 /usr/lib/j2se/1.4/jre/lib/i386/libawt.so(XineramaIsActive+0xa5) [0xb7bdd7d5]
#4 /usr/lib/libqt-mt.so.3(_ZN14QDesktopWidget11resizeEventEP12QResizeEvent+0x20) [0xb75441da]
#5 /usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x52b) [0xb76422a3]
#6 /usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x274) [0xb759fc36]
#7 /usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xce8) [0xb75a2564]
#8 /usr/lib/libqt-mt.so.3(_ZN12QApplication9sendEventEP7QObjectP6QEvent+0x5b) [0xb7530279]
#9 /usr/lib/libqt-mt.so.3(_ZN12QApplication16sendPostedEventsEP7QObjecti+0x25c) [0xb75a0c6e]
#10 /usr/lib/libqt-mt.so.3(_ZN14QDesktopWidgetC1Ev+0x87) [0xb7543e61]
#11 /usr/lib/libqt-mt.so.3(_ZN12QApplication7desktopEv+0x5e) [0xb759fe42]
#12 /usr/lib/libqt-mt.so.3(_ZN12QApplication9constructERiPPcNS_4TypeE+0xcc) [0xb75a7296]
#13 /usr/lib/libqt-mt.so.3(_ZN12QApplicationC2ERiPPc+0x6a) [0xb75a7670]
#14 /home/zivs/lib/opera/9.25-20071214.6/opera [0x8648079]
#15 /home/zivs/lib/opera/9.25-20071214.6/opera [0x8060cb2]
#16 /home/zivs/lib/opera/9.25-20071214.6/opera(_ZN7QWidget6createEmbb+0x554) [0x805ec94]
#17 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7028450]
#18 /home/zivs/lib/opera/9.25-20071214.6/opera(_ZNK7QDialog15minimumSizeHintEv+0x111) [0x805eb71]
opera: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Aborted (core dumped)
zivs@sesks:~$
What have I tried
Code:
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so
and

Code:
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/xawt/libmawt.so
(because I've got both versions installed)

Anyway, none of above written commands gave me any success. So the question is following - what's wrong with the Opera and how to fix it (any new packages needed or anything to remove?) or else, how to completely remove it from system? (Synaptic's "Completely Remove" still leaves some directories, files and shortcuts) Would then a fresh install change anything (although tried to reinstall it couple of times with different Opera's installation packages (Debian and Ubuntu 7.10)

Thanks in advance!
 
Old 02-06-2008, 05:17 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I have several answers for you, some more potentially useful than others...

-What do you expect, playing around with alpha software? (Ubuntu 8.04 alpha 4)


-What do you expect, playing around with beta software? (Opera 9.50 beta)

and slightly more usefully

Given
Quote:
Locking assertion failure.
You could conclude that there was a problem with some sort of lock file arrangement. I'd have expected this to be under "opera" somewhere or another (try, say, "locate opera | grep -i lock" for a potential bit of cluefulness, particularly if that lock file is older than your Opera installation...).

But, you also have:
Code:
opera: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Which suggests that there is a locking problem with xlib.lock. Now it would surprise me a bit if some general 'X' locking file would be the problem (rather than one of opera's own) but you might want to have a look at the creation date on that and see if that is your problem.

You'd probably want to have a look at the contents (probably not very informative, but you can't tell 'till you've looked) before renaming the lock file. If it all goes pear-shaped, you can always rename the lock file back, but normally in the abscence of a lock file they get recreated fine. My only doubt is that you might break X, but you seem to like living on the edge, anyway...
 
Old 02-06-2008, 06:43 AM   #3
zivs
Member
 
Registered: Jan 2005
Location: Ogre, Latvia
Distribution: Ubuntu 9.10
Posts: 72

Original Poster
Rep: Reputation: 15
Well, tried to locate "lock" file and found two of them - tried to rename them but yet no success. And while doing that I remember something about new Ubuntu features (which are already included in alpha 4 version):

Quote:
PolicyKit
With Alpha 4, PolicyKit integration is visible in the administrative user interfaces. PolicyKit makes it possible to run administrative applications as a normal user, and have them get a particular set of extra privileges for certain operations, which allows fine-grained control over user permissions and enhances usability, as well as eliminating the security implications of running the whole application as root.
And I was wondering if this new feature couldn't be to blame for "Locking assertion failure."? Like, Opera requires these and those privilegies, but Ubuntu now can't grant them and therefore it gives mentioned error lines?

Also, how could i remove zivs@sesks: oper [TAB] --> zivs@sesks: opera thingie (I dunno call that process when you write half of the word, hit TAB and choose the correct/needed word correctly )
 
Old 02-06-2008, 08:08 AM   #4
DeeCodeUh
LQ Newbie
 
Registered: Jan 2008
Distribution: Arch
Posts: 16

Rep: Reputation: 0
I suggest using Firefox.
 
Old 02-24-2008, 02:17 AM   #5
michael_j_grant
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
This fixed it for me:

Code:
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/j2se/1.4/jre/lib/i386/libawt.so
 
Old 02-24-2008, 03:07 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
I have no problem with people trying alpha/beta software. I do it all the time - I try to run most of the -rc kernel releases. If no-one tests this stuff, it gets released untested ...
So long as people (e.g. the OP) are prepared to accept errors may pop up and try to fix it.

I can't offer help as I don't run Opera (but I've had no issues with Hardy alpha), just want to encourage the OP to keep at it.
 
Old 03-02-2008, 10:43 AM   #7
banosd
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
Substitute amd64 in that line for i386

That worked for me while trying to start the java program WordBiz for internet scrabble
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 8.04 LTS Alpha: A First Look LXer Syndicated Linux News 0 11-29-2007 05:20 PM
Trying to upgrade to latest alpha from 7.04 hrp2171 Ubuntu 3 08-28-2007 12:08 AM
Broadcom 4318 refuses to work in ubuntu feisty thewiseafrican1 Linux - Wireless Networking 7 05-07-2007 08:07 PM
XV refuses to work snooo Linux - Software 14 08-12-2004 06:27 AM
upgrade to RH7.2: Fat 32 support is still alpha suria999 Linux - Software 5 12-24-2001 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration