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

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

[Octave-bug-tracker] [bug #60987] rotating generated image with mouse ca


From: Chris Gorman
Subject: [Octave-bug-tracker] [bug #60987] rotating generated image with mouse causes segfault
Date: Thu, 29 Jul 2021 10:13:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Follow-up Comment #3, bug #60987 (project octave):

I disabled hardware accelerated graphics via creating a file
/etc/X11/xorg.conf.d/disable-gpu.conf with the contents...


Section "Extensions"
    Option "GLX" "Disable"
EndSection


Now I get the following from glxinfo.  (Whereas I got info from it before
making disable-gpu.conf.)


[chris@descartes ~]$ glxinfo 
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig


I still get the same errors.  I'm putting the gdb backtrace inside a verbatim
as it looks horible currently.  This is from demo isosurface.


(gdb) bt
#0  0x00007f655e9345e3 in LLVMBuildBitCast () from /usr/lib/libLLVM-12.so
#1  0x00007f6579cdb620 in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f657a684b9b in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f6579cb1869 in ?? () from /usr/lib/dri/r600_dri.so
#4  0x00007f6579c50300 in ?? () from /usr/lib/dri/r600_dri.so
#5  0x00007f6579c61265 in ?? () from /usr/lib/dri/r600_dri.so
#6  0x00007f6579bfe5e2 in ?? () from /usr/lib/dri/r600_dri.so
#7  0x00007f657a68b042 in ?? () from /usr/lib/dri/r600_dri.so
#8  0x00007f6579c04265 in ?? () from /usr/lib/dri/r600_dri.so
#9  0x00007f6579c0c869 in ?? () from /usr/lib/dri/r600_dri.so
#10 0x00007f65797d74a3 in ?? () from /usr/lib/dri/r600_dri.so
#11 0x00007f6579870bd3 in ?? () from /usr/lib/dri/r600_dri.so
#12 0x00007f657986ede3 in ?? () from /usr/lib/dri/r600_dri.so
#13 0x00007f657998df7c in ?? () from /usr/lib/dri/r600_dri.so
#14 0x00007f657998e2dd in ?? () from /usr/lib/dri/r600_dri.so
#15 0x00007f6579a39a26 in ?? () from /usr/lib/dri/r600_dri.so
#16 0x00007f659538ab6e in octave::opengl_renderer::set_polygon_offset(bool,
float) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#17 0x00007f6590a0ce6b in gluTessEndPolygon () from /usr/lib/libGLU.so.1
#18 0x00007f65953a565c in
octave::opengl_renderer::draw_patch(patch::properties const&) () from
/usr/lib/octave/6.3.0/liboctinterp.so.9
#19 0x00007f659538f753 in octave::opengl_renderer::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
--Type <RET> for more, q to quit, c to continue without paging--
#20 0x00007f6595c5edba in octave::opengl_selector::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#21 0x00007f65953a8c50 in
octave::opengl_renderer::draw_axes_children(axes::properties const&) () from
/usr/lib/octave/6.3.0/liboctinterp.so.9
#22 0x00007f65953a97e5 in octave::opengl_renderer::draw_axes(axes::properties
c
nst&) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#23 0x00007f659538f753 in octave::opengl_renderer::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#24 0x00007f6595c5edba in octave::opengl_selector::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#25 0x00007f6595c5f029 in octave::opengl_selector::select(graphics_object
const&, int, int, int) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#26 0x00007f6595c252c1 in QtHandles::GLCanvas::selectFromAxes(graphics_object
const&, QPoint const&) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#27 0x00007f6595c14342 in QtHandles::Canvas::select_object(graphics_object,
QMouseEvent*, graphics_object&, graphics_object&, bool,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >) () from
/usr/lib/octave/6.3.0/liboctgui.so.6
#28 0x00007f6595c14fa5 in
QtHandles::Canvas::canvasMousePressEvent(QMouseEvent*) () from
/usr/lib/octave/6.3.0/liboctgui.so.6
#29 0x00007f65927620be in QWidget::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007f659271ed62 in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
    () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f6592726ac9 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#32 0x00007f6595cc7388 in octave::octave_qapplication::notify(QObject*,
QEvent*) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#33 0x00007f6591c4a3aa in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
    () from /usr/lib/libQt5Core.so.5
#34 0x00007f659272557b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
()
   from /usr/lib/libQt5Widgets.so.5
#35 0x00007f659277ba84 in ?? () from /usr/lib/libQt5Widgets.so.5
#36 0x00007f659277edb5 in ?? () from /usr/lib/libQt5Widgets.so.5
#37 0x00007f659271ed62 in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
    () from /usr/lib/libQt5Widgets.so.5
#38 0x00007f6595cc7388 in octave::octave_qapplication::notify(QObject*,
QEvent*) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#39 0x00007f6591c4a3aa in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
    () from /usr/lib/libQt5Core.so.5
#40 0x00007f6592023210 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt5Gui.so.5
#41 0x00007f6591ff87e5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#42 0x00007f658bc96fac in ?? () from /usr/lib/libQt5XcbQpa.so.5
#43 0x00007f658ed9b10c in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#44 0x00007f658edeeb99 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007f658ed98871 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#46 0x00007f6591ca2fd6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#47 0x00007f6591c48d1c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#48 0x00007f6591c51284 in QCoreApplication::exec() ()
   from /usr/lib/libQt5Core.so.5
