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 with Nvidia drivers
Date: Mon, 16 Mar 2015 15:03:46 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

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

@Juan: Can you build a version of octave with debugging symbols and minimal
optimization and then run the simplified code from comment #33.

Here is what I use for this purpose which happens to assume a tcsh shell:


setenv CFLAGS "-g -O0 -pipe"
setenv CXXFLAGS "${CFLAGS}"
setenv FFLAGS "${CFLAGS}"

./configure --prefix=/usr/local --disable-jit |& tee myconfig.log


Also, when you run make, turn on verbose reporting and record the log.


make V=1 |& tee mymake.log


It may be that the linker flags are not set correctly so that the wrong
library is being preferred.

Finally, to run


./run-octave -g -f --no-gui
# at gdb prompt
run
# at octave prompt
sombrero
__osmesa_print__ (1)
# at gdb prompt after segfault
bt


I expect the backtrace to show that it is the glEnable call that leads to the
segfault, but I'm wondering if it will give a clue as to which library it is
going in to when it fails.



    _______________________________________________________

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]