Re: [Evolution-hackers] evo CVS HEAD Expunge dialog



isn't this just the problem where a non-window was being passed to
something expecting a window?  it was patched yesterday.

On Wed, 2004-01-14 at 15:47 -0500, Jeffrey Stedfast wrote:
> the problem is that 'fmt' is corrupt and so there's probably been some
> sort of memory corruption action somewhere.
> 
> I just can't reproduce the problem.
> 
> Jeff
> 
> On Wed, 2004-01-14 at 15:40 -0500, Bryan W. Clark wrote:
> > hm, ok. I guess that shows I know barely anything about gtk+ :)
> > 
> > Here's more info from gdb:
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 16384 (LWP 3191)]
> > em_utils_prompt_user (parent=0x8511c60, def=139533408,
> >     promptkey=0x418052a0 "/apps/evolution/mail/prompts/expunge",
> >     fmt=0x8511c60 "\200\030Q\b\001") at em-utils.c:96
> >  
> > 96                      gtk_box_pack_start ((GtkBox *)((GtkDialog *)
> > mbox)->vbox, check, TRUE, TRUE, 10);
> > (gdb) print (GtkDialog *) mbox
> > $2 = (struct _GtkDialog *) 0x0
> > (gdb) print ((GtkDialog *) mbox)->vbox
> > Cannot access memory at address 0x94
> > (gdb) print check
> > $1 = (GtkWidget *) 0x8511c60
> > 
> > I'll update, rebuild and check it again.
> > 
> > ~ Bryan
> > 
> > On Wed, 14 Jan 2004, Jeffrey Stedfast wrote:
> > 
> > > er, uh... GtkDialog is what contains the vbox. you have to cast, the
> > > mbox itself doesn't contain the vbox.
> > > 
> > > and the vbox is created, it has to be... the gtk dialog code creates it
> > > 
> > > Jeff
> > > 
> > > On Wed, 2004-01-14 at 15:11 -0500, Bryan W. Clark wrote:
> > > > Hey ~
> > > > 
> > > > It appears that there's a crasher in the Expunge dialog from
> > > > mail/em-utils.c line 96.  The vbox widget is never created.
> > > > 
> > > > (gdb) print mbox->vbox
> > > > There is no member named vbox.
> > > > 
> > > > I've got a relevant piece of a backtrace:
> > > > 
> > > > Program received signal SIGSEGV, Segmentation fault.
> > > > [Switching to Thread 16384 (LWP 8688)]
> > > > em_utils_prompt_user (parent=0x8360e28, def=137760296,
> > > >     promptkey=0x418052a0 "/apps/evolution/mail/prompts/expunge",
> > > >     fmt=0x8360e28 " \n6\b\001") at em-utils.c:96
> > > > 96                      gtk_box_pack_start ((GtkBox *)((GtkDialog *)
> > > > mbox)->vbox, check, TRUE, TRUE, 10);
> > > > 
> > > > I could send a patch if you wanted, but it's probably easier for you guys
> > > > to add the gtk_vbox_new yourself.
> > > > 
> > > > Thanks,
> > > > ~ Bryan
> > > > 
> > > > _______________________________________________
> > > > evolution-hackers maillist  -  evolution-hackers lists ximian com
> > > > http://lists.ximian.com/mailman/listinfo/evolution-hackers
> > > -- 
> > > Jeffrey Stedfast
> > > Evolution Hacker - Ximian, Inc.
> > > fejj ximian com  - www.ximian.com
> > > 
> > > _______________________________________________
> > > evolution-hackers maillist  -  evolution-hackers lists ximian com
> > > http://lists.ximian.com/mailman/listinfo/evolution-hackers
> > > 
> -- 
> Jeffrey Stedfast
> Evolution Hacker - Ximian, Inc.
> fejj ximian com  - www.ximian.com
> 
> _______________________________________________
> evolution-hackers maillist  -  evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]