Giter Club home page Giter Club logo

ffff-dnsp2p's Introduction

Hurr durr

Yurr

Yass, ... but no

Why

ffff-dnsp2p's People

Contributors

benlaurie avatar hach-que avatar hades avatar hank avatar sc68cal avatar ycros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ffff-dnsp2p's Issues

Segmentation fault upon DNS request

Seems to be some memory corruption going on as the ctx->f4 memory is getting corrupted or freed and is no longer accessible at this point.

dotp2p@main-server:~/ffff-dnsp2p> LD_LIBRARY_PATH=../ffff-dnsp2p/event2/lib gdb --args ./dnsp2p.exe -D 192.168.1.252:12000 -A 192.168.1.252:12001 -P 192.168.1.252:12002 -s state.db -p publish.db -r peers
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
...
(gdb) run
Starting program: /home/dotp2p/ffff-dnsp2p/dnsp2p.exe -D 192.168.1.252:12000 -A 192.168.1.252:12001 -P 192.168.1.252:12002 -s state.db -p publish.db -r peers
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0804b8ff in _f4dns_cb_dnsserver (req=0x8069c14, _ctx=0x805cd68) at dns.c:86
86              f4op_t *op = f4op_new(ctx->f4->op_ctx, F4OP_MODE_GET, op_id);
(gdb) bt
#0  0x0804b8ff in _f4dns_cb_dnsserver (req=0x8069c14, _ctx=0x805cd68)
    at dns.c:86
#1  0xb7fd45ff in server_port_read (s=0x8069520) at evdns.c:1194
#2  0xb7fd47df in server_port_ready_callback (fd=16, events=2, arg=0x8069520)
    at evdns.c:1433
#3  0xb7fb279f in event_base_loop (base=0x805c040, flags=)
    at event.c:1287
#4  0x0804a178 in run_stuff (ctx=0x805c3e8) at stub.c:13
#5  0x0804a4f5 in main (argc=13, argv=0xbffff544) at stub.c:92
(gdb) print ctx
$1 = (f4dns_ctx_t *) 0xbffff37e
(gdb) print ctx->f4
$2 = (f4_ctx_t *) 0xf3a40000
(gdb) print ctx->f4->op_ctx
Cannot access memory at address 0xf3a401cc

dnsp2p.exe assertion failed ffff.c:120

compiled on Ubuntu 10.04 64bit with self compiled libevent-2.0.9-rc and in stock libgcrypt11 (1.4.4) libtokyocabinet (1.4.23).
running as ./dnsp2p.exe -D 192.168.100.7:53 -A 192.168.100.7:8008 -P 192.168.100.7:21211 -s nodestate -p persistent
gives:
dnsp2p.exe: ffff.c:120: f4_init_peers: Assertion `ctx->peers_file != ((void *)0)' failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.