Author Topic: DS3.8 & FluffOS 2.27  (Read 4785 times)

Offline zmax

  • Acquaintance
  • *
  • Posts: 4
    • View Profile
Re: DS3.8 & FluffOS 2.27
« Reply #15 on: December 03, 2013, 02:26:27 PM »
Code: [Select]
*** buffer overflow detected ***: /home/zmax/works/mud/ds3.8.1/bin/./driver terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7ffff7b2408c]
/lib/x86_64-linux-gnu/libc.so.6(+0x111020)[0x7ffff7b23020]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x45af36]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x4950e0]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x4964eb]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x494cc4]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49515e]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49515e]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x496aff]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49677f]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49677f]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49677f]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49689e]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x49716d]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x497ee4]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x41555e]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x47f86d]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x480fb5]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x4814d2]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x488d94]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x406199]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff7a33de5]
/home/zmax/works/mud/ds3.8.1/bin/./driver[0x406420]
======= Memory map: ========
00400000-004c0000 r-xp 00000000 ca:00 125269                             /home/zmax/works/mud/ds3.8.1/bin/driver
006bf000-006c0000 r--p 000bf000 ca:00 125269                             /home/zmax/works/mud/ds3.8.1/bin/driver
006c0000-006cc000 rw-p 000c0000 ca:00 125269                             /home/zmax/works/mud/ds3.8.1/bin/driver
006cc000-01774000 rw-p 00000000 00:00 0                                  [heap]
7ffff6135000-7ffff614a000 r-xp 00000000 ca:00 2990083                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff614a000-7ffff6349000 ---p 00015000 ca:00 2990083                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff6349000-7ffff634a000 r--p 00014000 ca:00 2990083                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff634a000-7ffff634b000 rw-p 00015000 ca:00 2990083                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff634b000-7ffff634d000 r-xp 00000000 ca:00 20285                      /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7ffff654c000-7ffff654d000 r--p 00001000 ca:00 20285                      /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7ffff654d000-7ffff654e000 rw-p 00002000 ca:00 20285                      /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so
7ffff654e000-7ffff655a000 r-xp 00000000 ca:00 19381                      /lib/x86_64-linux-gnu/libnss_files-2.17.so
7ffff655a000-7ffff6759000 ---p 0000c000 ca:00 19381                      /lib/x86_64-linux-gnu/libnss_files-2.17.so
7ffff6759000-7ffff675a000 r--p 0000b000 ca:00 19381                      /lib/x86_64-linux-gnu/libnss_files-2.17.so
7ffff675a000-7ffff675b000 rw-p 0000c000 ca:00 19381                      /lib/x86_64-linux-gnu/libnss_files-2.17.so
7ffff675b000-7ffff675e000 r-xp 00000000 ca:00 19352                      /lib/x86_64-linux-gnu/libdl-2.17.so
7ffff675e000-7ffff695d000 ---p 00003000 ca:00 19352                      /lib/x86_64-linux-gnu/libdl-2.17.so
7ffff695d000-7ffff695e000 r--p 00002000 ca:00 19352                      /lib/x86_64-linux-gnu/libdl-2.17.so
7ffff695e000-7ffff695f000 rw-p 00003000 ca:00 19352                      /lib/x86_64-linux-gnu/libdl-2.17.so
7ffff695f000-7ffff6977000 r-xp 00000000 ca:00 19422                      /lib/x86_64-linux-gnu/libz.so.1.2.8
7ffff6977000-7ffff6b76000 ---p 00018000 ca:00 19422                      /lib/x86_64-linux-gnu/libz.so.1.2.8
7ffff6b76000-7ffff6b77000 r--p 00017000 ca:00 19422                      /lib/x86_64-linux-gnu/libz.so.1.2.8
7ffff6b77000-7ffff6b78000 rw-p 00018000 ca:00 19422                      /lib/x86_64-linux-gnu/libz.so.1.2.8
7ffff6b78000-7ffff6e28000 r-xp 00000000 ca:00 2859009                    /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
7ffff6e28000-7ffff7027000 ---p 002b0000 ca:00 2859009                    /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
7ffff7027000-7ffff702d000 r--p 002af000 ca:00 2859009                    /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
7ffff702d000-7ffff70ab000 rw-p 002b5000 ca:00 2859009                    /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0
7ffff70ab000-7ffff70b0000 rw-p 00000000 00:00 0
7ffff70b0000-7ffff70c7000 r-xp 00000000 ca:00 19401                      /lib/x86_64-linux-gnu/libpthread-2.17.so
7ffff70c7000-7ffff72c7000 ---p 00017000 ca:00 19401                      /lib/x86_64-linux-gnu/libpthread-2.17.so
7ffff72c7000-7ffff72c8000 r--p 00017000 ca:00 19401                      /lib/x86_64-linux-gnu/libpthread-2.17.so
7ffff72c8000-7ffff72c9000 rw-p 00018000 ca:00 19401                      /lib/x86_64-linux-gnu/libpthread-2.17.so
7ffff72c9000-7ffff72cd000 rw-p 00000000 00:00 0
7ffff72cd000-7ffff72d4000 r-xp 00000000 ca:00 19405                      /lib/x86_64-linux-gnu/librt-2.17.so
7ffff72d4000-7ffff74d3000 ---p 00007000 ca:00 19405                      /lib/x86_64-linux-gnu/librt-2.17.so
7ffff74d3000-7ffff74d4000 r--p 00006000 ca:00 19405                      /lib/x86_64-linux-gnu/librt-2.17.so
7ffff74d4000-7ffff74d5000 rw-p 00007000 ca:00 19405                      /lib/x86_64-linux-gnu/librt-2.17.so
7ffff74d5000-7ffff75d8000 r-xp 00000000 ca:00 19368                      /lib/x86_64-linux-gnu/libm-2.17.so
7ffff75d8000-7ffff77d7000 ---p 00103000 ca:00 19368                      /lib/x86_64-linux-gnu/libm-2.17.so
7ffff77d7000-7ffff77d8000 r--p 00102000 ca:00 19368                      /lib/x86_64-linux-gnu/libm-2.17.so
7ffff77d8000-7ffff77d9000 rw-p 00103000 ca:00 19368                      /lib/x86_64-linux-gnu/libm-2.17.so
7ffff77d9000-7ffff77e3000 r-xp 00000000 ca:00 19348                      /lib/x86_64-linux-gnu/libcrypt-2.17.so
7ffff77e3000-7ffff79e2000 ---p 0000a000 ca:00 19348                      /lib/x86_64-linux-gnu/libcrypt-2.17.so
7ffff79e2000-7ffff79e3000 r--p 00009000 ca:00 19348                      /lib/x86_64-linux-gnu/libcrypt-2.17.so
7ffff79e3000-7ffff79e4000 rw-p 0000a000 ca:00 19348                      /lib/x86_64-linux-gnu/libcrypt-2.17.so
7ffff79e4000-7ffff7a12000 rw-p 00000000 00:00 0
7ffff7a12000-7ffff7bcf000 r-xp 00000000 ca:00 19344                      /lib/x86_64-linux-gnu/libc-2.17.so
7ffff7bcf000-7ffff7dcf000 ---p 001bd000 ca:00 19344                      /lib/x86_64-linux-gnu/libc-2.17.so
7ffff7dcf000-7ffff7dd3000 r--p 001bd000 ca:00 19344                      /lib/x86_64-linux-gnu/libc-2.17.so
7ffff7dd3000-7ffff7dd5000 rw-p 001c1000 ca:00 19344                      /lib/x86_64-linux-gnu/libc-2.17.so
7ffff7dd5000-7ffff7dda000 rw-p 00000000 00:00 0
7ffff7dda000-7ffff7dfd000 r-xp 00000000 ca:00 19334                      /lib/x86_64-linux-gnu/ld-2.17.so
7ffff7f4e000-7ffff7f55000 r--s 00000000 ca:00 20289                      /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7ffff7f55000-7ffff7ff2000 rw-p 00000000 00:00 0
7ffff7ff5000-7ffff7ffa000 rw-p 00000000 00:00 0
7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0                          [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 00022000 ca:00 19334                      /lib/x86_64-linux-gnu/ld-2.17.so
7ffff7ffd000-7ffff7fff000 rw-p 00023000 ca:00 19334                      /lib/x86_64-linux-gnu/ld-2.17.so
7ffffff94000-7ffffffff000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Program received signal SIGABRT, Aborted.
0x00007ffff7a48f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

Code: [Select]
******** FATAL ERROR: Aborted(IOT)
FluffOS driver attempting to exit gracefully.
(current object was /secure/save/players/j/jessie)
--- trace ---
Object: /secure/save/players/j/jessie, Program: <driver>
   in <fake>() at /(fake):0
'         cmdAll' in '/       lib/command.c' ('/secure/save/players/j/jessie') /lib/command.c:259
--- end trace ---
crash() in master called successfully.  Aborting.
Aborted

/lib/command.c:259
Code: [Select]
if( (err = parse_sentence(cmd, dbg)) == 1 ){

Offline FallenTree

  • BFF
  • ***
  • Posts: 483
    • View Profile
Re: DS3.8 & FluffOS 2.27
« Reply #16 on: December 03, 2013, 02:49:29 PM »
please send me your driver binary too, or put up somewhere so I can download them.

or if you know how, use addr2line to translate the stack trace.

Offline zmax

  • Acquaintance
  • *
  • Posts: 4
    • View Profile
Re: DS3.8 & FluffOS 2.27
« Reply #17 on: December 03, 2013, 03:35:35 PM »
I pushed my local_options and driver file to GitHub

please check:

https://github.com/zmax/fluffos/archive/master.zip

and I will try to know how to use addr2line...

thanks so much for your help.


Offline zmax

  • Acquaintance
  • *
  • Posts: 4
    • View Profile
Re: DS3.8 & FluffOS 2.27
« Reply #18 on: December 10, 2013, 01:46:55 PM »
After several days of effort, my problem seems to have been resolved...

I tried to compile FluffOS 2.27 with OPTIMIZE="-O2 -DM64"

and it is work, crash no longer occurs.