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(evas_layer_free+0x2e)[0xa76d8dde]
/usr/lib/libevas.so.1(evas_free+0xb6)[0xa76da156]
/usr/lib/libecore_evas.so.1(_ecore_evas_free+0xc7)[0xa7e44a07]
/usr/lib/libecore_evas.so.1(_ecore_evas_x_shutdown+0x4d)[0xa7e4c00d]
/usr/lib/libecore_evas.so.1(ecore_evas_shutdown+0x45)[0xa7e47015]
/usr/lib/libetk.so.1(etk_shutdown+0x45)[0xa7ebb6e5]
/usr/bin/edje_viewer[0x804d452]
/lib/libc.so.6(__libc_start_main+0xdc)[0xa73f2864]
/usr/bin/edje_viewer[0x804aa81]
======= Memory map: ========
08048000-0804e000 r-xp 00000000 03:01 654449     /usr/bin/edje_viewer
0804e000-0804f000 rw-p 00005000 03:01 654449     /usr/bin/edje_viewer
0804f000-08269000 rw-p 0804f000 00:00 0          [heap]
a6d00000-a6d21000 rw-p a6d00000 00:00 0
a6d21000-a6e00000 ---p a6d21000 00:00 0
a6ef4000-a6fd6000 rw-p a6ef4000 00:00 0
a7161000-a7189000 rw-p a7161000 00:00 0
a7189000-a71a3000 r--s 00000000 03:01 693106 
/home/shad/e_modules/screenshot/screenshot.edj
a71c1000-a71ca000 r-xp 00000000 03:01 379634 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
a71ca000-a71cb000 rw-p 00008000 03:01 379634 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
a71cb000-a71dc000 r--p 00000000 03:01 691777 
/usr/share/etk/fonts/Vera.ttf
a71dc000-a721b000 r-xp 00000000 03:01 440200     /usr/lib/libpng12.so.0.10.0
a721b000-a721c000 rw-p 0003e000 03:01 440200     /usr/lib/libpng12.so.0.10.0
a7228000-a722a000 r-xp 00000000 03:01 686552 
/usr/lib/evas/modules/loaders/png/linux-gnu-i686/module.so
a722a000-a722b000 rw-p 00001000 03:01 686552 
/usr/lib/evas/modules/loaders/png/linux-gnu-i686/module.so
a722b000-a7350000 r--s 00000000 03:01 691795 
/usr/share/etk/icons/default.edj
a7350000-a73d5000 r--s 00000000 03:01 691775 
/usr/share/etk/themes/default.edj
a73d5000-a73d9000 r-xp 00000000 03:01 686500 
/usr/lib/evas/modules/engines/software_generic/linux-gnu-i686/module.so
a73d9000-a73da000 rw-p 00003000 03:01 686500 
/usr/lib/evas/modules/engines/software_generic/linux-gnu-i686/module.so
a73da000-a73dd000 rw-p a73da000 00:00 0
a73dd000-a74ed000 r-xp 00000000 03:01 394325     /lib/libc-2.4.so
a74ed000-a74ef000 r--p 0010f000 03:01 394325     /lib/libc-2.4.so
a74ef000-a74f1000 rw-p 00111000 03:01 394325     /lib/libc-2.4.so
a74f1000-a74f4000 rw-p a74f1000 00:00 0
a74f4000-a7533000 r-xp 00000000 03:01 220725     /usr/lib/libexpat.so.1.5.0
a7533000-a7535000 rw-p 0003e000 03:01 220725     /usr/lib/libexpat.so.1.5.0
a7535000-a7551000 r-xp 00000000 03:01 206750     /lib/libz.so.1.2.3
a7551000-a7552000 rw-p 0001b000 03:01 206750     /lib/libz.so.1.2.3
a7552000-a7553000 rw-p a7552000 00:00 0
a7553000-a760e000 r-xp 00000000 03:01 435018 
/usr/lib/libfreetype.so.6.3.8
a760e000-a7611000 rw-p 000bb000 03:01 435018 
/usr/lib/libfreetype.so.6.3.8
a7611000-a7656000 r-xp 00000000 03:01 435115 
/usr/lib/libfontconfig.so.1.0.4a7656000-a765b000 rw-p 00045000 03:01 
435115     /usr/lib/libfontconfig.so.1.0.4a765b000-a765c000 rw-p 
a765b000 00:00 0
a765c000-a7693000 r-xp 00000000 03:01 440356     /usr/lib/libjpeg.so.62.0.0
a7693000-a7694000 rw-p 00037000 03:01 440356     /usr/lib/libjpeg.so.62.0.0
a7694000-a769c000 r-xp 00000000 03:01 685211     /usr/lib/libeet.so.0.9.10
a769c000-a769d000 rw-p 00007000 03:01 685211     /usr/lib/libeet.so.0.9.10
a769d000-a769f000 r-xp 00000000 03:01 394804     /lib/libdl-2.4.so
a769f000-a76a0000 r--p 00001000 03:01 394804     /lib/libdl-2.4.so
a76a0000-a76a1000 rw-p 00002000 03:01 394804     /lib/libdl-2.4.so
a76a1000-a76c3000 r-xp 00000000 03:01 394815     /lib/libm-2.4.so
a76c3000-a76c4000 r--p 00021000 03:01 394815     /lib/libm-2.4.so
a76c4000-a76c5000 rw-p 00022000 03:01 394815     /lib/libm-2.4.so
a76c5000-a76c6000 rw-p a76c5000 00:00 0
a76c6000-a775a000 r-xp 00000000 03:01 686494     /usr/lib/libevas.so.1.0.0
a775a000-a775c000 rw-p 00094000 03:01 686494     /usr/lib/libevas.so.1.0.0
a775c000-a7770000 rw-p a775c000 00:00 0
a7770000-a78e8000 r-xp 00000000 03:01 329228     /usr/lib/libcrypto.so.0.9.7
a78e800
Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xa7405629 in raise () from /lib/libc.so.6
#2  0xa7406a93 in abort () from /lib/libc.so.6
#3  0xa74392a5 in __fsetlocking () from /lib/libc.so.6
#4  0xa743e5e3 in malloc_usable_size () from /lib/libc.so.6
#5  0xa743e709 in malloc_usable_size () from /lib/libc.so.6
#6  0xa743f9dc in malloc_set_state () from /lib/libc.so.6
#7  0xa743fb4e in free () from /lib/libc.so.6
#8  0xa77365e9 in evas_common_image_surface_dealloc (is=0x819f500)
     at evas_image_main.c:194
