[Pixman] debuging wxruby
Svend Haugaard Sørensen
shs at demosophia.net
Mon Oct 8 05:48:07 PDT 2012
On Mon, 08 Oct 2012 00:23:21 +0200
sandmann at cs.au.dk (Søren Sandmann) wrote:
>
> It's possible that the root cause is this bug in glibc:
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=12453
>
> If your C library is older than that, I'd try updating it first.
>
I have upgraded to glibc version 2.15-r2.
Before the upgrade the error was
/usr/lib/ruby/site_ruby/1.8/wx/classes/app.rb:16: [BUG] Segmentation
fault ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
after the upgrade it changes to this.
/usr/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so: [BUG] Segmentation
fault ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
But the stanges thing happens. If I run it via gdb it works fine !!!,
no Segmentation fault.
See here
------------------
gdb --args ruby minimal.rb
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/ruby...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/ruby minimal.rb
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Program exited normally.
(gdb)
--------------
And the same problem for every GUI program I have tested on my system.
like firefox, claws mail
But it complains about: "set solib-search-path" or "set sysroot"?
More information about the Pixman
mailing list