Simon Poole wrote:
open("/usr/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=696, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
pivot_root(umovestr: Input/output error
0x3, "")                     = 936
pivot_root(umovestr: Input/output error
0x3, "\uffff\uffff7")                  = 0
close(3)                                = 0

I've found why the segfault is happening. I had failed to copy the ecore_config_ipc_ecore.so library onto my target hardware.

It looks like any kind of failure in _ecore_config_ipc_init would cause the same segfault. Being completely unfamiliar with the ipc stuff, I've no idea whether this is a problem or not.

In case anyone is interested, the missing library made _ecore_config_ipc_init("_system") return NULL, which caused _ecore_config_system_init_no_load() to return ECORE_CONFIG_ERR_FAIL half way through (before calling ecore_config_bundle_new()).

So __ecore_config_bundle_local never gets initialised, resulting in a segfault in _ecore_config_system_load:
             snprintf(buf, PATH_MAX, "%s/.e/config.eet", p);
             if (ecore_config_file_load(buf) != 0) {
                /* even if this file (system.eet) dosen't exist we can
                 * continue without it as it isn't striclty necessary.
                */
                ecore_config_file_load(PACKAGE_DATA_DIR "/system.eet");
             }
             sys = __ecore_config_bundle_local->data;
                                 ^
                                 |
                                here

--
Simon Poole
www.appliancestudio.com



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to