Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74790 - monodoc crash on System.NullReferenceException
Summary: monodoc crash on System.NullReferenceException
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 16:23 UTC by Mark R. Pariente
Modified: 2005-01-04 10:39 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 Mark R. Pariente 2004-12-17 16:23:04 UTC
using monodoc 1.0.5 with mono 1.0.5, gtk+ 2.4.14, gtk-sharp 1.0.4-r1

Scrolling in the treeview in the left (Mono Documentation being the top node) when  its contents are larger than the treeview can display at once causes the following crash:

Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required.
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x0018f] (at /var/tmp/portage/monodoc-1.0.5/work/monodoc-1.0.5/browser/browser.cs:99) Monodoc.Driver:Main (string[])

Same crash happens with "Help" integrated to monodevelop.

Reproducible: Always
Steps to Reproduce:
1. Run monodoc
2. Expand the "C# Compiler Error Reference" item
3. Try to scroll down (either mouse wheel or left drag scroll bar)

Actual Results:  
monodoc crashes.

Expected Results:  
scrolls.

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo i686)
=================================================================
System uname: 2.6.9-gentoo i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 21 2004, 11:02:59)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/
http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm artworkextra avi berkdb bitmap-fonts cdr crypt cups dvd
dvdr eds encode esd evo f77 fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal imagemagick imap imlib java jpeg ldap libg++ libwww mad
mikmod mmx motif mozilla mpeg ncurses nls nntp nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga
tcltk tcpd tetex tiff truetype x86 xine xml2 xmms xv zlib"


Related ebuild versions:

dev-util/monodevelop-0.5.1-r2
dev-dotnet/mono-1.0.5-r1
dev-util/monodoc-1.0.5
dev-dotnet/gtkhtml-sharp-1.0.4
dev-dotnet/glade-sharp-1.0.4
dev-dotnet/gconf-sharp-1.0.4
dev-dotnet/gtksourceview-sharp-0.5-r1
dev-dotnet/gnome-sharp-1.0.4
dev-dotnet/gtk-sharp-1.0.4-r1
x11-libs/gtk+-2.4.14
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-12-20 18:29:34 UTC
Can you please re-emerge gtk+ with debugging symbols, run monodoc in gdb, and get a backtrace of all the threads when this crashes? See the mono page for details on how to get debugging information from C# apps.

I suspect this is a side effect of gcc-3.4.3, but i'm not sure.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2005-01-04 10:39:16 UTC
Marking NEEDINFO, pending more debugging information.