On Sat, 13 Aug 2011 14:58:10 -0300 Paulo Benatto <[email protected]> said:

> 2011/8/12 Carsten Haitzler <[email protected]>
> 
> > On Fri, 12 Aug 2011 17:13:39 -0300 Paulo Benatto <[email protected]> said:
> >
> > looks like your install is screwed - elementary cant find its default
> > theme.
> > it's hunting for it and not finding it. file doesnt exist (default.edj).
> >
> 
> hum, but when I delete the file (default.edj) doesn't appear the error
> (cannot allocate memory).

well it is loading /tmp/default.edj which is kind of wrong as it smells like
its trying to load the default theme there. be that as it may - it does succeed
in opening that.. but mmap fails. have you checked the number of mappings of
the process? mmap manual says you'll get ENOMEM if:

       ENOMEM No memory is available, or the process's maximum number of  map‐
              pings would have been exceeded.

a quick check shows that normally the max # of mapppings for a process is
65536. look in /proc/PID/maps while process is alive. pmap helps too. also you
don't happen to be using jffs2 or something?

> > > Hi List,
> > >
> > > my name is Paulo, and I'm new in EFL, more or less 3 weeks ago I started
> > to
> > > study EFL, I started using Evas and Ecore, now I would like to use
> > > Elementary. I've cross-compiled Elemetary, and I compiled a simple
> > example,
> > > HelloWorld.c to run in my embedded system.  When I try to run the
> > > HelloWorld, I get this message: "Cannot Allocate Memory", but there are
> > 45
> > > MB free memory. The default.edj (theme) is a litle big (1 MB), but I
> > think
> > > that is not my problem.  Someone had problems with blackfin processor and
> > > elementary? Someone has a tip? If I can't fix this problem I will do my
> > > Interface using Evas/Ecore =/ hehehe.
> > >
> > > Thanks List!
> > > *
> > > MY ERROR*
> > >
> > -----------------------------------------------------------------------------------------------------------
> > > stat("/tmp/default.edj", {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > stat("/tmp/default.edj", {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > open("/tmp/default.edj", O_RDONLY)      = 10
> > > ioctl(10, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
> > > 0x2b1e4d0) = -1 ENOTTY (Inappropriate ioctl for device)
> > > fstat(10, {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4d0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096,
> > > PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|0x4000000, 0, 0) =
> > 0x103d000
> > > stat("/tmp/default.edj", {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > stat("/tmp/default.edj", {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > open("/tmp/default.edj", O_RDONLY)      = 10
> > > ioctl(10, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
> > > 0x2b1e4d0) = -1 ENOTTY (Inappropriate ioctl for device)
> > > fstat(10, {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0
> > > fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4d0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4d0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4d0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e614) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e614) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4a0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e5e4) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e5e4) = -1 ENOENT (No such file or directory)
> > stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 stat("/tmp/default.edj",
> > > {st_mode=S_IFREG|0644, st_size=47485, ...}) = 0 open("/tmp/default.edj",
> > > O_RDONLY)      = 10 ioctl(10, SNDCTL_TMR_TIMEBASE or
> > > SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x2b1e4a0) = -1 ENOTTY
> > > (Inappropriate ioctl for device) fstat(10, {st_mode=S_IFREG|0644,
> > > st_size=47485, ...}) = 0 fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
> > > *mmap2(NULL, 47485, PROT_READ, MAP_SHARED, 10, 0) = -1 ENOMEM (Cannot
> > > allocate memory)*
> > > munmap(0xffffffff, 47485)               = -1 EINVAL (Invalid argument)
> > > close(10)                               = 0
> > > stat("/.elementary/themes/default.edj", 0x2b1e5e4) = -1 ENOENT (No such
> > file
> > > or directory)
> > > stat
> > >
> > ("/home/paulo.benatto/blackfin-jhbuild/share/elementary/themes/default.edj",
> > > 0x2b1e5e4) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096,
> > > PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|0x4000000, 0, 0) =
> > 0x3af000
> > >
> > >
> > -----------------------------------------------------------------------------------------------------------
> > >
> > > --
> > > Paulo Leonardo Benatto, patito
> > > "the fear of being free, makes you proud of being a slave"
> > >
> > ------------------------------------------------------------------------------
> > > FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> > > Subversion made easy with a complete admin console. Easy
> > > to use, easy to manage, easy to install, easy to extend.
> > > Get a Free download of the new open ALM Subversion platform now.
> > > http://p.sf.net/sfu/wandisco-dev2dev
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    [email protected]
> >
> >
> 
> 
> -- 
> Paulo Leonardo Benatto, patito
> "the fear of being free, makes you proud of being a slave"
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy 
> to use, easy to manage, easy to install, easy to extend. 
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to