# Wxruby and ActiveRecord

**URL:** <https://www.ruby-forum.com/t/wxruby-and-activerecord/127452>\
**Category:** wxRuby\
**Created:** [January 29, 2008, 11:50am UTC](https://www.ruby-forum.com/t/wxruby-and-activerecord/127452 "2008-01-29T11:50:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [January 29, 2008, 11:50am UTC](https://www.ruby-forum.com/t/wxruby-and-activerecord/127452/1 "2008-01-29T11:50:47Z")

</div>

Hello,

i’m running wxruby 1.9.4, and i show my ActiveRecord data in a grid  
(with GridTableBase) (a grid with 30 columns)

> From my base Window, i open and close the GridWindow. After several  
> openings and closes, this message appears:

c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_  
record/base.rb:1860: [BUG] Segmentation fault  
ruby 1.8.6 (2007-03-13) [i386-mswin32]

(Somtimes, (every hour) a segmentation fault on the wxruby main loop is  
also registered!)

Did someone have a similar problem?

With wxruby 1.9.2 i do not have this problem, even though in some rare  
cases, a segmentation fault appears.

franz

This communication and any files or attachments transmitted with it may  
contain information that is copyrighted or confidential and exempt from  
   
 disclosure under applicable law. It is intended solely for the use  
of the individual or the entity to which it is addressed.   
  
If you are not the intended recipient, you are hereby notified that any  
use, dissemination, or copying of this communication is strictly  
prohibited.   
  
If you have received this communication in error, please notify us at  
once so that we may take the appropriate action and avoid troubling you  
further.   
  
Thank you for your cooperation. Please contact your local IT staff or  
email [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid?subject=Disclaimer)  
if you need assistance.  
   
&nbsp;  
  
Siltronic AG, Sitz München, Hanns-Seidel-Platz 4, 81737  
München, Germany. Amtsgericht München HRB 150884  
   
  
Vorstand: Wilhelm Sittenthaler (Vorsitz), Gerhard Brehm, Paul Lindblad,  
Joachim Manke, Michael Peterat. Vorsitzender des Aufsichtsrats:  
Peter-Alexander Wacker

---

<div class="post-metadata">

**Author:** ![IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3d9bf3/32.png) [@IrlwegS\_Franz\_SZNT](https://www.ruby-forum.com/u/IrlwegS_Franz_SZNT)\
**Post date:** [January 29, 2008, 5:24pm UTC](https://www.ruby-forum.com/t/wxruby-and-activerecord/127452/2 "2008-01-29T17:24:33Z")

</div>

Irlweg, Franz (ZNT) wrote:

> i’m running wxruby 1.9.4, and i show my ActiveRecord data in a grid  
> (with GridTableBase) (a grid with 30 columns)  
> From my base Window, i open and close the GridWindow. After several  
> openings and closes, this message appears:
> 
> _c:/Programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/base.rb:1860:  
> [BUG] Segmentation fault_  
> _ruby 1.8.6 (2007-03-13) [i386-mswin32]_

Thanks for the report. This is a generic crash message. I’d guess there  
may be a memory problem relating to the Wx::GridTableBase class. We can  
and do fix these crashes, but we need to identify where it’s coming  
from. To do this, we need either:

1. A debugger backtrace. This is not so easy on Windows, as the relevant  
software isn’t so convenient to install.

or

1. A complete, minimal working sample that demostrates the problem,  
along with a description of any steps needed to trigger the crash.

So, if you could provide 2) I’d be happy to look into it. Ideally create  
a new bug on the wxRuby bug tracker, and add the sample to it as an  
attachment.

[http://rubyforge.org/tracker/?atid=218&group\_id=35](http://rubyforge.org/tracker/?atid=218&group_id=35)

thanks  
alex  
\*\*
