Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FallenTree

Pages: 1 2 [3] 4 5 ... 33
31
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: October 16, 2015, 10:37:38 AM »
Code: [Select]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd3745)[0x7fe44c731745]
Oct  8 14:30:13 driver[16245]: /lib/x86_64-linux-gnu/libc.so.6(+0x35180)[0x7fe449dcc180]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd2d70)[0x7fe44c730d70]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xcfb28)[0x7fe44c72db28]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd192a)[0x7fe44c72f92a]
Oct  8 14:30:13 driver[16245]: ...bin/driver(telnet_recv+0x158)[0x7fe44c724968]
Oct  8 14:30:13 driver[16245]: ...bin/driver(_Z13get_user_dataP13interactive_t+0x571)[0x7fe44c74beb1]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(+0x179ec)[0x7fe44a9799ec]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(+0x2164f)[0x7fe44a98364f]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(event_base_loop+0x4df)[0x7fe44a9841ff]
Oct  8 14:30:13 driver[16245]: ...bin/driver(_Z7backendP10event_base+0x26e)[0x7fe44c728a9e]
Oct  8 14:30:13 driver[16245]: ...bin/driver(main+0x457)[0x7fe44c680d37]
Oct  8 14:30:13 driver[16245]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fe449db8b45]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0x240b1)[0x7fe44c6820b1]
Oct  8 14:30:13 driver[16245]: ******** FATAL ERROR: SIGSEGV: Segmentation fault
Oct  8 14:30:13 driver[16245]: FluffOS driver attempting to exit gracefully.
Oct  8 14:30:13 driver[16245]: crash() in master called successfully.  Aborting.

You need to post whole startup-log  , and possibly put your driver binary somewhere for me to download and analyse.

For now is ok, but i'm sure that will crash again.

I'm thinking about it.

The error is in:
Code: [Select]
telnet_recv(ip->telnet, reinterpret_cast<const char *>(&buf[0]), num_bytes);

Is possible that ip->telnet was incorrect or NULL for some telnet client? (i doubt it...)

I could not reproduce the error.

Startup log:
Code: [Select]
========================================================================
Boot Time: Wed Oct 14 17:23:06 2015
FluffOS Version: 3.0-alpha9.0(git-944ee22-1443467939)@ (Linux/x86-64)
Jemalloc Version: 4.0.3-0-ge9192eacf8935e29fc62fddc2701f7942b1cc02c
Core Dump: No, Max FD: 65535
Command: ./driver ./config.rl
========================================================================
Processing config file: ./config.rl
* Config 'time to clean up' New Value: 7200
* Config 'time to reset' New Value: 1800
* Config 'time to swap' New Value: 1800
* Config 'evaluator stack size' New Value: 1000
* Config 'maximum evaluation cost' New Value: 1000000
* Config 'maximum call depth' New Value: 35
* Config 'maximum array size' New Value: 25000
* Config 'maximum mapping size' New Value: 15000
* Config 'maximum bits in a bitfield' New Value: 1200
* Config 'maximum byte transfer' New Value: 10000
* Config 'living hash table size' New Value: 100
* Config 'gametick msec' New Value: 100
* Config 'heartbeat interval msec' New Value: 2000
* Config 'sane sorting' New Value: 0
* Config 'trace' New Value: 0
* Config 'receive snoop' New Value: 0
* Config 'reverse defer' New Value: 1
* Config 'enable_commands call init' New Value: 0
* Config 'sprintf add_justified ignore ANSI colors' New Value: 0
* Config 'call_out(0) nest level' New Value: 10000
Initializing internal stuff ....
Event backend in use: epoll

I saw exactly the same crash happened on another MUD. I sent in some fixes yesterday, can you update it and see if it happens again?

32
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: October 09, 2015, 11:47:25 PM »
How is it possible to see what information coverity is generating for fluffos on GitHub?

Tell me your email, and I will send you a link.

33
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: October 09, 2015, 11:46:57 PM »
Code: [Select]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd3745)[0x7fe44c731745]
Oct  8 14:30:13 driver[16245]: /lib/x86_64-linux-gnu/libc.so.6(+0x35180)[0x7fe449dcc180]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd2d70)[0x7fe44c730d70]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xcfb28)[0x7fe44c72db28]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0xd192a)[0x7fe44c72f92a]
Oct  8 14:30:13 driver[16245]: ...bin/driver(telnet_recv+0x158)[0x7fe44c724968]
Oct  8 14:30:13 driver[16245]: ...bin/driver(_Z13get_user_dataP13interactive_t+0x571)[0x7fe44c74beb1]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(+0x179ec)[0x7fe44a9799ec]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(+0x2164f)[0x7fe44a98364f]
Oct  8 14:30:13 driver[16245]: /usr/lib/libevent-2.1.so.5(event_base_loop+0x4df)[0x7fe44a9841ff]
Oct  8 14:30:13 driver[16245]: ...bin/driver(_Z7backendP10event_base+0x26e)[0x7fe44c728a9e]
Oct  8 14:30:13 driver[16245]: ...bin/driver(main+0x457)[0x7fe44c680d37]
Oct  8 14:30:13 driver[16245]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fe449db8b45]
Oct  8 14:30:13 driver[16245]: ...bin/driver(+0x240b1)[0x7fe44c6820b1]
Oct  8 14:30:13 driver[16245]: ******** FATAL ERROR: SIGSEGV: Segmentation fault
Oct  8 14:30:13 driver[16245]: FluffOS driver attempting to exit gracefully.
Oct  8 14:30:13 driver[16245]: crash() in master called successfully.  Aborting.

