Author Topic: FluffOS 2.9-ds2.11 Seg fault error in linux but not in windows  (Read 2649 times)

Offline balrugh

  • Acquaintance
  • *
  • Posts: 9
    • View Profile
Hello, i has the next error in the linux compiled fluffOS driver. It is compiled with the fr options:

Code: [Select]
Initializing internal tables....
----------------------------------------------------------------------------
TDM (FluffOS v2.9-ds2.11) starting up on Linux - Mon Aug 29 13:35:48 2011

Try invoking the driver using the full pathname.
Connected to address server on localhost port 8099

Loading preloaded files ...
Initializations complete.

Accepting connections on port 4001.
No error handler for error: *Error in loading object '/d/clanes/corsarios_de_pelegir/rooms/entrada'
program: /obj/handlers/room_handler.c, object: /obj/handlers/room_handler, file: /obj/handlers/room_handler.c:90
--- trace ---
Object: /obj/handlers/room_handler, Program: /obj/handlers/room_handler.c
   in check_door() at /obj/handlers/room_handler.c:90
arguments were (({ /* sizeof() == 3 */
  /std/room/exit_handler,
  "pasarela",
  "/d/clanes/corsarios_de_pelegir/rooms/entrada"
}))
locals were: 0
'          CATCH' in '/obj/handlers/room_handler.c' ('/obj/handlers/room_handler') /obj/handlers/room_handler.c:90
--- end trace ---
******** FATAL ERROR: Segmentation fault
FluffOS driver attempting to exit gracefully.
(current object was /d/anduar/anduar/ciudad/ao1607)
--- trace ---
Object: /global/god#4, Program: /global/psoul.c
   in action_check() at /global/psoul.c:222
arguments were ("update ao1607")
locals were: 0
Object: /global/god#4, Program: /global/wiz_file_comm.c
   in update() at /global/wiz_file_comm.c:218
arguments were ("/d/anduar/anduar/ciudad/ao1607.c")
locals were: "ao1607",({ /* sizeof() == 1 */
  "/d/anduar/anduar/ciudad/ao1607.c"
}),0,0,0,({ }),0,0
Object: /global/god#4, Program: /global/wiz_file_comm.c
   in <catch>() at /global/wiz_file_comm.c:218
Object: /d/anduar/anduar/ciudad/ao1607, Program: /std/outside.c
   in create() at /std/outside.c:44
arguments were ()
Object: /d/anduar/anduar/ciudad/ao1607, Program: /std/room.c
   in create() at /std/room.c:265
arguments were ()
locals were: 0
'          reset' in '/d/anduar/anduar/ciudad/ao1607.c' ('/d/anduar/anduar/ciudad/ao1607') /d/anduar/anduar/ciudad/ao1607.c:26
arguments were ()
--- end trace ---
crash() in master called successfully.  Aborting.
Aborted


In windows (with http://lpmuds.net/files/discworld/dw_fluffos_v3.zip driver) the object only throws an error(object can not be loaded) to the admin (Not to the driver output) and not kill the driver with a seg fault message. Can i get the windows behaviour with any options in local_options?

Thank you for any responses and sorry for my english (is not my natural language).

PD: The object is repaired, but if anyone of my admins probe a new code it can crash all the driver only for a object load.


Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: FluffOS 2.9-ds2.11 Seg fault error in linux but not in windows
« Reply #1 on: August 29, 2011, 10:39:28 AM »
You say this:

Quote
It is compiled with the fr options:

But then you say this:
Quote
In windows (with http://lpmuds.net/files/discworld/dw_fluffos_v3.zip driver)

I'm not sure what lib you are using, nor am I sure you are using the driver source from the lib you are using.

Please be clear on the lib, and the lib version.

If you are switching around between drivers anwyay, you might as well try to use the latest FluffOS while you're at it, since right now you're messing with a driver version that's at least two years old.

-Crat

Offline balrugh

  • Acquaintance
  • *
  • Posts: 9
    • View Profile
Re: FluffOS 2.9-ds2.11 Seg fault error in linux but not in windows
« Reply #2 on: August 29, 2011, 10:45:35 AM »
Sorry. I mistake the driver of windows. The driver i use in windows are http://lpmuds.net/files/final_realms_fluffos_v1.zip . I am using a derivative lib of fr-mudlib.

I plan to change the driver with the time to one more actual, but for now the only that starts is this.

Thank you for advertise
« Last Edit: August 29, 2011, 10:47:22 AM by balrugh »

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Re: FluffOS 2.9-ds2.11 Seg fault error in linux but not in windows
« Reply #3 on: August 29, 2011, 02:44:12 PM »
Quote
I plan to change the driver with the time to one more actual, but for now the only that starts is this.

Since segfaults generally involve something in the driver, and since the driver you are using
is very old, then yes the right answer is probably upgrading your driver.

Until you do that, I don't think you will receive very useful advertise.

-Crat

Offline balrugh

  • Acquaintance
  • *
  • Posts: 9
    • View Profile
Re: FluffOS 2.9-ds2.11 Seg fault error in linux but not in windows
« Reply #4 on: August 30, 2011, 03:19:59 AM »

Since segfaults generally involve something in the driver, and since the driver you are using
is very old, then yes the right answer is probably upgrading your driver.


Thank you, i use your advice and try to upgrade. I achieve to compile and run the FluffOS v2.11-ds18. It has the same behaviour than the windows version that i used (Shows the errors to the admin, but not kill driver with seg fault).

Now, i try to update to a more actual version (The path for 2.23 is shorter now).

Thank you newly for your advices.