On 02/01/2011 06:14 PM, Christopher Michael wrote: > On 02/01/2011 03:33 AM, Sebastian Dransfeld wrote: >> On 01/31/2011 11:39 PM, Christopher Michael wrote: >>> Hi Seb, >>> >>> Getting a nasty segfault with current efreet trunk. Here is the bt: >>> >>> #0 0x0058cb02 in strrchr () from /lib/libc.so.6 >>> #1 0x0030862b in efreet_cache_icon_fallback_lookup_path (icon=0x81bcd18) >>> at efreet_icon.c:838 >>> #2 0x003089ce in efreet_icon_path_find (theme_name=0x81bc088 >>> "Buuf-Deuce", >>> icon=0xb78f61e3 "elementary", size=64) at efreet_icon.c:343 >>> #3 0x0809a970 in _e_configure_efreet_desktop_update () at >>> e_configure.c:335 >>> #4 0x0809abcb in _configure_job (data=0x0) at e_configure.c:242 >>> #5 0x001ee3c2 in _ecore_job_event_handler (data=0x0, type=11, >>> ev=0x843d220) >>> at ecore_job.c:119 >>> #6 0x001ead16 in _ecore_event_call () at ecore_events.c:641 >>> #7 0x001efcf7 in _ecore_main_loop_iterate_internal (once_only=0) >>> at ecore_main.c:1529 >>> #8 0x001eff87 in ecore_main_loop_begin () at ecore_main.c:680 >>> #9 0x0806d1aa in main (argc=1, argv=0xbffff364) at e_main.c:1158 >> >> What is the value of icon->icons[0]? if icon->icons_count is 1, this >> value shouldn't be NULL, unless eina_stringshare_add fails in cache >> creation or there is something wrong with storing arrays in eet files. >> None of them is probable. >> >> Try rebuilding the cache (rm -rf ~/.cache/efreet) and restart. >> >> Sebastian >> > Yea, I tried that a few times, but still the same issue :( I did try to > print out the value of icons->icons[0], but that just seg'd on the > printf then...which leads me to believe that icons->icons[0] was in fact > NULL. > > dh >
I got almost the same error, but the content was garbage. I reverted some code which made it work for me. And I think I now know what was the problem, forgot to flush the internal cache on event update. Will look at it real soon now (tm). Sebastian ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel