2008-04-19

Ubuntu 8.04 で VirtualBox-OSE が起動しない

Ubuntu 7.10でも同様に起動できなかった(ハングアップしてた)んだけど、原因がわかったので、メモ。

シンボルを入れてgdbで軽くみてみる

(gdb) bt
#0  0x00007fa0f157bda2 in select () from /lib/libc.so.6
#1  0x00007fa0eeaa12b6 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fa0eeaa2b02 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fa0f27c4a37 in ?? () from /usr/lib/libX11.so.6
#4  0x00007fa0f27c4d75 in ?? () from /usr/lib/libX11.so.6
#5  0x00007fa0f27a5343 in XIfEvent () from /usr/lib/libX11.so.6
#6  0x00007fa0f27eca8e in ?? () from /usr/lib/libX11.so.6
#7  0x00007fa0f27ec001 in ?? () from /usr/lib/libX11.so.6
#8  0x00007fa0f27ec433 in _XimRead () from /usr/lib/libX11.so.6
#9  0x00007fa0f27db0d0 in _XimProtoCreateIC () from /usr/lib/libX11.so.6
#10 0x00007fa0f27ca09d in XCreateIC () from /usr/lib/libX11.so.6
#11 0x00007fa0eb59671d in QXIMInputContext::setHolderWidget () from /usr/lib/qt3/plugins/inputmethods/libqxim.so
#12 0x00007fa0f3a46430 in QInputContextFactory::create () from /usr/lib/libqt-mt.so.3
#13 0x00007fa0ebbd19d3 in QMultiInputContext::changeInputMethod () from /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
#14 0x00007fa0ebbd1b68 in QMultiInputContext::slave () from /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
#15 0x00007fa0ebbd1d73 in QMultiInputContext::setHolderWidget () from /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
#16 0x00007fa0f3a46430 in QInputContextFactory::create () from /usr/lib/libqt-mt.so.3
#17 0x00007fa0f37a4540 in QWidget::createInputContext () from /usr/lib/libqt-mt.so.3
#18 0x00007fa0f37a4833 in QWidget::resetInputContext () from /usr/lib/libqt-mt.so.3
#19 0x00007fa0f39c6814 in QTextEdit::setText () from /usr/lib/libqt-mt.so.3
#20 0x00007fa0f39b9c46 in QTextBrowser::setText () from /usr/lib/libqt-mt.so.3
#21 0x00000000005197ba in VBoxSelectorWnd::vmListBoxCurrentChanged ()
#22 0x0000000000519b1f in VBoxSelectorWnd::languageChange ()
#23 0x00000000005226fa in VBoxSelectorWnd::VBoxSelectorWnd ()
#24 0x00000000004e1f28 in VBoxGlobal::selectorWnd ()
#25 0x00000000004d63b2 in main ()

ということで、QXIMInputContext::setHolderWidgetが戻ってこないためのようだ。ということは、LANG環境変数を変えて起動してみる。

makoto@localhost:~$ LANG=C /usr/bin/virtualbox

起動できた。Qtっぽい話のようだけど、とりあえず、VirtualBoxのTracへ登録。bug #1426

0 件のコメント: