Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Виктор Кожухаров
run it again a few times, and see if you'll get the same backtrace. So
far I've gotten a few different ones, and none of them look like yours

В пн, 2006-06-26 в 16:27 -0400, Christopher Michael написа:
> Christopher Michael wrote:
> > Виктор Кожухаров wrote:
> >> В пн, 2006-06-26 в 14:19 -0400, Christopher Michael написа:
> >>> Виктор Кожухаров wrote:
>  В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
> > urandom, here is a patch for edje_viewer to attach the delete_event 
> > to the window, so closing edje_viewer via the close button works.
> >
> > Cheers,
> > devilhorns
> > Using Tomcat but need to do more? Need to support web services, 
> > security?
> > Get stuff done quickly with pre-integrated technology to make your 
> > job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >  
> >
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>  devilhorns, there's already a delete event for the main window (line 
>  95)
> 
> 
>   
> 
> 
>  Using Tomcat but need to do more? Need to support web services, 
>  security?
>  Get stuff done quickly with pre-integrated technology to make your 
>  job easier
>  Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>  Geronimo
>  http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
> 
> 
> 
>   
> 
> 
>  ___
>  enlightenment-devel mailing list
>  enlightenment-devel@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>> That may be, however, load an edj file with this app, then try to 
> >>> close the window via the close button in the corner...oops, segfault. 
> >>> With this patch, no segfault.
> >>>
> >>
> >> how would your patch explain the removal of the segfault then? it's just
> >> prepending a callback that's already being assigned in the code.
> >> Seriously, there's a segfault when the window is closed (only if the edj
> >> file is loaded through the filechooser, and not through the command
> >> line), but your patch can't be a fix. The problem lies somewhere else.
> >>
> >>> devilhorns
> >>>
> >>> Using Tomcat but need to do more? Need to support web services, 
> >>> security?
> >>> Get stuff done quickly with pre-integrated technology to make your 
> >>> job easier
> >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> >>> Geronimo
> >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>> ___
> >>> enlightenment-devel mailing list
> >>> enlightenment-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>>
> >>> 
> >>>
> >>> Using Tomcat but need to do more? Need to support web services, 
> >>> security?
> >>> Get stuff done quickly with pre-integrated technology to make your 
> >>> job easier
> >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> >>> Geronimo
> >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>>
> >>> 
> >>>
> >>> ___
> >>> enlightenment-devel mailing list
> >>> enlightenment-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> > Not entirely sure as I didn't investigate the segfault too much, but it 
> > does fix it.
> > 
> > dh
> > 
> 
> Here is the full backtrace if anyone has time to look into it.
> 
>   gdb edje_viewer
> GNU gdb 6.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
> library "/lib/libthread_db.so.1".
> 
> (gdb) r
> Starting program: /usr/bin/edje_viewer
> *** glibc detected *** /usr/bin/edje_viewer: corrupted double-linked 
> list: 0xa74f1138 ***
> === Backtrace: =
> /lib/libc.so.6[0xa743e5e3]
> /lib/libc.so.6[0xa743e709]
> /lib/libc.so.6[0xa743f9dc]
> /lib/libc.so.6(__libc_free+0x79)[0xa743fb4e]
> /usr/lib/libevas.so.1(

Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Nathan Ingersoll
Looks like there is either a buffer being overrun or a stale pointer
being accessed. Unless there is an obvious issue in the image surface
deallocator or etk_shutdown, valgrind or other buffer overflow
detection tool would probably save a lot of time tracking this down.

On 6/26/06, Christopher Michael <[EMAIL PROTECTED]> wrote:
>
> Here is the full backtrace if anyone has time to look into it.
...
> (gdb) r
> Starting program: /usr/bin/edje_viewer
> *** glibc detected *** /usr/bin/edje_viewer: corrupted double-linked
> list: 0xa74f1138 ***
> === Backtrace: =
> /lib/libc.so.6[0xa743e5e3]
> /lib/libc.so.6[0xa743e709]
> /lib/libc.so.6[0xa743f9dc]
> /lib/libc.so.6(__libc_free+0x79)[0xa743fb4e]
> /usr/lib/libevas.so.1(evas_common_image_surface_dealloc+0x39)[0xa77365e9]
> /usr/lib/libevas.so.1(evas_common_image_surface_free+0x22)[0xa7736622]

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Christopher Michael
Christopher Michael wrote:
> Виктор Кожухаров wrote:
>> В пн, 2006-06-26 в 14:19 -0400, Christopher Michael написа:
>>> Виктор Кожухаров wrote:
 В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
> urandom, here is a patch for edje_viewer to attach the delete_event 
> to the window, so closing edje_viewer via the close button works.
>
> Cheers,
> devilhorns
> Using Tomcat but need to do more? Need to support web services, 
> security?
> Get stuff done quickly with pre-integrated technology to make your 
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
>
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 devilhorns, there's already a delete event for the main window (line 
 95)


  


 Using Tomcat but need to do more? Need to support web services, 
 security?
 Get stuff done quickly with pre-integrated technology to make your 
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache 
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 



  


 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> That may be, however, load an edj file with this app, then try to 
