Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread André Pönitz
On Mon, Jan 23, 2017 at 11:29:26AM +0100, Viktor Engelmann wrote: > If it has to do with certain variables, then that only makes sense if > the "locals and expressions" panel wants to display an object that has > been deleted already, so there would be a dangling pointer. Does that > happen in your

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread André Pönitz
On Mon, Jan 23, 2017 at 10:56:28AM +0100, Etienne Sandré-Chardonnal wrote: > Hi, > > I have a fresh & clean Ubuntu 16.04 install which is up to date. > > With QtCreator, if I enable the debugging helpers and stop on some > breakpoints, I get a bunch of "Segmentation fault" dialog boxes opening >

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread Thiago Macieira
On segunda-feira, 23 de janeiro de 2017 14:53:39 PST Etienne Sandré-Chardonnal wrote: > My problem is, QtCreator/GDB opening "segmentation fault" dialogs that > stack up indefinitely until the desktop window manager freezes. That's a Qt Creator bug. Please report it. -- Thiago Macieira - thiago

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread Etienne Sandré-Chardonnal
Errh... Isn't it something we could expect from a debugger to work even with bad code? My problem is *not* that gdb is aborting with a "segmentation fault" message. My problem is, QtCreator/GDB opening "segmentation fault" dialogs that stack up indefinitely until the desktop window manager freezes.

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread Viktor Engelmann
Hi Etienne then I'd first suggest you look for some dangling pointer problem inside your code. I'd run it in valgrind to see if it can tell you more (Qt Creator integrates valgrind via the "Analyze" menu) regards Am 23.01.2017 um 13:47 schrieb Etienne Sandré-Chardonnal: > Hi Viktor, > > It happ

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread Etienne Sandré-Chardonnal
Hi Viktor, It happens in my code Etienne 2017-01-23 11:29 GMT+01:00 Viktor Engelmann : > If it has to do with certain variables, then that only makes sense if the > "locals and expressions" panel wants to display an object that has been > deleted already, so there would be a dangling pointer. D

Re: [Interest] Debugging helpers in Ubuntu

2017-01-23 Thread Viktor Engelmann
If it has to do with certain variables, then that only makes sense if the "locals and expressions" panel wants to display an object that has been deleted already, so there would be a dangling pointer. Does that happen in your code or Qt code? If Qt, can you tell which methods? regards Viktor Am