Re: $drawing_area->queue_draw(); make program crash on some systems



Hello Emmanuele,

My apologies, I thought the original email would appear in the thread. As I wrote in the first email, I have 
a $drawing_area that is a grand-grand-grand child of a $window. When the user clicks on the drawing area, my 
program adds a point (and then paths) on the locations clicked.

To schedule the redrawing, I tried calling $drawing_area->queue_draw();. This works fine on opensuse 13.1 
i586, but crashes on opensuse 13.1 x86_64.

Calling $window->queue_draw(); works fine on both systems, but does not make much sense to me, particularly 
if I ever want to replace it with a queue_draw_area(...).

Anyway, I'll try a GDB trace, and maybe strip all the UI and stuff from my program to have something shorter 
exhibiting what I think is a bug...

Guillaume

On Tuesday 03 February 2015 14:43:10 you wrote:
hi;

On 3 February 2015 at 14:41, Emmanuele Bassi <ebassi gmail com> wrote:
hi;

On 3 February 2015 at 14:31, gvb <postdoc38 yahoo fr> wrote:
Sorry, I forgot to add my code to the previous email. Here it is. Problem is
at line 1912...

Any comment welcome...

sorry, but you'll have to do a bit better than this.

that is a massive Perl application, one that is unlikely to just be
run by random people.

could you please write a small, self-contained test case that exhibits
the same crash?

what would also help is running it under GDB and retrieving the stack
trace of the crash, so that you can at least look at where it's
failing.

ciao,
 Emmanuele.





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