bugGNU Octave - Bugs: bug #50391, Octave crashes after double click...

 
 

bug #50391: Octave crashes after double click inside loglog plot window

Submitter:  Flavio De Lorenzi <dflavio>
Submitted:  Fri 24 Feb 2017 11:10:53 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Flavio De Lorenzi Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 01 Mar 2017 08:47:14 AM UTC, comment #5: 

Agreed. It is not an octave issue, it seems to be a mesa/dri problem... Thanks for your effort and sorry for the inconveniences.
Best, F.

Flavio De Lorenzi <dflavio>
Sun 26 Feb 2017 09:54:14 PM UTC, comment #4: 

You could try building the development branch from Mercurial sources.  Otherwise, I would say that this is likely to be a computer-specific issue: either your OS (Slackware) or your specific combination of OpenGL HW, drivers, and configuration files.

Rik <rik5>
Group administrator
Sun 26 Feb 2017 08:52:33 PM UTC, comment #3: 

I tried the 4.2.1 release but I still get a segmentation fault.

Flavio De Lorenzi <dflavio>
Fri 24 Feb 2017 05:04:09 PM UTC, comment #2: 

The simplest thing might be to try the 4.2.1 bug fix release which was put out today.  See ftp://ftp.gnu.org/gnu/octave.  Over 50 bugs have been resolved including some tricky ones with segfaults and OpenGL.

Rik <rik5>
Group administrator
Fri 24 Feb 2017 12:05:28 PM UTC, comment #1: 

fyi
It does not crash for me
dev branch
 hg id
95a9d6ffaecc
ubuntu 16.04

Doug Stewart <dastew>
Fri 24 Feb 2017 11:10:53 AM UTC, original submission:  

Dear all,

I have encountered the following problem. Octave GUI exits with signal 11 after double click inside a figure window of a
loglog plot (or semilogy plot) when using qt graphics toolkit. Using gnuplot or fltk instead works fine.

The crash occurs for example using commands

>> loglog(1,2)

or

>> semilogy(1,2)

and a double click inside the figure window. However

>> semilogx(1,2)

or

>> plot(1,2)

do not crash.

The output of a gdb session after a "loglog plot crash" can be found in the attached file.

I am runnung Slackware64 14.2 (kernel 4.4.38, multilib / 32bit compatibility libs installed) on a thinkpad T460p with hybrid-graphics:
VGA compatible controller: Intel Corporation Device 191b (rev 06)
3D controller: NVIDIA Corporation Device 134d (rev a2)
using only the intel gpu.
uname -a gives
SMP Sun Dec 11 16:18:36 CST 2016 x86_64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz GenuineIntel GNU/Linux

octave-4.2.0.tar.lz was patched with atlas-lib-rename.diff and
compiled using Intel MKL

./configure \
  --prefix=/home/build/octave-debug \
  --enable-strict-warning-flags \
  --enable-bounds-check \
  --with-lapack="-lmkl_def -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_mc3 -lm -lpthread -lgomp" \
  --with-blas="-lmkl_def -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_mc3 -lm -lpthread -lgomp" \
  F77=gfortran \
  CXXFLAGS="-g -I/usr/local/intel/mkl/include -I/usr/local/intel/mkl/include/fftw" \
  LDFLAGS="-L/usr/local/intel/mkl/lib/intel64 -L/usr/local/intel/lib/intel64" \
  LD_LIBRARY_PATH="/usr/local/intel/lib/intel64:/usr/local/intel/mkl/lib/intel64:$LD_LIBRARY_PATH" \
  CFLAGS="-g" \
  FFLAGS="-g" \

make
make check
make install


Some (presumably) relevant installed packages are
qt-4.8.7-x86_64-4
l_mkl_2017.0.098
mesa-11.2.2-x86_64-1
libva-intel-driver-1.6.2-x86_64-1
xf86-video-intel-git_20160601_b617f80-x86_64-1

Any help would be appreciated.
Best regards,
Flavio

Flavio De Lorenzi <dflavio>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #39820:  octave_gdb_log.txt added by dflavio (15KiB - text/plain - gdb session log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by dflavio (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-15 mtmiller Open/ClosedOpen Closed
    2017-02-26 rik5 StatusNeed Info Works For Me
    2017-02-26 rik5 Release4.2.0 4.2.1
    2017-02-24 rik5 StatusNone Need Info
    2017-02-24 dflavio Attached File- Added octave_gdb_log.txt, #39820

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code