Segfault after the run wesnoth
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Segfault after the run wesnoth
Hi!
I had no problem with starting Wesnoth for a couple of days, but this morning it quit, due to segmentation fault.
Outputs of 'gdb ./wesnoth' and 'run -v wesnoth':
(gdb) run -v wesnoth
Starting program: /home/lama/wesnoth/wesnoth -v wesnoth
Initialized true type fonts
Program received signal SIG32, Real-time event 32.
0x400a5fc4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb)
compiled with gcc-3.2 :
gcc version 3.2.3 (Debian)
Cheers,
Khiraly
I had no problem with starting Wesnoth for a couple of days, but this morning it quit, due to segmentation fault.
Outputs of 'gdb ./wesnoth' and 'run -v wesnoth':
(gdb) run -v wesnoth
Starting program: /home/lama/wesnoth/wesnoth -v wesnoth
Initialized true type fonts
Program received signal SIG32, Real-time event 32.
0x400a5fc4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb)
compiled with gcc-3.2 :
gcc version 3.2.3 (Debian)
Cheers,
Khiraly
The CVS version is:Dave wrote:If you're using CVS, did you run 'make clean' after updating? Can you run 'make clean' and then 'make' and see if the problem still occurs?
If the problem still occurs, can you use GDB to find a backtrace? (I think 'bt' is the GDB command for this).
David
Fri Nov 28 00:49:17 2003
(as far as i know i haven't made any changes on my system)
I have made 'make clean', after 'make', and trying to run wesnoth,
the same problem.
Here is the 'bt' log:
(gdb) run -v ./wesnoth
Starting program: /home/lama/wesnoth/wesnoth -v ./wesnoth
Initialized true type fonts
Program received signal SIG32, Real-time event 32.
0x400a5fc4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
#0 0x400a5fc4 in pthread_getconcurrency () from /lib/libpthread.so.0
#1 0x400a5e08 in pthread_getconcurrency () from /lib/libpthread.so.0
#2 0x400a53f2 in pthread_create () from /lib/libpthread.so.0
#3 0x400a54eb in pthread_create () from /lib/libpthread.so.0
#4 0x4007b1f9 in SDL_SYS_CreateThread () from /usr/lib/libSDL-1.2.so.0
#5 0x4007b024 in SDL_CreateThread () from /usr/lib/libSDL-1.2.so.0
#6 0x40035655 in SDL_OpenAudio () from /usr/lib/libSDL-1.2.so.0
#7 0x40172c4e in Mix_OpenAudio () from /usr/lib/libSDL_mixer-1.2.so.0
Segmentation fault
lama@khiraly:~/wesnoth$
Cheers,
Khiraly
I don't have a problem running bfw, but I do have a problem with sound. I hear everything just fine, but about once every half hour, the sound turns into really loud static for about 3-6 seconds, and then normal sound comes back. Personally, I was thinking it was something else, but I figured I'll mention it.Dave wrote:Does anyone else have the same problem?
David
With it being at the end of school, and finals are next week, I am just ignoring it for the moment.
P.S. I am running 0.50 and cvs 11-29-03. (I currently don't know which one has the sound problem.)
-BrassJ
lama@khiraly:~/libsdlMixer/SDL_mixer-1.2.5$ ./playwave /usr/share/games/wing/sound/die.wavDave wrote:
If you download the source to SDL_mixer, it will come with a sample app, playwave I think. Try running that on your system and see if it works.
Opened audio at 22050 Hz 16 bit stereo
lama@khiraly:~/libsdlMixer/SDL_mixer-1.2.5$
It works fine.
[quote="Dave"
[/quote]
I have found the source of the problem! The hungarian translation file(hungarian.cfg) have overwritten with some ,,trash''.
Fortunatly, I always have some copy (at least 3 exemples) of my work.
Cheers,
Khiraly
P.s.: It would be good, if the program(wesnoth) would check the config files at startup
[/quote]
I have found the source of the problem! The hungarian translation file(hungarian.cfg) have overwritten with some ,,trash''.
Fortunatly, I always have some copy (at least 3 exemples) of my work.
Cheers,
Khiraly
P.s.: It would be good, if the program(wesnoth) would check the config files at startup