Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Freeciv > "Segmentation faul" ?!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
7085t3r is offline 7085t3r
Settler

Dec 2002
time: 05:24
  Old Post 20-12-2002 23:12
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
"Segmentation faul" ?! Full PM-box? Change here!

Hi,

I compile the Freeciv 1.14.0 sucesfully. When i wont to start freeciv:


2: No real audio plugin present, Proceeding with sound support disabled
2: For sound support, install either esound or SDL_mixer
2: Esound: http://www.tux.org/~ricdude/EsounD.html
2: SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/index.html
2: Using fallback resources - wich is OK
Segmentation faut




What is goin on?

MacHatter is offline MacHatter
Chieftain

Jun 2000
time: 21:24
  Old Post 21-12-2002 05:53
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Help yourself to an AD-FREE life

I'm afraid I don't know all the intricacies of delaing with segfaults, but I can ask some questions that would assist the developers. Based on the question, I assume you're using linux. I also assume that the crash is reproducable.

What window manager are you using?
What version exactly are you using? is it the 1.14.0-beta2 source or the CVS-HEAD source?
Do you have the core file and can you generate a backtrace?

7085t3r is offline 7085t3r
Settler

Dec 2002
time: 05:24
  Old Post 21-12-2002 13:36
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by MacHatter
Based on the question, I assume you're using linux.


Yes, I using Linux

quote:
What window manager are you using?


WindowMaker

quote:
What version exactly are you using? is it the 1.14.0-beta2 source or the CVS-HEAD source?


Yes, is it the 1.14.9-beta2 source.

quote:
Do you have the core file and can you generate a backtrace?


I don't see this file, where is it?

Per is offline Per
Freeciv Developer

May 2002
time: 06:24
  Old Post 21-12-2002 18:20
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Please start the freeciv client with gdb, for example in this way

gdb client/civclient

(or replace client/civclient with whatever path you have to civclient) then type "run". When it segfaults, type "bt" and post the results. Also run "civclient -d 3" and post the output from that.

anyuser is offline anyuser
Settler

Jan 2003
time: 05:24
  Old Post 29-01-2003 22:15
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

hi!
i have got the same problem. i compiled freeciv 1.14.0 and installed it on my redhat linux.
every time i start the client it ends with a segfault after the main window comes up for short time.

so i did what you wrote in your post.

gdb & run:

[ghost101@ghost ghost101]$ gdb civclient
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /usr/local/bin/civclient
[New Thread 8192 (LWP 1069)]
1: Audio .spec-Datei 'stdsounds' nicht gefunden.
1: Für Audio muß ein Soundset heruntergeladen werden!
1: Soundsets gibt es unter <ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets>.
1: Audio abgeschaltet. Weiter.
2: Benutze Reserveressourcen - OK

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 1069)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x40031fd2 in PaintCommandWidget () from /usr/X11R6/lib/libXaw3d.so.7
#2 0x40031e87 in Redisplay () from /usr/X11R6/lib/libXaw3d.so.7
#3 0x400badea in _XtEventInitialize () from /usr/X11R6/lib/libXt.so.6
#4 0x400bab7d in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#5 0x400ba915 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#6 0x400bb18d in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#7 0x400bb4df in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x400bba04 in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#9 0x0806e880 in ui_main (argc=1, argv=0x80ac413) at gui_main.c:464
#10 0x0804d77f in main (argc=1, argv=0xbffff9b4) at civclient.c:228
#11 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6


and civclient -d 3:

[ghost101@ghost ghost101]$ civclient -d 3
3: log started
3: USER username is ghost101
3: HOME is /home/ghost101
3: settings file is /home/ghost101/.civclientrc
3: Booting help texts
3: Data path component (0): .
3: Data path component (1): data
3: Data path component (2): /home/ghost101/.freeciv
3: Data path component (3): /usr/local/share/freeciv
3: Reading file "/usr/local/share/freeciv/helpdata.txt"
3: Booted help texts ok
3: tilespec file is /usr/local/share/freeciv/trident.tilespec
3: Reading file "/usr/local/share/freeciv/trident.tilespec"
3: tile sizes 30x30, 3030 unit, 1520 small
3: finished reading /usr/local/share/freeciv/trident.tilespec
3: Initializing sound using stdsounds...
3: Could not find readable file "stdsounds.soundspec" in data path.
1: Audio .spec-Datei 'stdsounds' nicht gefunden.
1: Für Audio muß ein Soundset heruntergeladen werden!
1: Soundsets gibt es unter <ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets>.
1: Audio abgeschaltet. Weiter.
3: Neither of tags music_start or (null) found
Error: Can't open display: 3


i hope you could find the probem.

thanks for your help

bbailey is offline bbailey
Settler

Jan 2003
time: 05:24
  Old Post 30-01-2003 01:42
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Per
Please start the freeciv client with gdb, for example in this way

gdb client/civclient

(or replace client/civclient with whatever path you have to civclient) then type "run". When it segfaults, type "bt" and post the results.


I am also getting a Segmentation fault. I compiled Freeciv 1.14.0 under X11 (0.1, XFree86 4.2.1) on Mac OS X 10.2.3.

The segfault only happens when I try to build a city. So long as I just move my units around, things seem to be fine.

code:
Program received signal EXC_BAD_ACCESS, Could not access memory. 0x00022f8c in create_city_dialog (pcity=0x24, make_modal=0) at citydlg.c:1053 1053 XSetWMProtocols(display, XtWindow(pdialog->shell), &wm_delete_window, 1); (gdb) bt #0 0x00022f8c in create_city_dialog (pcity=0x24, make_modal=0) at citydlg.c:105 3 #1 0x00021d98 in popup_city_dialog (pcity=0x4d87f0, make_modal=0) at citydlg.c: 408 #2 0x00012b8c in handle_city_packet_common (pcity=0x4d87f0, is_new=6293800, pop up=1, investigate=1) at packhand.c:495 #3 0x000129a4 in handle_city_info (packet=0x4e5290) at packhand.c:450 #4 0x00004e64 in handle_packet_input (packet=0x4e5290, type=2101400) at civclie nt.c:299 #5 0x000088c8 in input_from_server (fd=0) at clinet.c:325 #6 0x96476d3c in DoOtherSources () #7 0x964770c4 in XtAppNextEvent () #8 0x9646dc7c in XtAppMainLoop () #9 0x0001e3b0 in ui_main (argc=1, argv=0x201098) at gui_main.c:464 #10 0x00004c1c in main (argc=1, argv=0xbffffe0c) at civclient.c:228 #11 0x00002970 in _start (argc=1, argv=0xbffffe0c, envp=0xbffffe14) at /SourceCa che/Csu/Csu-45/crt.c:267 #12 0x000027f0 in start ()

rp is offline rp
Freeciv Developer
Eindhoven
May 2000
time: 06:24
  Old Post 27-02-2003 01:18
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Put an end to popups!

afaik this is a known - and fixed - bug in the Xaw client. try compiling the GTK+ client ...

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0402 seconds (89.59% PHP - 10.41% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net