[JDEV] dpsm going boom!

Dustin Puryear dpuryear at usa.net
Wed May 30 13:00:00 CDT 2001


I started toying with dpsm again and it's segfaulting. From what I've
seen this seems to be a unique situation, so I thought I'd bring it
here. I have jabberd running with the dpsm settings, and when I run dpsm
I get:

$ ./dpsm
Starting up...
        configure()...
        init()...
orMask(4, 4): new mask 5
        start_listener()...
Done
Event fd(4) client(0x804e378)
xorMask(4, 4): new mask 1
Event fd(4) client(0x804e378)

The moment I connect to port 5222 however dpsm segfaults:

somehost$ telnet jabberserver 5222

dpsm:

$ ./dpsm
Starting up...
        configure()...
        init()...
orMask(4, 4): new mask 5
        start_listener()...
Done
Event fd(4) client(0x804e378)
xorMask(4, 4): new mask 1
Event fd(4) client(0x804e378)
Event fd(5) client(0x804f268)
        conn_add()...
Segmentation fault (core dumped)

temas, any clues? I found that the line causing this segfault seems to
be client.c:conn_add() line 195:

DPRINT("Checking rate, points:  %d\n", cl->rate->points);

Benoit, I know you mentioned you had dpsm working at some level. Did you
have any problems?

Regards, Dustin

-- 
Dustin Puryear <dpuryear at usa.net>
http://members.telocity.com/~dpuryear
In the beginning the Universe was created. 
This has been widely regarded as a bad move. - Douglas Adams



More information about the JDev mailing list