Bug#385564: wesnoth-httt: segfault in Bay of Pearls when grabbing trident

2006-09-01 Thread Jochen Schulz
Package: wesnoth-httt
Version: 1.1.9-1
Severity: normal

Hi!

After the recent upgrade to Wesnoth 1.1.9-1, I started HTTT from
scratch. Unfortunately, I cannot get the magic trident in level five
(Bay of Pearls) because Wesnoth segfaults immediately when moving one of
the mermen onto the hex with the trident.

You should be able to reproduce the behaviour with this savegame:
http://wasteland.homelinux.net/~jrschulz/wesnoth-segfault-trident.bz2

I tried to follow the debugging procedure for segfaults outlined in the
wiki at wesnoth.org. I cannot make any sense of it, but maybe it is
useful to you:

#0  0x08348711 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#1  0x082f3e6c in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#2  0x08310211 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#3  0x082c5a2f in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#4  0x0812ecc1 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#5  0x0813a936 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#6  0x0813af86 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#7  0x0813b684 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#8  0x0813b9fb in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#9  0x0805d2cd in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#10 0x081b83fc in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#11 0x081c0795 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#12 0x081c1888 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#13 0x0822381f in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#14 0x080f0e72 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#15 0x082231c9 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#16 0x0822dd2e in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#17 0x0822db62 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#18 0x0822e9e6 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#19 0x0822f5e2 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#20 0x0823297b in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#21 0x08219858 in std::basic_stringchar, std::char_traitschar, 
std::allocatorchar ::basic_string__gnu_cxx::__normal_iteratorchar*, 
std::string  ()
#22 0x081034a8 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#23 0x08116879 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#24 0x081170a3 in std::operator+char, std::char_traitschar, 
std::allocatorchar  ()
#25 0xb79f7ea8 in __libc_start_main () from /lib/tls/libc.so.6
#26 0x0804ece1 in ?? ()

(I am not sure how to determine whether debugging symbols are enabled,
but I guess they are.) I am keeping the original corefile in case you
need it.

Oh, and I am sorry if this is not an HTTT-specific bug. I guess this
might be a general problem of wesnoth, but since I only encountered it
on this specific level I thought I report it to wesnoth-httt.

J.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages wesnoth-httt depends on:
ii  wesnoth   1.1.9-1fantasy turn-based strategy game

wesnoth-httt recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385564: wesnoth-httt: segfault in Bay of Pearls when grabbing trident

2006-09-01 Thread Isaac Clerencia
On Friday 01 September 2006 10:10, Jochen Schulz wrote:
 Package: wesnoth-httt
 Version: 1.1.9-1
 Severity: normal

 Hi!

Thank you for your report, it's already reported upstream though :)

Check: https://gna.org/bugs/?func=detailitemitem_id=6792

It will be fixed in next upstream release. In the meanwhile you can edit:
/usr/share/games/wesnoth/data/items.cfg and remove everything between
[animation] and [/animation] in the storm trident definition. AFAIK that 
should fix the problem.

Best regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385564: wesnoth-httt: segfault in Bay of Pearls when grabbing trident

2006-09-01 Thread Jochen Schulz
Isaac Clerencia:
 
 Thank you for your report, it's already reported upstream though :)

Fine! Actually I wanted to search upstream bugs before reporting to
Debian, but obviously I forgot to do that. Thank you for being very
responsive anyway.

 Check: https://gna.org/bugs/?func=detailitemitem_id=6792
 
 It will be fixed in next upstream release. In the meanwhile you can edit:
 /usr/share/games/wesnoth/data/items.cfg and remove everything between
 [animation] and [/animation] in the storm trident definition. AFAIK that 
 should fix the problem.

Thanks. For the record: it looks like you have to restart the scenario
(but not the campaign) in order for this to take effect. I didn't test
it, though. I have a city to invade.

J.
-- 
Television advertisements are the apothesis of twentieth century culture.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature