Wxruby and ActiveRecord

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 [email protected]
if you need assistance.

 

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

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

thanks
alex
**

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs