noreply at rubyforge.org
2010-Mar-22 19:53 UTC
[wxruby-development] [ wxruby-Bugs-27998 ] wxruby 2.0.1 and Fedora 12 causes Ruby SEGFUALT
Bugs item #27998, was opened at 2010-03-22 15:53
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=27998&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Alexander Scott (scottaj2)
Assigned to: Nobody (None)
Summary: wxruby 2.0.1 and Fedora 12 causes Ruby SEGFUALT
Initial Comment:
When I start any wxruby application the ruby interpreter(ruby 1.8.6 (2009-08-04
patchlevel 383) [x86_64-linux]) crashes with a segfault.
Here is the GDB output for nothing.rb included in the wxruby samples:
Any wxruby app that is run causes the ruby interpreter to crash with a SEGFAULT
on Fedora 12.
GDB Output for nothing.rb included in the wxruby samples:
[al at SNAFU-AJS ~]$ gdb --args ruby
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86_64-linux/samples/minimal/nothing.rbGNU
gdb (GDB) Fedora (7.0.1-34.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ruby...Reading symbols from
/usr/lib/debug/usr/bin/ruby.debug...done.
done.
(gdb) r
Starting program: /usr/bin/ruby
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86_64-linux/samples/minimal/nothing.rb
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00000035e949073f in wxFontMapperBase::Get () at src/common/fmapbase.cpp:295
295 sm_instance = traits->CreateFontMapper();
(gdb) whe
#0 0x00000035e949073f in wxFontMapperBase::Get () at
src/common/fmapbase.cpp:295
#1 0x00000035e9491589 in wxFontMapperModule::OnInit (this=<value optimized
out>) at src/common/fmapbase.cpp:244
#2 0x00000035e94a9ad5 in Init (module=0xbf7800, initializedModules=...) from
/usr/lib64/libwx_baseu-2.8.so.0
#3 wxModule::DoInitializeModule (module=0xbf7800, initializedModules=...) at
src/common/module.cpp:131
#4 0x00000035e94a9c7c in wxModule::InitializeModules () at
src/common/module.cpp:162
#5 0x00000035e9497942 in DoCommonPostInit (argc=@0x7ffff68d55d0, argv=<value
optimized out>) at src/common/init.cpp:246
#6 wxEntryStart (argc=@0x7ffff68d55d0, argv=<value optimized out>) at
src/common/init.cpp:311
#7 0x00000035e9497a7b in wxEntry (argc=<value optimized out>,
argv=<value optimized out>) at src/common/init.cpp:425
#8 0x00007ffff6148c65 in main_loop (argc=<value optimized out>,
argv=<value optimized out>, self=<value optimized out>) at
src/App.cpp:2303
#9 _wrap_App_main_loop (argc=<value optimized out>, argv=<value
optimized out>, self=<value optimized out>) at src/App.cpp:3265
#10 0x00007ffff7d18271 in rb_call0 (klass=<value optimized out>,
recv=<value optimized out>, id=<value optimized out>, oid=<value
optimized out>,
argc=<value optimized out>, argv=<value optimized out>,
body=0x7ffff6b70f40, flags=<value optimized out>) at eval.c:5872
#11 0x00007ffff7d1845a in rb_call (klass=140737332582280, recv=140737335376160,
mid=25521, argc=0, argv=0x0, scope=0, self=<value optimized out>)
at eval.c:6119
#12 0x00007ffff7d1533f in rb_eval (self=<value optimized out>, n=<value
optimized out>) at eval.c:3492
#13 0x00007ffff7d18113 in rb_call0 (klass=<value optimized out>,
recv=<value optimized out>, id=<value optimized out>, oid=<value
optimized out>,
argc=<value optimized out>, argv=<value optimized out>,
body=0x7ffff69ea220, flags=<value optimized out>) at eval.c:6023
#14 0x00007ffff7d1845a in rb_call (klass=140737332582240, recv=140737332582280,
mid=5137, argc=0, argv=0x0, scope=0, self=<value optimized out>)
at eval.c:6119
#15 0x00007ffff7d1533f in rb_eval (self=<value optimized out>, n=<value
optimized out>) at eval.c:3492
#16 0x00007ffff7d15c46 in rb_eval (self=<value optimized out>, n=<value
optimized out>) at eval.c:3222
#17 0x00007ffff7d24feb in ruby_exec_internal () at eval.c:1644
#18 0x00007ffff7d25035 in ruby_exec () at eval.c:1664
#19 0x00007ffff7d25065 in ruby_run () at eval.c:1674
#20 0x0000000000400831 in main (argc=2, argv=0x7fffffffdfb8, envp=<value
optimized out>) at main.c:48
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=27998&group_id=35