| ||||||||||||||||||||||
| ![]() | ![]() | |||||||
| REW Forum REW and Ubuntu LinuxDiscuss REW and Ubuntu Linux in the Equalization | Calibration forum; REW and Ubuntu Linux Hi all,
I've been trying to get REW up and running on new Linux installation...and getting the following on startup..
... |
|
|
Views: 2085 - Replies: 18
| Thread Tools |
| | #1 | ||||
| REW and Ubuntu Linux Hi all, I've been trying to get REW up and running on new Linux installation...and getting the following on startup.. From the console... mike@t42:~$ java -jar /home/mike/Desktop/rew/RoomEQ_Wizard_obf.jar 4-Dec-2007 5:51:42 PM roomeqwizard.RoomEQ_Wizard main INFO: Room EQ Wizard started (<unknown>:8064): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass) (<unknown>:8064): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed 4-Dec-2007 5:51:43 PM roomeqwizard.RoomEQ_Wizard main SEVERE: Error during startup java.lang.StackOverflowError mike@t42:~$ There is a (lengthy) report I've copied from the error window (java.lang.StackOverflowError)...it seems to be too large to insert or attach...I could mail it if there's someone who would like to go over it.. After searching the forum for clues, I tried a few X options in the command (-Xmx256m, -Xss10485760) separately and together, but had the same result as far as I can tell. Machine/Installation Details; IBM T42 (1.7ghz Intel, 512Mb, Ubuntu Linux 7.10, JRE 1.6.0_03_b05) Sound card; Edirol UA-25 USB (working well with ALSA in various programs) I tried running the V3 REW and got the error, but didn't have much luck downgrading the JRE to 5.13 (I could try this again...I couldn't seem to run java from the command line with that version) I'd love to get this going...Ubuntu has been great on this box, the most fun I've had on a desktop with Linux. Hopefully I can get my "widgets anchored" ok! Thanks for your help! Mike Willis | ||||
|
| | |
| | |
| | #2 | ||||
| Re: REW and Ubuntu Linux Hey, Here's some news on what (I think..) might be happening... Seems to me the "display manager" for this installation is called Gnome, and uses GTK code to organise a programs windows, buttons, etc...So from what I've read it might be possible to switch to something else for this Java app. or find out what Gnome doesn't like about it! Suggestions on various forums included switching off desktop effects, changing themes, etc. We'll see...I'll keep you posted! cheers, Mike | ||||
|
| | #3 | ||||
| Re: REW and Ubuntu Linux Hi if you're getting a stack overflow then there is almost certainly another problem and changing the heap and stack size (-Xmx & -Xss options) aren't going to help. FWIW I can run REW on a debian box (on which ubuntu is based) which does have Gnome (and hence GTK) installed (I actually use Enlightenment as the window manager but GDM as the display manager). I don't know how ubuntu maps the java command to a specific JVM, you may find (if it is using the alternatives system) that it isn't what you think it is. You may want to do a java -version to confirm which one is actually responding, I've seen someone out of the box think they're hitting the Sun JVM but are actually getting the gcj one. | ||||
|
| | #4 | ||||
| Re: REW and Ubuntu Linux Thanks for the info Matt.... I verified that the JRE being run was 6...that checks out. Still getting my head around the display/window management system and what it means! I installed the Xubuntu desktop...which runs the XFCE desktop. I can select a Gnome or XFCE at login, and switch between by closing the session. REW works like a champ (at first glance) with this set up, and so I have a solution for when I want to do some measurements. Great stuff! Thanks for your help...hopefully anyone trying out Linux might find this all of interest, Cheers, Mike | ||||
|
| | #5 | |||||
| Re: REW and Ubuntu Linux Quote:
java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing) I dont want to install any other desktop environment so i am keen to find answers on how to run this in gnome. Btw old version was working fine under 6.10 but did not work anymore in 7.10. So it hangs during startup, in "Generating tool bar" section. Any great ideas? | |||||
|
| | #6 | ||||
| Re: REW and Ubuntu Linux well FWIW my debian laptop has gnome 2.20.2 & java 1.6.0_03-b05 installed and REW (v4.00) works fine. Ubuntu 7.10 (AFAIK) uses the same version of gnome so there must be something specific about the ubuntu install that is doing it. I guess the starting point to debugging the problem is for you to report exactly which version of gnome you're using & then see if the rew author gives any other pointers. installing another window manager can be pretty trivial btw, `apt-get install enlightenment` and then a temporary change to your session when you login would do the job. Cheers Matt | ||||
|
| | #7 | ||||
| Re: REW and Ubuntu Linux My gnome is 2.20.1 I tried some other java software and all worked fine. So there is something i dont understand with REW.. I guess i must try that other window manager and see if it works for me too. edit. enlightenment did not do the trick. Still getting same error. Last edited by mabe; 03-11-08 at 02:26 AM.. | ||||
|
| | #8 | ||||
| Re: REW and Ubuntu Linux Hello! I've been trying to get REW working on Ubuntu 7.10 and get the same error as mentioned above: Mar 18, 2008 4:42:08 PM roomeqwizard.RoomEQ_Wizard main SEVERE: Error during startup java.lang.StackOverflowError Java 6 is enabled and I'm using an AMD64 system. Has anyone had any luck without installing XFCE? I'd like to stick to GDM if at all possible. EDIT: I put the error message on pastebin: http://pastebin.com/f18eed6cb EDIT 2: Switching off Compiz 3D desktop effects doesn't solve the problem Last edited by ariendj; 03-18-08 at 12:09 PM.. | ||||
|
| | #9 | ||||
| Re: REW and Ubuntu Linux Hey there, Sorry to hear you have the same thing happening... I continued to try a few things, but wound up switching more or less to Xubuntu permanently (fine for what I need). Hardy Heron will be out soon...maybe that will sort things out! Good luck, Mike | ||||
|
| | #10 | ||||
| Re: REW and Ubuntu Linux Hey pinduro, Your right, usually an update of Ubuntu makes these weird bugs disappear. I guess I'll give it another try in april. I don't want to risk messing up my productive system right now. Thanks for the info though. | ||||
|
| | #11 | ||||
| Re: REW and Ubuntu Linux Some update since the new 8.04 has been announced. I did system upgrade and now my system has changed from 7.10 to 8.04. The problem still remains, with slightly different error message. When i run rew, it hangs in the "generating tool bar" and gives the following: java.lang.StackOverflowError occurred during startup See Details for more information Hid the into spoiler Spoiler So ubuntu users still need some advice on the issue. My java is 1.6.0_06 ![]() | ||||
|
| | #12 | ||||
| Re: REW and Ubuntu Linux Seems like it is falling over in trying to retrieve elements of the system look and feel under Ubuntu (GTK with GTK+ 2.2 or later installed). That might be cured by having REW start up with Java's built-in Metal as the LAF, but that would need a new release and I'm some way off making one. In the meantime worth looking to see if there is any way to change the look and feel REW (and other Java apps) is pointed to when they ask for the system LAF, part of the article in the following link explains how to create a swing.properties file that changes the default LAF but the system LAF may need a different property setting: http://java.sun.com/docs/books/tutor...feel/plaf.html | ||||
|
| | #13 | ||||
| Re: REW and Ubuntu Linux a quick look at the UIManager src for the latest jdk6 says that you have two choices, the 1st one should work while the 2nd one is a bit random and might work ![]() 1) explicitly set the laf you want using the swing.systemlaf system property eg. java -Dswing.systemlaf=<LAF classname here> so if you want metal then use java -Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel -jar <rew path>/RoomEQ_Wizard_obf.jar 2) set the sun.desktop system property to something other than gnome (which is should be by default under gnome), if you use some garbage value then it should default to whatever the cross platform LAF is (i.e. Metal or the value set by swing.crossplatformlaf) I would expect option 1) to work as that is basically what is happening when REW starts up on my (debian) box, i.e. I'm not running gnome so it goes to the default crossplatform LAF (metal). Cheers Matt | ||||
|
| | #14 | ||||
| Re: REW and Ubuntu Linux I would guess you could also set up swing.systemlaf in a swing.properties file in the java home directory. | ||||
|
| | #15 | |||||
| Quote:
Jim | |||||
|
| | #16 | |||||
| Re: REW and Ubuntu Linux Quote:
| |||||
|
| | #17 | ||||
| Re: REW and Ubuntu Linux The java -Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel -jar <rew path>/RoomEQ_Wizard_obf.jar works also on the future ubuntu version 9.10. but by default the "SEVERE: Error during startup java.lang.StackOverflowError" remains | ||||
|