[4.20][linux] segmentation error

Linux specific forum
Chaos
User
User
Posts: 12
Joined: Mon May 05, 2008 7:52 am
Location: france

[4.20][linux] segmentation error

Post by Chaos »

My code is under 3-5k line but one the IDE the compilation block at the 1000 line and in the console mode :
chaos@chaos:/media/disk/yame/sources/Melchior$ pbcompiler Main.pb

******************************************
PureBasic 4.20 (Linux - x86)
******************************************

Loading external modules...
Starting compilation...
Including source: ClassPath.pbi
Including source: debug.pb
Including source: POO_macro.pb
Including source: constantes.pb
Including source: Constantes Magi.pbi
Including source: Sprite.pb
Including source: Fonctions XOR.pbi
Including source: Nexus.class.pb
Including source: Atlas.class.pb
Including source: Chaos.class.pb
Including source: variable.class.pb
Including source: fonction.class.pb
Including source: script.class.pb
Including source: Adonis.class.pb
Including source: window.pb
Including source: gadget.pb
Including source: event.pb
Erreur de segmentation
Sry to my bad english !
GBeebe
Enthusiast
Enthusiast
Posts: 263
Joined: Sat Oct 09, 2004 6:52 pm
Location: Franklin, PA - USA
Contact:

Post by GBeebe »

after Googling up segmentation error, it looks though it has to do with pointers. Don't know why you'd get that error while compiling. Seems to be in your event.pb, right? Can you show it to us so we can check it out?
Chaos
User
User
Posts: 12
Joined: Mon May 05, 2008 7:52 am
Location: france

Post by Chaos »

if i remove the inclusion file of "event.pb"
chaos@chaos:/media/disk/yame/sources/Melchior$ pbcompiler Main.pb

******************************************
PureBasic 4.20 (Linux - x86)
******************************************

Loading external modules...
Starting compilation...
Including source: ClassPath.pbi
Including source: debug.pb
Including source: POO_macro.pb
Including source: constantes.pb
Including source: Constantes Magi.pbi
Including source: Sprite.pb
Including source: Fonctions XOR.pbi
Including source: Nexus.class.pb
Including source: Atlas.class.pb
Including source: Chaos.class.pb
Including source: variable.class.pb
Including source: fonction.class.pb
Including source: script.class.pb
Including source: Adonis.class.pb
Including source: window.pb
Including source: gadget.pb
Erreur de segmentation
if i remove the inclusion file of "Adonis.class.pb"
chaos@chaos:/media/disk/yame/sources/Melchior$ pbcompiler Main.pb

******************************************
PureBasic 4.20 (Linux - x86)
******************************************

Loading external modules...
Starting compilation...
Including source: ClassPath.pbi
Including source: debug.pb
Including source: POO_macro.pb
Including source: constantes.pb
Including source: Constantes Magi.pbi
Including source: Sprite.pb
Including source: Fonctions XOR.pbi
Including source: Nexus.class.pb
Including source: Atlas.class.pb
Including source: Chaos.class.pb
Including source: variable.class.pb
Including source: fonction.class.pb
Including source: script.class.pb
Including source: Dionysos.class.pb
Including source: Amphore.class.pb
Erreur de segmentation

that why its really a bug at the line 1000.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

This looks like a bug in the compiler.
Post Reply