From jimparker96313 at gmail.com Fri Dec 9 01:16:40 2011 From: jimparker96313 at gmail.com (Jim Parker) Date: Thu, 8 Dec 2011 18:16:40 -0600 Subject: [xcrysden] Install fails at startup in function glLightfv() Message-ID: Hello, I have used this program on a Windows machine, but I am trying to install on a Linux box. Normally, I find it harder to compile these kinds of codes on Windows vice linux, so this is a first for me... I have tried installing the shared/semi-shared and source versions, and yes I cleanly separated the different versions... All crash at the same point during start up. When I run with $> xcrysden -d I get to the line Executing: XCrySDen-1.5.24-src/bin/ftnunit Program received signal SIGSEGV, Segmentation fault. 0x00596c06 in glLightfv() from /usr/lib/mesa/libGL.so.1 I compiled the source code with debugging enabled and tracked the error to line 408 in C/lighting.c line 408: glLightfv(_LIGHT[il], GL_AMBIENT, light[il].ambient) At this point I am stumped, the value of il = 0, which would indicate this command fails the first time it is called. My system is an Ubuntu 10.04 LTS distro Intel 945GM graphics card Any suggestions would be appreciated. Cheers, --Jim From jimparker96313 at gmail.com Fri Dec 9 18:17:33 2011 From: jimparker96313 at gmail.com (Jim Parker) Date: Fri, 9 Dec 2011 11:17:33 -0600 Subject: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() In-Reply-To: References: Message-ID: After further troubleshooting, I got the semi-shared version to run. However, I'm not sure why it works now. I had made several changes to the system to attempt to fix the libGL crash, including upgrading the kernel $> sudo apt-get upgrade kernel and installing libgl1-mesa-glx libglu1-mesa-dev and others that I lost track of. I guess I'd like to know what is the exact difference between the shared and semi-shared versions since one works and the other doesn't? Cheers, --Jim On 12/8/11, Jim Parker wrote: > Hello, > I have used this program on a Windows machine, but I am trying to > install on a Linux box. Normally, I find it harder to compile these > kinds of codes on Windows vice linux, so this is a first for me... > > I have tried installing the shared/semi-shared and source versions, > and yes I cleanly separated the different versions... > > All crash at the same point during start up. When I run with > $> xcrysden -d > > I get to the line > Executing: XCrySDen-1.5.24-src/bin/ftnunit > > Program received signal SIGSEGV, Segmentation fault. > 0x00596c06 in glLightfv() from /usr/lib/mesa/libGL.so.1 > > I compiled the source code with debugging enabled and tracked the > error to line 408 in C/lighting.c > > line 408: glLightfv(_LIGHT[il], GL_AMBIENT, light[il].ambient) > > At this point I am stumped, the value of il = 0, which would indicate > this command fails the first time it is called. > > My system is an Ubuntu 10.04 LTS distro > Intel 945GM graphics card > > Any suggestions would be appreciated. > > Cheers, > --Jim > From quevedin at gmail.com Fri Dec 9 18:34:43 2011 From: quevedin at gmail.com (Lucas Fernandez Seivane) Date: Fri, 9 Dec 2011 11:34:43 -0600 Subject: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() In-Reply-To: References: Message-ID: The shared uses system version of mesa, opengl tcl/tk and all that, the semi-shared used some inside but relies on system tcl. I think again of a bug of the kernel. Usually, I install the semi-shared, since it is less distro-dependent, and xcrysden is not packed by any distribution. regards On Fri, Dec 9, 2011 at 11:17, Jim Parker wrote: > After further troubleshooting, I got the semi-shared version to run. > > However, I'm not sure why it works now. ?I had made several changes to > the system to attempt to fix the libGL crash, including upgrading the > kernel > > $> sudo apt-get upgrade kernel > > and installing libgl1-mesa-glx libglu1-mesa-dev and others that I lost track of. > > I guess I'd like to know what is the exact difference between the > shared and semi-shared versions since one works and the other doesn't? > > Cheers, > --Jim > > > > On 12/8/11, Jim Parker wrote: >> Hello, >> ? I have used this program on a Windows machine, but I am trying to >> install on a Linux box. ?Normally, I find it harder to compile these >> kinds of codes on Windows vice linux, so this is a first for me... >> >> I have tried installing the shared/semi-shared and source versions, >> and yes I cleanly separated the different versions... >> >> All crash at the same point during start up. ?When I run with >> $> xcrysden -d >> >> I get to the line >> Executing: XCrySDen-1.5.24-src/bin/ftnunit >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x00596c06 in glLightfv() from /usr/lib/mesa/libGL.so.1 >> >> I compiled the source code with debugging enabled and tracked the >> error to line 408 in C/lighting.c >> >> line 408: ?glLightfv(_LIGHT[il], GL_AMBIENT, light[il].ambient) >> >> At this point I am stumped, ?the value of il = 0, which would indicate >> this command fails the first time it is called. >> >> My system is an Ubuntu 10.04 LTS distro >> Intel 945GM graphics card >> >> Any suggestions would be appreciated. >> >> Cheers, >> --Jim >> > _______________________________________________ > XCrySDen mailing list > XCrySDen at democritos.it > http://www.democritos.it/mailman/listinfo/xcrysden -- Lucas Fern?ndez Seivane UTSA - Department of Physics and Astronomy +1 210 458 8052 (Formerly Universidad de Oviedo - CINN http://sites.google.com/site/quevedin/ http://www.researcherid.com/rid/A-8610-2008 From brsahu_2000 at yahoo.com Fri Dec 9 18:55:17 2011 From: brsahu_2000 at yahoo.com (Bhagwan Sahu) Date: Fri, 9 Dec 2011 09:55:17 -0800 (PST) Subject: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() In-Reply-To: Message-ID: <1323453317.9846.YahooMailClassic@web161706.mail.bf1.yahoo.com> Hi, I have a 32 bit desktop with Ubuntu Linux (version 10.04) and downloaded the semi-shared version for it. xc-1.5.24-linux_x86-semishared.tar.gz ungzip followed by ./xcConfigure step and followed by source ~/.bashrc and launching 'xcrysden' from the Xcrysden directory produces this message: Can't open /home/brsahu/XCrySDen-1.5.25-bin-shared/scripts/xcLib.sh Any suggestions? Bhagawan --- On Fri, 9/12/11, Lucas Fernandez Seivane wrote: > From: Lucas Fernandez Seivane > Subject: Re: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() > To: "XCrySDen mailing list" > Date: Friday, 9 December, 2011, 11:04 PM > The shared uses system version of > mesa, opengl tcl/tk and all that, > the semi-shared used some inside but relies on system tcl. > I think > again of a bug of the kernel. Usually, I install the > semi-shared, > since it is less distro-dependent, and xcrysden is not > packed by any > distribution. > > regards > > On Fri, Dec 9, 2011 at 11:17, Jim Parker > wrote: > > After further troubleshooting, I got the semi-shared > version to run. > > > > However, I'm not sure why it works now. ?I had made > several changes to > > the system to attempt to fix the libGL crash, > including upgrading the > > kernel > > > > $> sudo apt-get upgrade kernel > > > > and installing libgl1-mesa-glx libglu1-mesa-dev and > others that I lost track of. > > > > I guess I'd like to know what is the exact difference > between the > > shared and semi-shared versions since one works and > the other doesn't? > > > > Cheers, > > --Jim > > > > > > > > On 12/8/11, Jim Parker > wrote: > >> Hello, > >> ? I have used this program on a Windows machine, > but I am trying to > >> install on a Linux box. ?Normally, I find it > harder to compile these > >> kinds of codes on Windows vice linux, so this is a > first for me... > >> > >> I have tried installing the shared/semi-shared and > source versions, > >> and yes I cleanly separated the different > versions... > >> > >> All crash at the same point during start up. > ?When I run with > >> $> xcrysden -d > >> > >> I get to the line > >> Executing: XCrySDen-1.5.24-src/bin/ftnunit > >> > >> Program received signal SIGSEGV, Segmentation > fault. > >> 0x00596c06 in glLightfv() from > /usr/lib/mesa/libGL.so.1 > >> > >> I compiled the source code with debugging enabled > and tracked the > >> error to line 408 in C/lighting.c > >> > >> line 408: ?glLightfv(_LIGHT[il], GL_AMBIENT, > light[il].ambient) > >> > >> At this point I am stumped, ?the value of il = 0, > which would indicate > >> this command fails the first time it is called. > >> > >> My system is an Ubuntu 10.04 LTS distro > >> Intel 945GM graphics card > >> > >> Any suggestions would be appreciated. > >> > >> Cheers, > >> --Jim > >> > > _______________________________________________ > > XCrySDen mailing list > > XCrySDen at democritos.it > > http://www.democritos.it/mailman/listinfo/xcrysden > > > > -- > Lucas Fern?ndez Seivane > UTSA - Department of Physics and Astronomy > +1 210 458 8052 > (Formerly Universidad de Oviedo - CINN > http://sites.google.com/site/quevedin/ > http://www.researcherid.com/rid/A-8610-2008 > _______________________________________________ > XCrySDen mailing list > XCrySDen at democritos.it > http://www.democritos.it/mailman/listinfo/xcrysden > From tone.kokalj at ijs.si Wed Dec 14 16:37:15 2011 From: tone.kokalj at ijs.si (Tone Kokalj) Date: Wed, 14 Dec 2011 16:37:15 +0100 Subject: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() In-Reply-To: References: Message-ID: <1323877035.3233.30.camel@catalyst.ijs.si> On Fri, 2011-12-09 at 11:34 -0600, Lucas Fernandez Seivane wrote: > The shared uses system version of mesa, opengl tcl/tk and all that, > the semi-shared used some inside Yes, this is correct, the semi-shared uses some shared libraries that are provided inside the "package" > I think again of a bug of the kernel. No actually, it is not. The problem related to the glLightfv() crashing is due to xcrysden bug (fix is known, tough). Regards, Tone -- Anton Kokalj J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia (tel: +386-1-477-3523 // fax:+386-1-477-3822) Please, if possible, avoid sending me Word or PowerPoint attachments. See: http://www.gnu.org/philosophy/no-word-attachments.html From tone.kokalj at ijs.si Wed Dec 14 16:39:26 2011 From: tone.kokalj at ijs.si (Tone Kokalj) Date: Wed, 14 Dec 2011 16:39:26 +0100 Subject: [xcrysden] [Partially solved] Install fails at startup in function glLightfv() In-Reply-To: <1323453317.9846.YahooMailClassic@web161706.mail.bf1.yahoo.com> References: <1323453317.9846.YahooMailClassic@web161706.mail.bf1.yahoo.com> Message-ID: <1323877166.3233.32.camel@catalyst.ijs.si> On Fri, 2011-12-09 at 09:55 -0800, Bhagwan Sahu wrote: > Hi, > > > I have a 32 bit desktop with Ubuntu Linux (version 10.04) and downloaded the semi-shared version for it. > > xc-1.5.24-linux_x86-semishared.tar.gz > > ungzip followed by ./xcConfigure step and followed by source ~/.bashrc and launching 'xcrysden' from the Xcrysden directory produces this message: > > Can't open /home/brsahu/XCrySDen-1.5.25-bin-shared/scripts/xcLib.sh The reason is that you need to clean the xcrysden's definitions from previous version from the ~/.bashrc file (note the version mismatch between your downloaded version the what the error reports). Regards, Tone -- Anton Kokalj J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia (tel: +386-1-477-3523 // fax:+386-1-477-3822) Please, if possible, avoid sending me Word or PowerPoint attachments. See: http://www.gnu.org/philosophy/no-word-attachments.html