[ghemical-devel] ghemical 1.91 crashes on Render->Label mode

Tommi Hassinen thassine at messi.uku.fi
Fri Dec 9 13:29:21 EST 2005


Hello,

and thanks for the notice ; there really seems to be no glutInit() call. 
The call has been missing for many years, and this is a first report of a 
problem related to this issue.

The fix is now in CVS, but you can also make it in our own copy, in file 
src/main.cpp file around line 774:

 		gtk_init(& argc, & argv);
 		gdk_gl_init(& argc, & argv);

 		glutInit(& argc, argv);

 		singleton_cleaner<gtk_app> app_cleaner;

Regards,

 	Tommi


On Wed, 7 Dec 2005, Jordan Mantha wrote:

> Hi all!
>
>  I am running Ghemical 1.91 on Ubuntu. Everything is going well except
> for when I want to turn on labels. If I click on anything in the
> Render->Label mode menu Ghemical crashes. Below is the gdb output for
> you to look at. It seems to happen for any item in that menu and any
> molecule or gpr file I load.
>
> starting program: /usr/bin/ghemical
> [Thread debugging using libthread_db enabled]
> [New Thread -1298032960 (LWP 12027)]
> OpenGL extension version - 1.3
> WARNING : SetCurrent() called before widget was realized ; skipping...
> GL is not yet initialized -> skipping light setup!
> added local light.
> WARNING : SetCurrent() called before widget was realized ; skipping...
> WARNING : Update() called before widget was realized ; skipping...
> InitGL : setting up lights for cam 0
> draw state is 1
> orbit_xy skipped ; counter = 1
> freeglut ERROR: Function <glutBitmapCharacter> called without first
> calling 'glutInit'.
>
> Program exited with code 01.
>
>
> -Jordan Mantha
> _______________________________________________
> ghemical-devel mailing list
> ghemical-devel at bioinformatics.org
> http://bioinformatics.org/mailman/listinfo/ghemical-devel



More information about the ghemical-devel mailing list