On Tue, 15 Feb 2011, Alexander Lazarević wrote: > 2011/2/11 Chris Muller <[hidden email]> > >> I'd like to call Squeak 4.2 finally officially released now. >> > > The all-in-one package most likely will crash on linux systems at some point > because of the UUID bug. Maybe this should be repackaged without the UUID > plugin. If you have a VM-OS combination that crashes because of the UUID bug, you could give this version of the plugin a try: http://leves.web.elte.hu/squeak/so.UUIDPlugin Details about the changes in this plugin are available here: http://bugs.squeak.org/view.php?id=7358#14053 Levente > > Alex > |
2011/2/15 Levente Uzonyi <[hidden email]> On Tue, 15 Feb 2011, Alexander Lazarević wrote: and if you try this with Cog you should also try renaming it to UUIDPlugin.so before concluding that it does or does not work (since Cog might no longer load plugins with a leading so. but definitely does load those with a trailing .so).
|
In reply to this post by Levente Uzonyi-2
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 |
On Mon, 21 Feb 2011, Alexander Lazarević wrote: > 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. Great, thanks for the feedback. Which Ubuntu version did you use? Levente > > Thanks, > Alex snip |
Free forum by Nabble | Edit this page |