enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-devel] Segfault caused by options.LevelMenuPosition


From: Martin Hawlisch
Subject: [Enigma-devel] Segfault caused by options.LevelMenuPosition
Date: Wed, 25 Jun 2003 14:30:53 +0200 (MEST)

Hi!

The current cvs version does not run.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 8336)]
px::RectList::push_back(px::TRect<int> const&) (this=0xbffff6ac, 
address@hidden) at
geom.cc:71
71          if (r.w > 0 && r.h > 0)
(gdb) bt
#0  px::RectList::push_back(px::TRect<int> const&) (this=0xbffff6ac, 
address@hidden)
at geom.cc:71
#1  0x080d99b1 in px::RectList::add(px::TRect<int> const&) (this=0xbffff7f4,
address@hidden) at geom.cc:106
#2  0x0808b63a in (anonymous namespace)::LevelWidget::set_selected(int, int)
(this=0x8826bf0, newfirst=0, newsel=11) at stl_vector.h:501
#3  0x0808f15a in LevelMenu (this=0xbffff7c0, lp=0x8171dc8, pos=11) at
menus.cc:90
#4  0x08090a0b in (anonymous namespace)::MainMenu::on_action(gui::Widget*)
(this=0xbffff940, w=0xbffff7f4) at stl_vector.h:501#5  0x0806dc10 in
gui::Widget::invoke_listener() (this=0x0) at gui.cc:56
#6  0x0806e931 in gui::PushButton::on_event(SDL_Event const&)
(this=0x8863110, address@hidden) at gui.cc:348
#7  0x0806f28d in gui::Menu::handle_event(SDL_Event const&)
(this=0xbffff940, address@hidden) at gui.cc:561
#8  0x0806f099 in gui::Menu::manage(px::Screen*) (this=0xbffff940,
scr=0xbffff7f4) at gui.cc:483
#9  0x08090bc8 in enigma::GUI_MainMenu(enigma::LevelPack*, unsigned) () at
menus.cc:1320
#10 0x08089f99 in main (argc=-1073743884, argv=0xbffffa64) at
stl_vector.h:501


This is caused by a possibly invalid setting of
options.LevelMenuPosition = 10
in the enigmarc.

When starting without a configfile (and pressing quit wihout doing anything)
the value
options.LevelMenuPosition = 0
is written to the config
running a second time and entering the level menu (then quit enigma) will
change this value to 10.
The next time i run enigma, entering the levelmenu fails with a segfault.


Cheers, Martin.

P.S. Enigma has been greatly enhanced in the last weeks. This is so great!!!
But I'm currently too busy to use the new features in new levels :-(

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]