Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386707 - x11-libs/libdrm-2.4.26: assertion fails at intel_bufmgr_gem.c:1361
Summary: x11-libs/libdrm-2.4.26: assertion fails at intel_bufmgr_gem.c:1361
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 04:01 UTC by Martin Bays
Modified: 2015-02-22 01:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bays 2011-10-11 04:01:25 UTC
Some 3d applications (seen so far in frozensynapse and games-puzzle/neverball) are crashing out with error:

"/var/tmp/portage/x11-libs/libdrm-2.4.26/work/libdrm-2.4.26/intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed."

Obviously relevant version info:

$ uname -a
Linux gonzales 3.1.0-rc9+ #1 SMP Mon Oct 10 00:28:15 EDT 2011 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux

x11-libs/libdrm-2.4.26 libkms video_cards_intel

media-libs/mesa-7.11 classic egl gallium llvm nptl shared-glapi video_cards_intel video_cards_mga

x11-drivers/xf86-video-intel-2.16.0 dri


$ emerge --info
Portage 2.1.9.45 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.13-r2, 3.1.0-rc9+ i686)
=================================================================
System uname: Linux-3.1.0-rc9+-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 10 Oct 2011 20:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python:     2.3.6-r2::<unknown repository>, 2.4.6, 2.5.4-r4, 2.6.6-r2, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       3.2.3-r1::<unknown repository>, 3.3.6-r1::<unknown repository>, 3.4.6-r2::<unknown repository>, 4.1.2::<unknown repository>, 4.2.4, 4.3.3-r2, 4.4.4-r2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.4.3-r1::<unknown repository>, 2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3"
DISTDIR="/usr/portage/distfiles
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="rsync://212.219.56.139/www.ibiblio.org/gentoo/ rsync://212.219.56.133/www.ibiblio.org/gentoo/ rsync://212.219.56.135/www.ibiblio.org/gentoo/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-crossdev /var/lib/layman/zugaina /var/lib/layman/interactive-fiction /usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apache2 avi bash-completion berkdb bzip2 caca cli cracklib crypt cxx dga directfb dri emacs encode fbcon fortran gatos gdbm gpm gtk guile iconv ipv6 jpeg mmx modules mozilla mudflap ncurses nls nptl nptlonly nsplugin oggvorbis opengl openmp oss pam pcre perl png pppd python qt3support readline session spell sse ssl svg svga sysfs tcpd theora unicode v4l v4l2 x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci cs4236" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga vesa intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Bays 2011-10-11 04:02:56 UTC
Forgot video card info:

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: IBM Device 0287
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Memory at d8000000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [d0] Power Management version 1
        Kernel driver in use: i915
        Kernel modules: i915
Comment 2 Wesley Tanaka 2011-10-18 05:30:06 UTC
For what it's worth, I get this exact same error in ubuntu 11.10

Boxee: ../../intel/intel_bufmgr_gem.c:1361: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

also with the same hardware:
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Comment 3 Matt Turner gentoo-dev 2015-02-22 01:54:24 UTC
If this is still an issue, please report it to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel