Error starting paralells

jerrydrussell

Bit poster
I got Parallels installed after a bit of poking around the forums last night, and to be honest i was very excited. I followed that by installing a fresh copy of XP pro, which worked wonderfully. I rebooted the system and at that point i get the following error every time I attempt to run Parallels:

Code:
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  147
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  147
  Minor opcode:  3
  Resource id:  0x0
Failed to open device


Parallels Workstation 2.2  critical error! Send log file ( /usr/lib/parallels/bugreports/parallels-fault-150102.030607.19918.log ) to reports@parallels.com


/usr/bin/parallels: line 12: 19918 Segmentation fault      /usr/lib/parallels/parallels-linux

Anyone have an Idea on this? I ws really hoping I'd found the solution i was looking for.
 
Same problem here

Kubuntu 7.0.4 (new install, kernel 2.6.20-15-generic), fresh install of parallels after completing instructions on this page: http://forums.parallels.com/thread6035-2.html, specifically I had to use this version of Parallels to complete the installation successfully: http://download.parallels.com/stuff/ubuntu_special/Parallels-2.2.2164-lin-en.deb

When I run parallels from the CLI, this is what I receive:

gerad@it-l-gerad:~$ parallels
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device


Parallels Workstation 2.2 critical error! Send log file ( /usr/lib/parallels/bugreports/parallels-fault-153506.240807.26331.log ) to reports@parallels.com


/usr/bin/parallels: line 12: 26331 Segmentation fault /usr/lib/parallels/parallels-linux

Contents of the fault log:

-------------------------------------------------------------------------------
Parallels Workstation 2.2 for Linux version 2.2 Build 2164.0 from 2007-05-02
-------------------------------------------------------------------------------
Received SIGSEGV: Segmentation fault
Access to fault address: (nil)
unknown signal sender: 1
Reason - address not mapped
#0 [0xffffe440]
#1 /usr/lib/parallels/parallels-linux(_ZNSt6localeaSERKS_+0x26) [0x830bd46]
#2 /usr/lib/parallels/parallels-linux(_ZNSt8ios_base7_M_initEv+0x4b) [0x8309efb]
#3 /usr/lib/parallels/parallels-linux(_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E+0x1d) [0x833809d]
#4 /usr/lib/libscim-1.0.so.8 [0xb6d5ab32]
#5 /usr/lib/libscim-1.0.so.8 [0xb6dac716]
#6 /usr/lib/libscim-1.0.so.8 [0xb6d4bcd9]
#7 /lib/ld-linux.so.2 [0xb7fc3373]
#8 /lib/ld-linux.so.2 [0xb7fc3483]
#9 /lib/ld-linux.so.2 [0xb7fc6fad]
#10 /lib/ld-linux.so.2 [0xb7fc2fa6]
#11 /lib/ld-linux.so.2 [0xb7fc68ee]
#12 /lib/tls/i686/cmov/libdl.so.2 [0xb7456c2d]
#13 /lib/ld-linux.so.2 [0xb7fc2fa6]
#14 /lib/tls/i686/cmov/libdl.so.2 [0xb74572ac]
#15 /lib/tls/i686/cmov/libdl.so.2(dlopen+0x44) [0xb7456b64]
#16 /usr/lib/libqt-mt.so.3(_ZN15QLibraryPrivate11loadLibraryEv+0x57) [0xb7daa699]
#17 /usr/lib/libqt-mt.so.3(_ZN8QLibrary4loadEv+0x3b) [0xb7dcf0ab]
#18 /usr/lib/libqt-mt.so.3(_ZN11QComLibrary22createInstanceInternalEv+0x706) [0xb7daf2b2]
#19 /usr/lib/libqt-mt.so.3(_ZN11QComLibrary9qtVersionEv+0x27) [0xb7daf6a9]
#20 /usr/lib/libqt-mt.so.3(_ZNK15QGPluginManager11featureListEv+0x114) [0xb7dca804]
#21 /usr/lib/libqt-mt.so.3(_ZN20QInputContextFactory4keysEv+0x3a) [0xb7cd9a76]
#22 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext17changeInputMethodE7QString+0x1d) [0xb6ecdbf5]
#23 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext5slaveEv+0x43) [0xb6ecde4f]
#24 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext15setHolderWidgetEP7QWidget+0x26) [0xb6ece0be]
#25 /usr/lib/libqt-mt.so.3(_ZN20QInputContextFactory6createERK7QStringP7QWidget+0xb8) [0xb7cd9b58]
#26 /usr/lib/libqt-mt.so.3(_ZN7QWidget18createInputContextEv+0x8f) [0xb7a2c965]
#27 /usr/lib/libqt-mt.so.3(_ZN7QWidget17resetInputContextEv+0x1d) [0xb7a2cc6b]
#28 /usr/lib/libqt-mt.so.3(_ZN9QLineEdit7setTextERK7QString+0x1d) [0xb7bad0e5]
#29 /usr/lib/libqt-mt.so.3(_ZN8QSpinBox13updateDisplayEv+0x78) [0xb7c0a510]
#30 /usr/lib/libqt-mt.so.3(_ZN8QSpinBox11initSpinBoxEv+0x27d) [0xb7c0b797]
#31 /usr/lib/libqt-mt.so.3(_ZN8QSpinBoxC1EP7QWidgetPKc+0xae) [0xb7c0ba2c]
#32 /usr/lib/parallels/parallels-linux [0x80e12c8]
#33 /usr/lib/parallels/parallels-linux [0x8182273]
#34 /usr/lib/parallels/parallels-linux [0x8121dae]
#35 /usr/lib/parallels/parallels-linux [0x8120f7f]
#36 /usr/lib/parallels/parallels-linux [0x8276b27]
#37 /usr/lib/parallels/parallels-linux [0x808d589]
#38 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7486ebc]
#39 /usr/lib/parallels/parallels-linux(_ZN6QFrame10paintEventEP11QPaintEvent+0x3d) [0x808a1a1]
-------------------------------------------------------------------------------

Anyone have any ideas about what might be causing this?
 
Interesting

Well, the problem appears to be permissions related. I used to have parallels running with Kubuntu 6.06 w/o issue, and I would be able to run it just as I showed in the above snippet. However, it appears that parallels will not run on 7.04 as a regular linux user. If I run parallels under sudo, everything works normally.

I will maybe play around with strace and try to find out if there is a permissions change in /dev somewhere than is wreaking havoc with parallels.
 
Ahh. I have it figured out. The problem comes when you use the prescribed "sudo" method for running commands as root in *buntu. Because sudo doesn't completely alter the environment to that of the target user, it botched up the install of parallels as root.

Simple fix, use "sudo su -" to make yourself a true root user, prior to installing parallels. After installing this way, Parallels worked perfectly for me as a regular user.
 
Also note that the "Error: BadDevice" entries have nothing to do with the segfault problem, as far as I can tell. On my system, they were caused by having bogus entries in /etc/X11/xorg.conf that Kubuntu had added for a "Wacom" tablet device (which I do not have).
 
Back
Top