>>> close the window via the close button in the corner...oops, segfault. 
>>> With this patch, no segfault.
>>>
>>
>> how would your patch explain the removal of the segfault then? it's just
>> prepending a callback that's already being assigned in the code.
>> Seriously, there's a segfault when the window is closed (only if the edj
>> file is loaded through the filechooser, and not through the command
>> line), but your patch can't be a fix. The problem lies somewhere else.
>>
>>> devilhorns
>>>
>>> Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your 
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>
>>> 
>>>
>>> Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your 
>>> job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>
>>> 
>>>
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> Not entirely sure as I didn't investigate the segfault too much, but it 
> does fix it.
> 
> dh
> 

Here is the full backtrace if anyone has time to look into it.

  gdb edje_viewer
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/edje_viewer
*** glibc detected *** /usr/bin/edje_viewer: corrupted double-linked 
list: 0xa74f1138 ***
=== Backtrace: =
/lib/libc.so.6[0xa743e5e3]
/lib/libc.so.6[0xa743e709]
/lib/libc.so.6[0xa743f9dc]
/lib/libc.so.6(__libc_free+0x79)[0xa743fb4e]
/usr/lib/libevas.so.1(evas_common_image_surface_dealloc+0x39)[0xa77365e9]
/usr/lib/libevas.so.1(evas_common_image_surface_free+0x22)[0xa7736622]
/usr/lib/libevas.so.1(evas_common_image_free+0x29)[0xa7736669]
/usr/lib/libevas.so.1(evas_common_image_unref+0x50)[0xa7736980]
/usr/lib/evas/modules/engines/software_generic/linux-gnu-i686/module.so[0xa73d769d]
/usr/lib/libevas.so.1[0xa76df6ce]
/usr/lib/libevas.so.1(evas_object_free+0x40)[0xa76e27e0]
/usr/lib/libevas.so.1

Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread brian . mattern
On Mon, Jun 26, 2006 at 03:04:15PM -0400, Christopher Michael wrote:
> 
> Not entirely sure as I didn't investigate the segfault too much, but it 
> does fix it.
> 
> dh
> 

"Causes a segfault to mysteriously no longer occur" isn't a fix... It
just hides the real bug (whatever it may be). I'd prefer if we avoided this
type of "it appears to work even though i have no idea why, and really it 
shouldn't" development. (Most likely some other code change would result in the 
segv
popping up again - its just luck that the illegal memory access /
whatever isn't causing a segv after that change.

