Displaying 8 results from an estimated 8 matches for "shmctl".
Did you mean:
semctl
2014 Feb 06
1
Application Hang issue in RHEL6.4
Hi All,
We see our application Hanging at shmctl (SHM_LOCK).
Kernel : 2.6.32-358.el6.x86_64
OS : Red Hat Enterprise Linux Server release 6.4 (Santiago)
1. When it hangs, this is what strace gives:
[RHEL6.4 at 10.201.0.221 bin]# strace -p 23793 Process 23793 attached - interrupt to quit [ Process PID=23793 runs in 32 bit mode. ]...
2001 Mar 17
1
ogg123 doesn't destroy shm segment
...sizeof(buf_t) + sizeof (chunk_t) * (size - 1),
- IPC_CREAT|S_IREAD|S_IWRITE);
+ IPC_CREAT|SHM_R|SHM_W);
if (shmid == -1)
{
@@ -92,7 +91,10 @@
perror ("shmat");
exit (1);
}
-
+
+ /* Remove segment after last process detaches it or terminates. */
+ shmctl(shmid, IPC_RMID, 0);
+
buffer_init (buf, size);
/* Create a pipe for communication between the two processes. Unlike
--
Christian "naddy" Weisgerber naddy@mips.inka.de
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...shmget (IPC_PRIVATE, ximage->data_size,
> IPC_CREAT|0777);
> shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0);
> shminfo1.readOnly = False;
> if(!XShmAttach (display, &shminfo1)) {
> printf("XShmAttach failed!\n");
> }
> shmctl (shminfo1.shmid, IPC_RMID, 0);
> XSync(display,False);
I use tinyX as the Xserver and the xfbdev as the card for the second
screen. After the Initialization, Both Screen as a respond. I mean both
of them have been waked up. but when I am trying to write image to the
first screen by
>...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...shmget (IPC_PRIVATE, ximage->data_size,
> IPC_CREAT|0777);
> shminfo1.shmaddr = ximage->data = shmat (shminfo1.shmid, 0, 0);
> shminfo1.readOnly = False;
> if(!XShmAttach (display, &shminfo1)) {
> printf("XShmAttach failed!\n");
> }
> shmctl (shminfo1.shmid, IPC_RMID, 0);
> XSync(display,False);
I use tinyX as the Xserver and the xfbdev as the card for the second
screen. After the Initialization, Both Screen as a respond. I mean both
of them have been waked up. but when I am trying to write image to the
first screen by
> Xv...
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a
number of problems (e.g. bug #285).
A workaround is in development, but it would be helpful to have a
configure test to detect the bad mmaps().
Any takers?
-d
2001 Mar 17
1
ogg123: shared memory by mmap()
...map");
+ exit(1);
+ }
+ close(fd);
+#else
/* Get the shared memory segment. */
int shmid = shmget (IPC_PRIVATE,
sizeof(buf_t) + sizeof (chunk_t) * (size - 1),
@@ -94,6 +110,7 @@
/* Remove segment after last process detaches it or terminates. */
shmctl(shmid, IPC_RMID, 0);
+#endif /* HAVE_SMMAP */
buffer_init (buf, size);
--
Christian "naddy" Weisgerber naddy@mips.inka.de
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from th...
2011 Jan 10
9
Hugepage Support
hi,
I tried to make huge page request in Fedora x86_64 PV guest using xen 4.1
unstable and it crashed(crash info given below)
I had enabled superpages in config file
I had also set hugepages parameter at boot time for the PV Dom U
By excuting
# cat /proc/mem_info | grep Huge
gave me that there are 10 free huge pages available , still the domain
crashed.
[ 86.403654] BUG: unable to handle
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote:
> [ CCed all people who were involved in this thread ]
>
> Hi Tom,
>
> personally, I am interested to test the prebuilt-toolchains for
> Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64.
> The available toolchains are incomplete and thus useless.
>
> Just as a fact: There is still no