You need to post whole startup-log  , and possibly put your driver binary somewhere for me to download and analyse.

34
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: October 08, 2015, 08:08:47 AM »
we are now down to one,  jemalloc.

35
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: October 06, 2015, 12:40:18 AM »
Is there still a way to make array a reserved word since ds and nightmare libs use this keyword quite a bit.

You need to modify  https://github.com/fluffos/fluffos/blob/next-3.0/src/base/internal/options_internal.h  now to enable that.

I don't think array keyword actually give you anything, I recommend you use some global define / grep to get rid of it for the future.

36
Drivers / Re: WIP: Fluffos 3.0 Alpha 9.0
« on: September 29, 2015, 02:22:50 AM »
I also found and fixed a libtelnet bug during the process..

37
Drivers / WIP: Fluffos 3.0 Alpha 9.0
« on: September 28, 2015, 01:15:16 PM »
Hi all,

It's been a while, and now I present fluffos 3.0-alpha-9.0 to you all.

Major changes:
1. Bundle jemalloc 4.0.3 , build process will build and link to it automatically. Jemalloc will solve memory fragmentation issue.
2. Better formatted  startup logging.
3. new RC(runtime config) system that provides a default value for every option, and output overridden ones on startup.
4. Fixed '\r' translation issue introduced since 7.4
5. Deal with CRLF in both RC configs and read_file, restore_* ,  no more translation needed.

Note:
CYGWIN build is broken for now, as jemalloc is having some trouble compiling under it.

As usual, the code is avaiable at https://github.com/fluffos/fluffos , I havn't tagged a release yet due to CYGWIN issue.

Cheers.

38
Drivers / Re: Fluffos 3.0-alpha-8.1 Releases
« on: June 06, 2015, 08:13:23 AM »
Hello, a little problem.

i've connected to driver with basic windows telnet and output fails, because there aren't crlf.

The files in my mud have unix lineendings.

In previous version works ok.

I think that previous version insert \r when find a \n character in add_message in comm.cc, but in new driver all work is made by libtelnet, and perhaps don't 'convert' output.

I've modified comm.cc adding that \r and is ok, but sure you can do it much better than me.

Perhaps is useful a new options in local_options for indicate if convert lineendings?

The effect is the same that open a file with unix lineendings with windows notepad.

Which version was the previous version?

39
Drivers / Re: Fluffos 3.0-alpha-8.1 Releases
« on: June 05, 2015, 09:18:22 AM »
Previous fix was wrong. the real fix is

https://github.com/fluffos/fluffos/pull/268

40
Drivers / Re: Fluffos 3.0-alpha-8.1 Releases
« on: June 05, 2015, 01:27:09 AM »
Good news:
The optimize bug with "time_expression" was solved by  https://github.com/fluffos/fluffos/pull/267

Please give it a try! Fortunately it is only buggy with time_expression in rare cases.

Cheers. 

41
Drivers / Re: Fluffos 3.0-alpha-8.1 Releases
« on: June 03, 2015, 10:34:03 PM »
Please note:
a bug was introduced in restore_object:  Please download the new version here:

https://github.com/fluffos/fluffos/releases/tag/fluffos-3.0-alpha8.2


Thanks for the demonstration of optimize bug, that sure has existed for a long time, I will take a stab to it.

42
Drivers / Fluffos 3.0-alpha-8.1 Releases
« on: June 03, 2015, 11:58:21 AM »
Please checkout

https://github.com/fluffos/fluffos/releases/tag/fluffos-3.0-alpha8.1

fluffos-3.0-alpha8.1
@thefallentree thefallentree released this 2 hours ago

Significant changes
1) This release migrated significant part of local_options into runtime config. Adding set_config() efun, allowing changing runtime config. see src/testsuite/etc/config.test For up-to-date list.
2) Sync thirdparty/libtelnet @ HEAD
3) fix #251 memory accounting int overflow
4) Upgrade object ref counter to uint32, This enables large mud , and more call_outs.
5) Adding runtime config controlled new behavior : Make ed deal with chinese characters. Sprintf ignore ANSI colors.
6) Make replace_program with function reference a warning instead.
7) Restore call_out(0) prevention.
8) Some work on restore_object() to reduce memory usage etc.

Detailed change log in
fluffos:fluffos-3.0-alpha8.0...fluffos:fluffos-3.0-alpha8.1

43
Drivers / Re: Flffos 3.0 alpha8.0
« on: April 28, 2015, 11:14:40 AM »
matrix package hasn't been updated. 

You should just include "base/package_api.h" , and it should compile. (look in other package file for detail).

44
Drivers / Re: Flffos 3.0 alpha8.0
« on: April 27, 2015, 05:53:49 AM »
I just untarred the new alpha but I am having some difficulties with configure under fedora 21. It seems to be unable to locate libevent even though I have installed the package  and the header files are already in /usr/include and the library in /usr/lib64. I tried using the --with-libevent but this doesnt seem to work either.

Thanks in advance,

Silenus.

Can you post the detailed log and, more specifically , config.log  file? It will tell you what it tries to use, and how it have failed.

45
Drivers / Re: Flffos 3.0 alpha8.0
« on: April 21, 2015, 05:23:47 AM »
Got any result ?

Pages: 1 2 [3] 4 5 ... 33