[brlcad-tracker] [ brlcad-Support Requests-3341960 ] mged crash on startup
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2011-11-16 15:42:50
|
Support Requests item #3341960, was opened at 2011-06-28 13:38 Message generated for change (Comment added) made by brlcad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3341960&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation & Installation Group: None >Status: Closed Resolution: Out of Date Priority: 7 Private: No Submitted By: PMH (prebenmh) Assigned to: Jordi (jordisayol) Summary: mged crash on startup Initial Comment: I have now installed brlcad-7.20.0-0.openSUSE.x86_64.rpm on the 64 bits version of openSuse 11.4, but mged will still not start. I get the same X error message as with 7.18.4. PMH ---------------------------------------------------------------------- >Comment By: Sean Morrison (brlcad) Date: 2011-11-16 07:42 Message: PMH, You can get past that compilation failure in 7.20.4 by adding --disable-strict to your configure flags. Otherwise, thanks for the report and we can consider this support request closed. Cheers! ---------------------------------------------------------------------- Comment By: https://me.yahoo.com/a/PMxCjqZw () Date: 2011-11-03 03:35 Message: First my graphics card is now working correctly after installing a new driver and a kernel update, and Brl-Cad is working fine. Hi Sean I downloaded the 7.20.4 version as source, but make didn't succeed - there is an array subscript error in the source. The log file makelog-7204.txt is uploaded to ftp.brlcad.org via ftp. Cheers PMH ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-10-26 20:49 Message: PMH, Were you able to make any further progress on getting mged to start? Alas, it doesn't look like the build file you uploaded transferred successfully, perhaps you could try again. Even better, though, is to attempt a build with our new build system after the 7.20.4 release is posted. That release is due within a week now. Cheers! Sean ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-04 07:37 Message: Sean, I used ftp. The file name is brlcad-build.txt (transferred in Binary mode) and brlcad-build.txt.1 (transferred in Ascii mode) just to be sure. Best regards, ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-07-04 06:02 Message: Running "make > file" only captures text sent to standard out. The warning messages are sent to a separate channel called standard error. To capture both simultaneously, you can run "make >& file" or more portably "make > file 2>&1". Since the log file is going to be pretty huge, you can upload it via FTP to ftp.brlcad.org (the "incoming" directory) or maybe via e-mail to br...@us... (don't know if it'll get rejected due to size). ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-04 03:52 Message: Hi, You are right - both of you - there is something wrong with my fglrx driver. I installed a couple of openGl plays and none of them can run. I could not find a logfile of the build, so I did a 'make > file' to get the output, but I can't upload the file because it is too big for sourceforgenet (1.6 MB). The warnings were not written to the file (?) but to the screen anyway I have attached a file of the screen output with the warnings, but it is not complete because of buffer restrictions in terminal window. I could try again if You coud tell me how to catch all the warnings. Best regards, ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-07-03 07:54 Message: Preben, If glxgears won't run, then that points at some underlying issue with your OpenGL configuration. We obviously can't fix that problem for you, but we can fix those compilation warnings you ran into if you provide the build output. That way, hopefully the process will be a little less painful for the next person in your shoes. The build from source worked because it simply disabled OpenGL, but it should be a clean compile regardless. Thanks again for the report. Cheers! Sean ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-07-03 03:55 Message: ok, it looks like is an AMD/ATI driver issue. Just for Your knowledge, the Ubuntu repository AMD/ATI driver, properly run glxgears and mged without problem. Best regards, ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-03 03:24 Message: The driver is downloaded from the link You mention a month ago (version 11-5). I see that the newest one now is 11-6, but I'm not in the mood to install that yet, because I had a lot of trouble by installing 11-5 (I got a black sceen after updating the kernel etc.) I suppose that the configuration of the card is not optimal, but all the programs I am using are now working properly. The program glxgears cannot start - I've attached the error message. It looks like the error I had before with brlcad. ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-07-03 02:03 Message: I've tested in Ubuntu 10.10 , "ATI Radeon HD 4200" with fglrx driver v. 8.780, and mged command from sourceforge package, properly run. What's Your fglrx version? is it from OpenSUSE repositories or is external one? Can You run "glxgears" command without problems in Your system? I've seen on Internet a lot of problems with the ATI graphics drivers so, if Your fglrx is too old, You can try to download the last one: http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English just run it and select to create the appropriated package. Install them under Your own responsibility. Best regards, ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-02 23:38 Message: Graphic card: AMD Radeon HD 6450 (by ATI Radeon Graphics) Driver: fglrx ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-07-02 17:09 Message: prebenmh, what graphic card (and driver) do You have on Your system? brlcad, is there a way to compile brlcad to override this error? ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-07-02 11:42 Message: Also, the error you are seeing when starting mged is from GLX, not X. That is -- it's an OpenGL issue. My guess would be that the prebuilt openSUSE binaries are using a version of GLX that is incompatible with what you have installed on your system, so compiling from source was best. ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-07-02 11:39 Message: The default build has the compiler enable almost every useful warning it is capable of producing, far more than the default, and to consider all warnings as errors. The --disable-strict option no longer considers all warnings as errors, but still reports all warnings. The --disable-warnings option will turn off the extra reporting. If you provide a full build log (--disable-strict --enable-warnings), we can look into fixing them all so that strict may be left enabled in the future for your build environment. ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-02 09:09 Message: Hi again It worked but a lot of warnings were issued while compiling. Benchmark and test was OK and mged is running now - the problem is solved. Thanks again. Best regards ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-07-02 07:18 Message: try adding --disable-strict to configure ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-02 06:44 Message: Thank you for trying to help me. I've also tried version 7.20.2 and getting the same error. I then downloaded the source to compile it myself. Configuring was OK, but make stopped after a while with the following error message: analyze.c: in function analyze_arb rt_arb_centroid without a real prototype or something like that . I checked analyze.c and found analyze_arb containing a call to rt_arb_centroid, but I did not understand the code. Any help ? ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-07-02 01:06 Message: mmmh, I don't know what is wrong. I've created an OpenSUSE 11.4 (64 bit) VirtualBox machine, installed brlcad-7.20.0-0.openSUSE.x86_64.rpm on it, and no problem running mged. I've tested brlcad 7.20.2 without problems too. Best regards, ---------------------------------------------------------------------- Comment By: PMH (prebenmh) Date: 2011-07-02 00:27 Message: A screendump of the error message has been added. ---------------------------------------------------------------------- Comment By: Jordi (jordisayol) Date: 2011-06-28 16:52 Message: Can You paste the error message please? Mged properly work at OpenSUSE 11.3 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3341960&group_id=105292 |