Opened 15 years ago

Closed 13 years ago

#4686 closed defect (fixed)

VBoxQtconfig dumps core on OpenSolaris

Reported by: Matt Lewandowsky Owned by:
Component: GUI Version: VirtualBox 3.0.4
Keywords: VBoxQtconfig Solaris core Cc:
Guest type: other Host type: Solaris


Using OpenSolaris (SXCE) snv_117, VirtualBox 3.0.2 and 3.0.4 dump core with a memory fault when you attempt to run VBoxQtconfig. (Earlier versions are untested.)

Attached is a demangled stack trace (for some value of demangled...):

fffffd7fffdfd950`QCleanlooksStylePrivate::lookupIconTheme() const+0x335()
fffffd7fffdfdb60`QCleanlooksStyle::standardPixmap(QStyle::StandardPixmap) const
fffffd7fffdfdd00`QCleanlooksStyle::qt_metacall(QMetaObject::Call(int, void**))+0x77
fffffd7fffdfe0c0`QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType)
fffffd7fffdfe3b0`QMdiSubWindow::QMdiSubWindow(QWidget*, QFlags<Qt::WindowType>)+0x7e()
fffffd7fffdfe430`QMdiArea::addSubWindow(QWidget*, QFlags<Qt::WindowType>)+0
fffffd7fffdfe490 PreviewFrame::PreviewFrame(QWidget*, const char*)+0x101()
fffffd7fffdfe560 Ui_MainWindowBase::setupUi(Q3MainWindow*)+0xeef()
fffffd7fffdfe590 MainWindowBase::MainWindowBase(QWidget*, const char*, QFlags<Qt::WindowType>)+0x40
fffffd7fffdfe850 MainWindow::MainWindow()+0x39()
fffffd7fffdfed60 main+0x4f()
fffffd7fffdfed70 _start+0x6c()

Change History (3)

comment:1 by Ramshankar Venkataraman, 15 years ago

Thanks for the bug report, this is a bug with Qt choosing a style that's not compatible with the system (missing files etc.). To workaround this run it as

VBoxQtconfig -style plastic

comment:2 by Matt Lewandowsky, 15 years ago

It appears that Plastique is the default theme for VirtualBox on Solaris. I attempted to switch to Cleanlooks to better match the default OS theme, and this kills the app (VBoxQtconfig, if I keep poking in it; else, VirtualBox itself when I go to do anything "useful" in it) with an error akin to:

X Error: BadName (named color or font does not exist) 15
  Major opcode: 45 (X_OpenFont)
  Resource id:  0x58000ba

To eliminate the need for us (Open)Solaris users (who ought to be using JDS/Gnome rather than CDE these days...) to make the app look like it's not from 10 or 15 years ago (and stick out like a sore thumb...), would it be unreasonable to request that the default theme be changed to Cleanlooks with colors more in-line with the operating system's default themes?

I'm using color values of:

3-D Effects225 4 247243 244 247
Window Background228 5 237232 233 237

I realise the colors don't quite match the Solaris and OpenSolaris GNOME themes, but they "look" "right". And that's all that really matters. ;)

In some hours, I can poke at the core I'm getting ater changing the theme, if you wish.

comment:3 by Ramshankar Venkataraman, 13 years ago

Resolution: fixed
Status: newclosed

Re-open if this is still relevant with latest VBox versions and Solaris.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use