[Vm-dev] Re: [squeak-dev] [ANN] Squeak 4.2

Alexander Lazarević laza at blobworks.com
Mon Feb 21 21:11:22 UTC 2011


Levente,

thanks for the workaround. This helps indeed with the crashing UUID plugin.

Find below the system trace of three VM runs and some bare comments starting
with #
The test environment is easy to setup even on a windows machine. Get
VirtualBox for Windows and an Ubuntu Installer/LiveCD, boot and download the
all-in-one package.

Thanks,
 Alex

1) With original external UUID plugin

# look for the plugin
open("/lib/UUIDPlugin", O_RDONLY)       = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/cmov/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/UUIDPlugin", O_RDONLY)   = -1 ENOENT (No such file or
directory)
munmap(0x77412000, 59038)               = 0
# found it
open("/home/laza/Desktop/Squeak 4.2
All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.UUIDPlugin",
O_RDONLY) = 7
# load it
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\5\0\0004\0\0\0"...,
512) = 512
fstat64(7, {st_mode=S_IFREG|0644, st_size=3868, ...}) = 0
mmap2(NULL, 6556, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) =
0xbda000
mmap2(0xbdb000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0) = 0xbdb000
close(7)                                = 0
gettimeofday({1298320504, 96952}, NULL) = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 7
fcntl64(7, F_GETFD)                     = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
getuid32()                              = 1000
# BANG
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb77da000
# [smalltalk stack trace]
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(3137, 3137, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT (core dumped) +++

2) Witout external UUID plugin

# look for the plugin
open("/lib/UUIDPlugin", O_RDONLY)       = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/cmov/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/UUIDPlugin", O_RDONLY)   = -1 ENOENT (No such file or
directory)
munmap(0x77412000, 59038)               = 0
open("/home/laza/Desktop/Squeak 4.2
All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.UUIDPlugin",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/laza/Desktop/Squeak 4.2
All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.UUIDPlugin",
0xbfd4726c) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=59038, ...}) = 0
mmap2(NULL, 59038, PROT_READ, MAP_PRIVATE, 7, 0) = 0x77412000
close(7)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libUUIDPlugin.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
open("/usr/lib/i686/cmov/libUUIDPlugin.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/i686/libUUIDPlugin.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/sse2/libUUIDPlugin.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libUUIDPlugin.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
# did not find any plugin
munmap(0x77412000, 59038)               = 0
lstat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...})
= 0
open("/dev/urandom", O_RDONLY)          = 7
fstat64(7, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd48f44) = -1 EINVAL (Invalid
argument)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb775b000
fstat64(7, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
# and runs fine

3) With the new plugin

# look for the plugin
open("/lib/UUIDPlugin", O_RDONLY)       = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/cmov/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/UUIDPlugin", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/UUIDPlugin", O_RDONLY)   = -1 ENOENT (No such file or
directory)
munmap(0x774e2000, 59038)               = 0
# found it
open("/home/laza/Desktop/Squeak 4.2
All-in-One.app/Contents/Linux-i686/lib/squeak/4.4.7-2357/so.UUIDPlugin",
O_RDONLY) = 7
# load it
read(7,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\7\0\0004\0\0\0"..., 512) =
512
fstat64(7, {st_mode=S_IFREG|0644, st_size=19595, ...}) = 0
mmap2(NULL, 8448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) =
0x395000
mmap2(0x396000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0) = 0x396000
close(7)                                = 0
mprotect(0x396000, 4096, PROT_READ)     = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGSEGV, {0x395af0, [], 0}, {0x8073f20, [SEGV], SA_RESTART}, 8)
= 0
gettimeofday({1298321642, 103642}, NULL) = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 7
fcntl64(7, F_GETFD)                     = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
getuid32()                              = 1000
# BANG
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
# caught it
rt_sigaction(SIGSEGV, {0x8073f20, [SEGV], SA_RESTART}, NULL, 8) = 0
munmap(0x395000, 8448)                  = 0
lstat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...})
= 0
open("/dev/urandom", O_RDONLY)          = 8
fstat64(8, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
# and runs fine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110221/70de2870/attachment-0001.htm


More information about the Vm-dev mailing list