[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wxruby-dev] Corrections for Windows build error
From: |
Park Heesob |
Subject: |
Re: [Wxruby-dev] Corrections for Windows build error |
Date: |
Sat, 19 Jul 2003 21:18:44 +0900 |
Hi,
----- Original Message -----
From: "Roy Varghese" <address@hidden>
To: <address@hidden>
Sent: Saturday, July 19, 2003 6:35 PM
Subject: Re: [Wxruby-dev] Corrections for Windows build error
...
>
> Final hurdle, I get a Segmentation Fault when running the Calendar
> example. I can see the Calendar window , but a dialog box saying
> "This applicaton has requested the Runtime to terminate it in an unusual
> way" pops up in front of it. Seems to be happening when main_loop() is
> called, here's some code through IRB
> ==========
> C:\Temp>irb test2.rbw
> test2.rbw(main):001:0> require 'wxruby'
> true
> test2.rbw(main):002:0> include Wx
> Object
> test2.rbw(main):003:0>
> test2.rbw(main):004:0* class MyFrame < Frame
> test2.rbw(main):005:1> def initialize(title,point,size)
> test2.rbw(main):006:2> super(nil,-1,title,point,size)
> test2.rbw(main):007:2> end
> test2.rbw(main):008:1> end
> nil
> test2.rbw(main):009:0> class MyApp < App
> test2.rbw(main):010:1> def OnInit()
> test2.rbw(main):011:2> f = MyFrame.new("Hello
> World",Point.new(50,50),Size.new(200,300))
> test2.rbw(main):012:2> f.show(TRUE);
> test2.rbw(main):013:2* end
> test2.rbw(main):014:1> end
> nil
> test2.rbw(main):015:0>
> test2.rbw(main):016:0* a = MyApp.new
> #<MyApp:0x275c2a0>
> test2.rbw(main):017:0> a.main_loop()
> test2.rbw:17: [BUG] Segmentation fault
> ruby 1.7.3 (2002-11-17) [i386-mswin32]
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
>
> ======
>
> Thx
> Roy
>
I have no error for calendar.rb or your test2.rbw in Ruby 1.8.0.
I think it is due to ruby 1.7.3 bug.
Would you try again with Ruby version to 1.8.0?
Regards,
Park Heesob
- Re: [Wxruby-dev] Corrections for Windows build error, (continued)
- Re: [Wxruby-dev] Corrections for Windows build error, Kevin Smith, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Park Heesob, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Kevin Smith, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Park Heesob, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Kevin Smith, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Park Heesob, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Kevin Smith, 2003/07/18
- Re: [Wxruby-dev] Corrections for Windows build error, Gour, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error,
Park Heesob <=
- Re: [Wxruby-dev] Corrections for Windows build error, Park Heesob, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Kevin Smith, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Park Heesob, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/19
- Re: [Wxruby-dev] Corrections for Windows build error, Gour, 2003/07/20
- Re: [Wxruby-dev] Corrections for Windows build error, Gour, 2003/07/20
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/21
- Re: [Wxruby-dev] Corrections for Windows build error, Roy Varghese, 2003/07/20