Kernel 2.6.8 a 2.6.10

Paweł Gołaszewski blues w pld-linux.org
Pon, 10 Sty 2005, 18:28:34 CET


On Mon, 10 Jan 2005, Paweł Sikora wrote:
> > > > shmwrite($Self->{Key}, $Data.$String, 0, $Self->{IPCSize}) || die $!;
> > >
> > > # ./bug.pl; echo $?
> > > 0
> > >
> > > # strace ./bug.pl
> > > (...)
> > > readlink("/proc/self/exe", "/usr/bin/perl5.8.6", 4095) = 18
> > > getppid()                               = 12013
> > > read(4, "#!/usr/bin/perl\nshmwrite($Self->"..., 4096) = 86
> > > read(4, "", 4096)                       = 0
> > > close(4)                                = 0
> > > shmctl(0, IPC_64|IPC_STAT, 0xbffff2a0)  = 0
> > > shmat(0, 0, 0)                          = 0xb7f00000
> > > shmdt(0xb7f00000)                       = 0
> > > (...)
> > >
> > > wygląda na to, że działa.
> > Ja mówię gdzie się wykłada u mnie. Nie wiem czy to jest z tym związane 
> > dokładnie, niemniej - shm jest mocno podejrzane.
> >
> > W innym momencie leci na:
> > shmread($Self->{KeyMeta}, $MetaString, 0, $Self->{IPCSizeMeta}) || die "$!";
> mozesz zapodac log z strace-a?

Służę uprzejmie:
[...]
readlink("/proc/self/exe", "/usr/bin/perl5.8.6", 4095) = 18
getppid()                               = 14539
read(3, "#!/usr/bin/perl\n\nshmwrite($Self-"..., 4096) = 87
read(3, "", 4096)                       = 0
close(3)                                = 0
shmctl(0, IPC_64|IPC_STAT, 0xbffff4a0)  = -1 EINVAL (Invalid argument)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2871, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ed1000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2871
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7ed1000, 4096)                = 0
open("/usr/share/locale/pl_PL/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/pl/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=122609, ...}) = 0
mmap2(NULL, 122609, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eb4000
close(3)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=22550, ...}) = 0
mmap2(NULL, 22550, PROT_READ, MAP_SHARED, 3, 0) = 0xb7eae000
close(3)                                = 0
futex(0x4028414c, FUTEX_WAKE, 2147483647) = 0
write(2, "Z\263y argument at ./bug.pl line 3."..., 33Zły argument at ./bug.pl line 3.) = 33
exit_group(22)                          = ?


-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
If you think of MS-DOS as mono, and Windows as stereo,
then Linux is Dolby Pro-Logic Surround Sound with Bass Boost
and all the music is free.


Więcej informacji o liście dyskusyjnej pld-kernel