#9  0xa7736622 in evas_common_image_surface_free (is=0x819f500)
     at evas_image_main.c:168
#10 0xa7736669 in evas_common_image_free (im=0x81394a8)
     at evas_image_main.c:266
#11 0xa7736980 in evas_common_image_unref (im=0x81394a8)
     at evas_image_main.c:300
#12 0xa73d769d in eng_image_free (data=0x8073a40, image=0x81394a8)
     at evas_engine.c:300
#13 0xa76df6ce in evas_object_image_free (obj=0x81ac1e0)
     at evas_object_image.c:1334
#14 0xa76e27e0 in evas_object_free (obj=0x81ac1e0, clean_layer=0)
     at evas_object_main.c:35
#15 0xa76d8dde in evas_layer_free (lay=0x807a3f8) at evas_layer.c:74
---Type <return> to continue, or q <return> to quit---
#16 0xa76da156 in evas_free (e=0x8073908) at evas_main.c:115
#17 0xa7e44a07 in _ecore_evas_free (ee=0x80737f0) at ecore_evas.c:1739
#18 0xa7e4c00d in _ecore_evas_x_shutdown () at ecore_evas_x.c:1950
#19 0xa7e47015 in ecore_evas_shutdown () at ecore_evas.c:98
#20 0xa7ebb6e5 in etk_shutdown () at etk_main.c:111
#21 0x0804d452 in main (argc=1, argv=0xafc13a64) at main.c:19
(gdb)



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

Reply via email to