[wxruby-users] Segfault with GridCellChoiceEditor
Glen Holcomb
damnbigman at gmail.com
Tue Jul 29 11:05:17 EDT 2008
On Tue, Jul 29, 2008 at 8:39 AM, Glen Holcomb <damnbigman at gmail.com> wrote:
> On Tue, Jul 29, 2008 at 7:47 AM, Alex Fenton <alex at pressure.to> wrote:
>
>> Glen Holcomb wrote:
>>
>>> Okay back sooner than I thought, turns out I had the code here at home
>>> after all. Still no go. I tried GC.disable at the top of the app too and I
>>> get the same exact behavior.
>>>
>>> The dropdown menu renders for a split second then it reverts to looking
>>> like the default cell. After that any attempt to interact with the app
>>> causes the segfault.
>>>
>>> Oddly it doesn't segfault immediately and will infact continue to run
>>> until I click anywhere in the window. Returning focus to the app doesn't
>>> kill it either.
>>>
>> OK - sorry it didn't help - could you post a small but complete example
>> that reproduces the issue so I can try it out and run it under a debugger
>> please?
>>
>> thanks
>>
>> alex
>>
>>
>>
>> _______________________________________________
>> wxruby-users mailing list
>> wxruby-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/wxruby-users
>>
>
> That's a good question :) I'll see what I can come up with. It might just
> be easier to send you the whole thing though as I'm using a sqlite database
> backend and Sequel, which could be contributing to or causing the problem.
>
> I'll see if I can get something small that will re-create the problem
> though.
>
> --
> "Hey brother Christian with your high and mighty errand, Your actions speak
> so loud, I can't hear a word you're saying."
>
> -Greg Graffin (Bad Religion)
>
Okay Alex,
I've got it down to 225 lines, not short but I think it's the shortest I can
do without possibly trivializing the issue. I'm going to try attaching the
file as it is a bit long and since I've stripped the code for adding db
records (for brevity's sake) I will need to attach a db file as well. I'm
not sure if the list will allow attachments though so if not let me know.
-Glen
--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080729/05d29281/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seg_repro.rb
Type: application/octet-stream
Size: 6758 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080729/05d29281/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: circadian.db
Type: application/octet-stream
Size: 8192 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20080729/05d29281/attachment-0001.obj>
More information about the wxruby-users
mailing list