Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2012 11:52:10 +0200
From:      Per olof Ljungmark <peo@intersonic.se>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Linux app shared memory problem
Message-ID:  <50277CCA.4010908@intersonic.se>
In-Reply-To: <5027737C.6060601@intersonic.se>
References:  <5027737C.6060601@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/12/12 11:12, Per olof Ljungmark wrote:
> Trying to run a Linux app under 9-STABLE. I can start it once and stop
> it once but all subsequent efforts produces a core dump.
>
> I believe the reason being that this app stores licensing information in
> shared memory and when it stops first time it fails to remove this info.
>
> Is there a sysctl parameter that would be useful in a case like this?
>

Additional info:

linux_set_robust_list(0x2820c710,0xc,0x2808fff4,0x2820c6c0,0x0,0x6) = 0 
(0x0)
linux_sys_futex(0xffffcc90,0x81,0x1,0x2820c6c0,0x2808fff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x20,0xffffc948,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_rt_sigaction(0x21,0xffffc948,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_rt_sigprocmask(0x1,0xffffcbfc,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_getrlimit(0x3,0xffffcc84,0x28207ff4,0x10,0x1,0x6) = 0 (0x0)
linux_newuname(0xffffc9f8,0x2820b400,0x2808fff4,0x0,0xffffc9f8,0x6) = 0 
(0x0)
linux_ipc(0x17,0x4f524553,0x10000,0x3ff,0x0,0x6) = 65536 (0x10000)
linux_ipc(0x15,0x10000,0x0,0xffffcbe8,0x0,0x6)   = 0 (0x0)
linux_ipc(0x2,0x4f726583,0x1,0x1ff,0x0,0x6)      ERR#13 'Permission denied'
linux_ipc(0x3,0xffffffff,0x0,0x10c,0xffffca68,0x6) ERR#22 'Invalid argument'
linux_rt_sigaction(0xe,0xffffc9c8,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_alarm(0x14,0x0,0x80589d8,0xffffcb10,0xffffcb94,0x6) = 0 (0x0)
linux_ipc(0x1,0xffffffff,0x1,0x0,0xffffcba0,0x6) ERR#22 'Invalid argument'
linux_rt_sigaction(0xe,0xffffc9c8,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_alarm(0x0,0x0,0x80589d8,0xffffffff,0xffffcba0,0x6) = 20 (0x14)
linux_ipc(0x3,0xffffffff,0x0,0x10c,0xffffca88,0x6) ERR#22 'Invalid argument'
linux_rt_sigaction(0xe,0xffffc9e8,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_alarm(0x14,0x0,0x80589d8,0xffffcb30,0xffffcbb4,0x6) = 0 (0x0)
linux_ipc(0x1,0xffffffff,0x1,0x0,0xffffcbc0,0x6) ERR#22 'Invalid argument'
linux_rt_sigaction(0xe,0xffffc9e8,0x0,0x8,0x2808fff4,0x6) = 0 (0x0)
linux_alarm(0x0,0x0,0x80589d8,0xffffffff,0xffffcbc0,0x6) = 20 (0x14)
linux_fstat64(0x1,0xffffcaf4,0x28207ff4,0x282084c0,0x282084c0,0x6) = 0 (0x0)
linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)  = 671576064 (0x28077000)
Shared memory problem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50277CCA.4010908>