#49 0x00007f6595cd1f67 in octave::qt_application::execute() ()
   from /usr/lib/octave/6.3.0/liboctgui.so.6
#50 0x000055e4ac8d922f in ?? ()
#51 0x00007f6593399b25 in __libc_start_main () from /usr/lib/libc.so.6
#52 0x000055e4ac8d950e in ?? ()


This is from the camlight example.


(gdb) bt
#0  0x00007f010e9345e3 in LLVMBuildBitCast () from /usr/lib/libLLVM-12.so
#1  0x00007f0128bea620 in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f0129593b9b in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f0128bc0869 in ?? () from /usr/lib/dri/r600_dri.so
#4  0x00007f0128b5f300 in ?? () from /usr/lib/dri/r600_dri.so
#5  0x00007f0128b70265 in ?? () from /usr/lib/dri/r600_dri.so
#6  0x00007f0128b0d5e2 in ?? () from /usr/lib/dri/r600_dri.so
#7  0x00007f012959a042 in ?? () from /usr/lib/dri/r600_dri.so
#8  0x00007f0128b13265 in ?? () from /usr/lib/dri/r600_dri.so
#9  0x00007f0128b1b869 in ?? () from /usr/lib/dri/r600_dri.so
#10 0x00007f01286e64a3 in ?? () from /usr/lib/dri/r600_dri.so
#11 0x00007f012877fbd3 in ?? () from /usr/lib/dri/r600_dri.so
#12 0x00007f012877dde3 in ?? () from /usr/lib/dri/r600_dri.so
#13 0x00007f012889cf7c in ?? () from /usr/lib/dri/r600_dri.so
#14 0x00007f012889d2dd in ?? () from /usr/lib/dri/r600_dri.so
#15 0x00007f01289491f7 in ?? () from /usr/lib/dri/r600_dri.so
#16 0x00007f0143ee37b0 in
octave::opengl_renderer::draw_surface(surface::properties const&) () from
/usr/lib/octave/6.3.0/liboctinterp.so.9
#17 0x00007f0143ed1753 in octave::opengl_renderer::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#18 0x00007f01447a0dba in octave::opengl_selector::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#19 0x00007f0143eeac50 in
octave::opengl_renderer::draw_axes_children(axes::prop--Type <RET> for more, q
to quit, c to continue without paging--
erties const&) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#20 0x00007f0143eeb7e5 in octave::opengl_renderer::draw_axes(axes::properties
const&) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#21 0x00007f0143ed1753 in octave::opengl_renderer::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctinterp.so.9
#22 0x00007f01447a0dba in octave::opengl_selector::draw(graphics_object
const&, bool) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#23 0x00007f01447a1029 in octave::opengl_selector::select(graphics_object
const&, int, int, int) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#24 0x00007f01447672c1 in QtHandles::GLCanvas::selectFromAxes(graphics_object
const&, QPoint const&) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#25 0x00007f0144756342 in QtHandles::Canvas::select_object(graphics_object,
QMouseEvent*, graphics_object&, graphics_object&, bool,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >) () from
/usr/lib/octave/6.3.0/liboctgui.so.6
#26 0x00007f0144756fa5 in
QtHandles::Canvas::canvasMousePressEvent(QMouseEvent*) () from
/usr/lib/octave/6.3.0/liboctgui.so.6
#27 0x00007f01412a40be in QWidget::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#28 0x00007f0141260d62 in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
    () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f0141268ac9 in QApplication::notify(QObject*, QEvent*) ()
--Type <RET> for more, q to quit, c to continue without paging--
   from /usr/lib/libQt5Widgets.so.5
#30 0x00007f0144809388 in octave::octave_qapplication::notify(QObject*,
QEvent*) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#31 0x00007f014078c3aa in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
    () from /usr/lib/libQt5Core.so.5
#32 0x00007f014126757b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
()
   from /usr/lib/libQt5Widgets.so.5
#33 0x00007f01412bda84 in ?? () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f01412c0db5 in ?? () from /usr/lib/libQt5Widgets.so.5
#35 0x00007f0141260d62 in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
    () from /usr/lib/libQt5Widgets.so.5
#36 0x00007f0144809388 in octave::octave_qapplication::notify(QObject*,
QEvent*) () from /usr/lib/octave/6.3.0/liboctgui.so.6
#37 0x00007f014078c3aa in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
    () from /usr/lib/libQt5Core.so.5
#38 0x00007f0140b65210 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt5Gui.so.5
#39 0x00007f0140b3a7e5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Gui.so.5
#40 0x00007f013a7d8fac in ?? () from /usr/lib/libQt5XcbQpa.so.5
#41 0x00007f013d8dd10c in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#42 0x00007f013d930b99 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007f013d8da871 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#44 0x00007f01407e4fd6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#45 0x00007f014078ad1c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#46 0x00007f0140793284 in QCoreApplication::exec() ()
   from /usr/lib/libQt5Core.so.5
#47 0x00007f0144813f67 in octave::qt_application::execute() ()
   from /usr/lib/octave/6.3.0/liboctgui.so.6
#48 0x000055598724322f in ?? ()
#49 0x00007f0141edbb25 in __libc_start_main () from /usr/lib/libc.so.6
#50 0x000055598724350e in ?? ()


My system is arch linux using mesa 21.1.5-1, llvm-libs 12.0.1-2.  Did I
properly disable hardware acceleration?  This is my first attempt at it.  Do I
need to rebuild octave to test this properly?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60987>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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