Displaying 2 results from an estimated 2 matches for "statbar".
Did you mean:
statba
2007 Jul 10
5
Seg Fault caused by StatusBar. Am I doing something wrong?
...--------
So I just started commenting everything out that wasn''t completely
necessary until it stopped. Here is the line which is responsible:
class MyFrame < Wx::Frame
def initialize(*args)
super(*args)
### cut a bunch of commented out code that appears fine ###
@statbar = StatusBar.new(self, -1)
### cut a bunch more code ###
end
end
If I comment out the statbar line the app exits fine, if I leave it in I
get the seg fault. Anyone have an idea why? Am I initializing it
incorrectly or something?
thanks,
-alex
2007 Jul 12
0
[ wxruby-Bugs-12233 ] segfault on exit with StatusBar
...mmary: segfault on exit with StatusBar
Initial Comment:
(on behalf of Alex Ciarlillo)
In 0.40, the following code causes a segfault when the App exits:
class MyFrame < Wx::Frame
def initialize(*args)
super(*args)
### cut a bunch of commented out code that appears fine ###
@statbar = StatusBar.new(self, -1)
### cut a bunch more code ###
end
end
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=12233&group_id=35