Webots still freezes under Maverick, but I also updated the Webots Version to 6.3.0. So I'm not 100% sure if I should open a new bug. But the symptoms are exactly the same: as soon as I open a simulation where one of the robots uses a camera I get a freeze of my system. But I was able to get some more console output. The libdrm-intel1 package version 2.4.21-1ubuntu2 seems to have some more error handling code and I get several error messages like
../../intel/intel_bufmgr_gem.c:1150: Error writing data to buffer 467: (0 23112) Bad address . ../../intel/intel_bufmgr_gem.c:1150: Error writing data to buffer 485: (0 17424) Bad address . I had a look at the source file and it seems that the following code fails static int drm_intel_gem_bo_subdata(drm_intel_bo *bo, unsigned long offset, unsigned long size, const void *data) { drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *) bo->bufmgr; drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo; struct drm_i915_gem_pwrite pwrite; int ret; memset(&pwrite, 0, sizeof(pwrite)); pwrite.handle = bo_gem->gem_handle; pwrite.offset = offset; pwrite.size = size; pwrite.data_ptr = (uint64_t) (uintptr_t) data; do { ret = ioctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_PWRITE, &pwrite); } while (ret == -1 && errno == EINTR); if (ret != 0) { ret = -errno; fprintf(stderr, "%s:%d: Error writing data to buffer %d: (%d %d) %s .\n", __FILE__, __LINE__, bo_gem->gem_handle, (int)offset, (int)size, strerror(errno)); } return ret; } Searching in Launchpad for this function I found the following bug report that might be related: #475429 which refers to the upstream bug http://bugs.freedesktop.org/show_bug.cgi?id=26016 ** Bug watch added: freedesktop.org Bugzilla #26016 http://bugs.freedesktop.org/show_bug.cgi?id=26016 -- [i965] 64 bit Webots simulator freezes system with Intel GM965 https://bugs.launchpad.net/bugs/513523 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs