noreply at rubyforge.org
2008-Feb-28 11:18 UTC
[wxruby-development] [ wxruby-Bugs-18441 ] /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27: [BUG] Segmentation fault
Bugs item #18441, was opened at 28/02/2008 06:18
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=18441&group_id=35
Category: None
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27: [BUG]
Segmentation fault
Initial Comment:
Hi!
I have this "bug"? in my application. This error occurs randomly after
events executions.
For example if I choose "Project->Import" from main menu, a Wizard
opens. Normal situation. So, I finish or cancel Wizard and 1-2s after, I have
this error (see below).
When I remove all events, my application don''t crash.
See an example of event calling :
evt_menu(importRecMenuItem.get_id) { |e| on_import_receivers(e) }
[...]
def on_import_receivers(event)
mywizard = Components::WizardImportReceivers.new(self)
mywizard.destroy
end
[...]
In an other file
class WizardImportReceivers < Wx::Wizard
def initialize(parent)
super(parent, Wx::ID_ANY, translate("Import"),
Wx::Bitmap.new("./resources/welcome.png", Wx::BITMAP_TYPE_PNG))
step_one = Wx::WizardPageSimple.new(self, nil, nil)
self.setup_page_welcome_one(step_one)
step_two = Wx::WizardPageSimple.new(self, step_one)
step_one.set_next(step_two)
self.setup_page_selectfile_two(step_two)
step_three = Wx::WizardPageSimple.new(self, step_two)
step_two.set_next(step_three)
self.setup_page_format_two(step_three)
@actual_page_num = 0
@filename = ""
evt_wizard_page_changing(self.get_id) { | event |
on_wizard_page_changing(event) }
run_wizard(step_one)
end
This problem occurs too on an tree_sel_changed.
Thanks for your help.
====ERROR
====/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27: [BUG] Segmentation
fault
===================ERROR DETAILS ON GDB
===================Program received signal EXC_BAD_ACCESS, Could not access
memory.
Reason: 13 at address: 0x00000000
0x001499cc in ruby_digitmap ()
========BACKTRACE
========#0 0x001499cc in ruby_digitmap ()
#1 0x82000000 in ?? ()
#2 0x000ed23d in rb_mark_hash ()
#3 0x01007cc2 in wxRubyApp::mark_iterate ()
#4 0x000de162 in rb_thread_trap_eval ()
#5 0x000df026 in rb_yield ()
#6 0x000ef217 in rb_hash_values_at ()
#7 0x000ee9e1 in st_foreach_safe ()
#8 0x00137421 in st_foreach ()
#9 0x000eeacc in st_foreach_safe ()
#10 0x000d51fa in rb_ensure ()
#11 0x000f1c0c in rb_hash_select ()
#12 0x000da18c in rb_eval_string_wrap ()
#13 0x000dad6a in rb_eval_string_wrap ()
#14 0x000db7ed in rb_respond_to ()
#15 0x000db8d6 in rb_funcall ()
#16 0x000cc844 in rb_each ()
#17 0x000d0c43 in rb_iterate ()
#18 0x01007610 in wxRubyApp::mark_wxRubyApp ()
#19 0x000ed23d in rb_mark_hash ()
#20 0x000ed47d in rb_mark_hash ()
#21 0x00137421 in st_foreach ()
#22 0x000ed20a in rb_mark_hash ()
#23 0x000ed286 in rb_mark_hash ()
#24 0x000ed47d in rb_mark_hash ()
#25 0x00137421 in st_foreach ()
#26 0x000ed194 in rb_mark_hash ()
#27 0x000ed057 in rb_mark_hash ()
#28 0x000ed47d in rb_mark_hash ()
#29 0x00137421 in st_foreach ()
#30 0x000ed20a in rb_mark_hash ()
#31 0x000ed47d in rb_mark_hash ()
#32 0x00137421 in st_foreach ()
#33 0x000ed20a in rb_mark_hash ()
#34 0x000ed057 in rb_mark_hash ()
#35 0x000ed47d in rb_mark_hash ()
#36 0x00137421 in st_foreach ()
#37 0x000ed20a in rb_mark_hash ()
#38 0x000ed057 in rb_mark_hash ()
#39 0x000ed057 in rb_mark_hash ()
#40 0x000ed057 in rb_mark_hash ()
#41 0x000ed2bf in rb_mark_hash ()
#42 0x000ed6c6 in rb_gc_mark_maybe ()
#43 0x000ee2bb in ruby_xmalloc ()
#44 0x00137111 in st_add_direct ()
#45 0x00144fe5 in rb_ivar_set ()
#46 0x0123fdaf in SwigDirector_wxSplitterWindow::SetName ()
#47 0x01244330 in SwigDirector_wxSplitterWindow::ProcessEvent ()
#48 0x01570cb2 in wxWindowBase::TryParent ()
#49 0x01456ebc in wxEvtHandler::ProcessEvent ()
#50 0x010a76f6 in Init_wxEvtHandler ()
#51 0x000d1057 in rb_with_disable_interrupt ()
#52 0x000da18c in rb_eval_string_wrap ()
#53 0x000dad6a in rb_eval_string_wrap ()
#54 0x000db7ed in rb_respond_to ()
#55 0x000db8d6 in rb_funcall ()
#56 0x011c6887 in SwigDirector_wxPanel::ProcessEvent ()
#57 0x01570cb2 in wxWindowBase::TryParent ()
#58 0x01456ebc in wxEvtHandler::ProcessEvent ()
#59 0x010a76f6 in Init_wxEvtHandler ()
#60 0x000d1057 in rb_with_disable_interrupt ()
#61 0x000da18c in rb_eval_string_wrap ()
#62 0x000dad6a in rb_eval_string_wrap ()
#63 0x000db7ed in rb_respond_to ()
#64 0x000db8d6 in rb_funcall ()
#65 0x011b5bb9 in SwigDirector_wxNotebook::ProcessEvent ()
#66 0x01570cb2 in wxWindowBase::TryParent ()
#67 0x01456ebc in wxEvtHandler::ProcessEvent ()
#68 0x010a76f6 in Init_wxEvtHandler ()
#69 0x000d1057 in rb_with_disable_interrupt ()
#70 0x000da18c in rb_eval_string_wrap ()
#71 0x000dad6a in rb_eval_string_wrap ()
#72 0x000db7ed in rb_respond_to ()
#73 0x000db8d6 in rb_funcall ()
#74 0x011c6887 in SwigDirector_wxPanel::ProcessEvent ()
#75 0x01570cb2 in wxWindowBase::TryParent ()
#76 0x01456ebc in wxEvtHandler::ProcessEvent ()
#77 0x01575355 in wxWindowBase::UpdateWindowUI ()
#78 0x014d3112 in wxWindow::OnInternalIdle ()
#79 0x014f48d6 in wxAppBase::SendIdleEvents ()
#80 0x014f4911 in wxAppBase::SendIdleEvents ()
#81 0x014f4911 in wxAppBase::SendIdleEvents ()
#82 0x014f4911 in wxAppBase::SendIdleEvents ()
#83 0x014f4911 in wxAppBase::SendIdleEvents ()
#84 0x014f4911 in wxAppBase::SendIdleEvents ()
#85 0x014f4c1b in wxAppBase::ProcessIdle ()
#86 0x0151b76d in wxEventLoopManual::Run ()
#87 0x014f4483 in wxAppBase::MainLoop ()
#88 0x01402e2a in wxEntry ()
#89 0x010076b6 in wxRubyApp::main_loop ()
#90 0x01005efe in Init_wxApp ()
#91 0x000d1057 in rb_with_disable_interrupt ()
#92 0x000da18c in rb_eval_string_wrap ()
#93 0x000dad6a in rb_eval_string_wrap ()
#94 0x000d80da in rb_eval_string_wrap ()
#95 0x000e706e in rb_load_protect ()
#96 0x000e709f in ruby_exec ()
#97 0x000e70cb in ruby_run ()
#98 0x00001fff in main ()
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=18441&group_id=35