--
rephorm


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Christopher Michael
Виктор Кожухаров wrote:
> В пн, 2006-06-26 в 14:19 -0400, Christopher Michael написа:
>> Виктор Кожухаров wrote:
>>> В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
 urandom, here is a patch for edje_viewer to attach the delete_event to 
 the window, so closing edje_viewer via the close button works.

 Cheers,
 devilhorns
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> devilhorns, there's already a delete event for the main window (line 95)
>>>
>>>
>>> 
>>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job 
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>
>>>
>>> 
>>>
>>> ___
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> That may be, however, load an edj file with this app, then try to close 
>> the window via the close button in the corner...oops, segfault. With 
>> this patch, no segfault.
>>
> 
> how would your patch explain the removal of the segfault then? it's just
> prepending a callback that's already being assigned in the code.
> Seriously, there's a segfault when the window is closed (only if the edj
> file is loaded through the filechooser, and not through the command
> line), but your patch can't be a fix. The problem lies somewhere else.
> 
>> devilhorns
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>> 
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>
>> 
>>
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Not entirely sure as I didn't investigate the segfault too much, but it 
does fix it.

dh

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Виктор Кожухаров
В пн, 2006-06-26 в 14:19 -0400, Christopher Michael написа:
> Виктор Кожухаров wrote:
> > В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
> >> urandom, here is a patch for edje_viewer to attach the delete_event to 
> >> the window, so closing edje_viewer via the close button works.
> >>
> >> Cheers,
> >> devilhorns
> >> Using Tomcat but need to do more? Need to support web services, security?
> >> Get stuff done quickly with pre-integrated technology to make your job 
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> > devilhorns, there's already a delete event for the main window (line 95)
> > 
> > 
> > 
> > 
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > 
> > 
> > 
> > 
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> That may be, however, load an edj file with this app, then try to close 
> the window via the close button in the corner...oops, segfault. With 
> this patch, no segfault.
> 

how would your patch explain the removal of the segfault then? it's just
prepending a callback that's already being assigned in the code.
Seriously, there's a segfault when the window is closed (only if the edj
file is loaded through the filechooser, and not through the command
line), but your patch can't be a fix. The problem lies somewhere else.

> devilhorns
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-- 
Виктор Кожухаров /Viktor Kojouharov/ <[EMAIL PROTECTED]>


signature.asc
Description: Това е	 цифрово	 подписана	 част от	 писмото
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Christopher Michael
Виктор Кожухаров wrote:
> В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
>> urandom, here is a patch for edje_viewer to attach the delete_event to 
>> the window, so closing edje_viewer via the close button works.
>>
>> Cheers,
>> devilhorns
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> devilhorns, there's already a delete event for the main window (line 95)
> 
> 
> 
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> 
> 
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

That may be, however, load an edj file with this app, then try to close 
the window via the close button in the corner...oops, segfault. With 
this patch, no segfault.

devilhorns

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje_Viewer patch

2006-06-26 Thread Виктор Кожухаров
В пн, 2006-06-26 в 07:22 -0400, Christopher Michael написа:
> urandom, here is a patch for edje_viewer to attach the delete_event to 
> the window, so closing edje_viewer via the close button works.
> 
> Cheers,
> devilhorns
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

devilhorns, there's already a delete event for the main window (line 95)
-- 
Виктор Кожухаров /Viktor Kojouharov/ <[EMAIL PROTECTED]>


signature.asc
Description: Това е	 цифрово	 подписана	 част от	 писмото
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje_Viewer patch

2006-06-26 Thread Christopher Michael
urandom, here is a patch for edje_viewer to attach the delete_event to 
the window, so closing edje_viewer via the close button works.


Cheers,
devilhorns
--- etk_gui.c.orig	2006-06-26 07:19:33.0 -0400
+++ etk_gui.c	2006-06-26 07:18:44.0 -0400
@@ -35,6 +35,7 @@
etk_window_title_set(ETK_WINDOW(gui->win), _(WINDOW_TITLE));
etk_window_wmclass_set(ETK_WINDOW(gui->win), "edje_viewer", "Edje_viewer");
etk_container_border_width_set(ETK_CONTAINER(gui->win), 0);
+   etk_signal_connect("delete_event", ETK_OBJECT(gui->win), ETK_CALLBACK(_gui_main_window_deleted_cb), gui);
etk_window_resize(ETK_WINDOW(gui->win), WINDOW_WIDTH, WINDOW_HEIGHT);
 
vbox = etk_vbox_new(ETK_FALSE, 0);
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel