Re: [GtkGLExt] how to solve the segmentation fault on window resize?
- From: 明覺 <shi minjue gmail com>
- To: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] how to solve the segmentation fault on window resize?
- Date: Mon, 11 May 2009 20:22:28 +0800
On Mon, May 11, 2009 at 8:13 PM, Jean Bréfort
<jean brefort normalesup org> wrote:
> I can confirm the crash on an amd64 machine. The crash occurs either
> when resizing or closing the window. It affects at least all programs
> using gtkglext including the examples. The two attached backtraces were
yes, but it's not due to the amd64 cpu, it might be a bug of mesa or
some other packages, for if i build and run the examples on debian
testing on the same amd64 machine, which is with mesa-7.0.3, the
window can resize normally, so it might be the bug of mesa-7.4, but my
debug technology is so poor, i cannot get any information about the
crash by gdb, only "segmentation fault".
> obtained with examples/gears. The first one is when resizing the window
> and the second when closing it. Both tell that the crash occurs suring
> GLWait() execution. There is no crash after exiting using the "Quit"
> button.
>
> Le lundi 11 mai 2009 à 15:45 +0800, 明? a écrit :
>> On Mon, May 11, 2009 at 3:19 PM, Braden McDaniel <braden endoframe com> wrote:
>> > On Mon, 2009-05-11 at 14:18 +0800, 明? wrote:
>> >> On Mon, May 11, 2009 at 2:02 PM, Braden McDaniel <braden endoframe com> wrote:
>> >> > On Mon, 2009-05-11 at 13:37 +0800, 明? wrote:
>> >> >> I'm following the examples of gtkglextmm, and it can display
>> >> >> successfully, but if I resize the window, the application will exit on
>> >> >> segmentation fault error, how could i solve it? thanks
>> >> >
>> >> > In which example are you observing this?
>> >> for every exmple in
>> >> file:///usr/share/doc/libgtkglextmm-x11-1.2-doc/html/examples.html,
>> >> the segmentation fault error will occur when resizing window, here is
>> >> a example:
>> >
>> > [Rather than compare that code to simple.cc in CVS, I'll just assume you
>> > haven't modified it; correct me if that's wrong.]
>> >
>> > I'm not able to reproduce a crash. I've tried simple, logo, shapes, and
>> > gears; and I'm able to resize the window for each without any problem.
>> >
>> > I'm using GTK+ 2.14.7 and gtkmm 2.14.3. What versions of these are you
>> > using? Can you provide a stack trace?
>> yes, i have verified that in i386 cpu environment, the applications
>> can run without such a problem, thank you!
>> >
>> > --
>> > Braden McDaniel <braden endoframe com>
>> >
>> > _______________________________________________
>> > gtkglext-list mailing list
>> > gtkglext-list gnome org
>> > http://mail.gnome.org/mailman/listinfo/gtkglext-list
>> >
>>
>>
>>
>
--
我的操作系?是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution
Gtkmm/Gtkglextmm Scim Totem Pidgin.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]