octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes o


From: Rik
Subject: [Octave-bug-tracker] [bug #44478] test __osmesa_print__.cc-tst crashes on ubuntu
Date: Sun, 08 Mar 2015 12:58:51 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #5, bug #44478 (project octave):

The function that is segfaulting according to gdb is glGetIntegerv and the
function prototype says that the variable reference passed in should be of
type GLint.  The code in __osmesa_print__.cc is using just int.  It is
possible that the C++ int and GLint differ in size so a different amount of
memory is being written by the Nvidia routines which should have been compiled
against the OpenGL headers.

This is unlikely to be the source of the problem, but was bad practice anyways
so I changed it (http://hg.savannah.gnu.org/hgweb/octave/rev/f48e650a68b5).

@Tatsuro, you should be able to build from Mercurial sources on Ubuntu easily.
 If you can check whether this helps that would be great.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]