Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95554 - cheops-ng crashes
Summary: cheops-ng crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 06:22 UTC by george
Modified: 2005-09-12 15:49 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 george 2005-06-09 06:22:20 UTC
after closing cheops-ng and opening the map i have just created, it crashes at
map loading

Reproducible: Always
Steps to Reproduce:
1.open cheops-ng 
2.save a map you created
3.close cheos-ng
4.reopen cheos-ng
5. load the map 
Actual Results:  
an crash error:  Application "cheops-ng" (Process pid_number) has crashed due to
a fatal error (Segmentation Fault)

Expected Results:  
load the map 

Gnome
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 10 2005, 18:39:54)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups curl divx4linux
emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk/gtk2 gtk2 hal imlib ipv6 java jpeg libg++ libwww mad mikmod
motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png
python quicktime readline samba sdl slang snmp spell ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-06-09 10:41:19 UTC
I can replicate this and a quick strace didn't shed any light. 
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2005-06-09 12:17:16 UTC
Same here. Help is appreciated, feel free to make any modifications to the package.
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-09-02 16:08:58 UTC
open_file_and_read_config_file() in cheops-gui.c calls net_page_remove_all() in
gui-viewspace.c.

#0  0x080552d8 in net_page_remove_all ()

A new 0.2.2 version is out, which changed "for(np = main_window->net_pages; np;
np = np->next)" to "for(np = main_window->net_pages; np; np =
main_window->net_pages)".

This fixed the problem for me.

Can you check if the problem is also fixed for you in version 0.2.2?
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-09-12 15:49:15 UTC
Please re-open if this is still an issue.