Hi E-developers!!

First of all, sorry for my possible-poor english, I write it very few.

I have found a bug (at least I think it's a bug) in the EWL libraries, but
don't know if I must submit it, let me explain...

I'm developing a text-editor using EWL, the app have a tabbed bar (an
Ewl_Notebook widget) and I create and destroy pages without problem, except
in one special situation: when I destroy the last page of the tabbar and
create another one, I receive the next EWL messages:

***** Ewl Developer Warning ***** :
>  To find where this is occurring set a breakpoint
>  for the function ewl_print_warning.
>     This program is calling:
>
>     ewl_attach_get();
>
>     With the paramter:
>
>     w
>
>     as the wrong type. (NULL) instead of (widget).
>     Please fix your program.
>
> ***** Ewl Developer Warning ***** :
>  To find where this is occurring set a breakpoint
>  for the function ewl_print_warning.
>     This program is calling:
>
>     ewl_widget_hide();
>
>     With the paramter:
>
>     w
>
>     as the wrong type. (NULL) instead of (widget).
>     Please fix your program.
>

I think that EWL doesn't handle very well the void tabbars, but I have no
problem with it... except when I destroy the last page and create another
one exactly three times, that when I receive a "Segmentation fault" signal;
this don't happen if I don't destroy the last page, no matter how much pages
create and destroy, nor the sort of the pages.

In addition, as you can imagine, I don't have calls to the functions
ewl_attach_get or ewl_widget_hide in my code.

With a few of gdb I found that the SF signal is raised in the function
"ewl_widget_type_is" in the file "ewl_widget.c".
In this function, the parameter "widget" is valid, but not his properties
"inheritance" and "theme_path", I think that the signal is raised when, in
the loop, access to "widget->inheritance" (but it's only a supposition).

I don't post it in the tracker because I don't have the latest SVN build,
that is because I use Enlightenment as my primary (and unique) window
manager in this PC and now I have it with an almost-stable build (I build it
from SVN), also I have done some bad builds'n'rollbacks, so I don't have the
source code of my build (a stupid error, I know...) and don't know how in
the hell provide you the exactly version of my build; so, I don't know if
the bug is still present in the actual SVN and don't want full with garbage
the bug tracker.

If anyone can test this Ewl_Notebook bug with an updated build of EWL would
be great; if want my code for creation and destroy pages say it to me and
will send you.
Or if anyone can say me how can I get the exactly version of my build and if
I must post this in the tracker I'd be grateful.

Sorry for my noob behavior, but this will be my first bug submited in a free
software tracker, and don't want post invalid bugs, which I think must be
very annoying for the developers.

Thanks in advance.
Terseus.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to