Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Sanjivendra Nath
Yes, very reliably, every time. Same place, same stack trace. In fact, if I change the adp source from: 1. pbm_new my_proc -transparent white -fill blue 6 6 (or 6 5 or 5 6 - choose any combination) to 2. pbm_new my_proc -transparent white -fill blue 5 5 the seg. violation occurs on the next

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Sanjivendra Nath
Did a trace with a break on __libc_malloc and __libc_free. Noticed that not 100% of the calls that I traced for a while were going through ns_malloc. A couple of them called malloc directly. Would that make a difference? Looking at the ns_malloc code, it wouldn't seem to, 'cos if things go

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Patrick Spence
At 10:37 AM 10/25/2001 -0500, you wrote: Do you run nsd with the -z flag? If not, then it shouldn't matter. Does it have to be compiled differently to enable the -z flag? or is there some other part of the -z parameter (other than just -z) ... every time I try to enable it on my server it

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Rob Mayoff
+-- On Oct 25, Patrick Spence said: Does it have to be compiled differently to enable the -z flag? No. every time I try to enable it on my server it prevents it from loading.. Tell us exactly what you did and exactly what the computer did.

Re: [AOLSERVER] segmentation violation: gdb stack trace WAS RE: [AOLSERVER] Trying to debug a C module?

2001-10-25 Thread Patrick Spence
At 11:29 AM 10/25/2001 -0500, you wrote: +-- On Oct 25, Patrick Spence said: Does it have to be compiled differently to enable the -z flag? No. every time I try to enable it on my server it prevents it from loading.. Tell us exactly what you did and exactly what the computer did.

[AOLSERVER] nsopenssl page size limit?

2001-10-25 Thread Keith paskett
May pages are being truncated to 16384 bytes when using ssl. I'm running nsopenssl 2.0 setting ServerBufferSize to 32768 in config.tcl file had no effect. Increasing DEFAULT_SERVER_BUFFERSIZE, DEFAULT_SOCKSERVER_BUFFERSIZE, and DEFAULT_SOCKCLIENT_BUFFERSIZE in config.h and recompiling had no

Re: [AOLSERVER] gfb: module nssock.so error

2001-10-25 Thread Dossy
You should send these messages to the mailing list, and not just directly to me. There's a whole list full of people who can help, and I'm just one very busy person ... Yes, it seems it's having a problem loading nssock.so ... Perhaps you need to recompile it. -- Dossy On 2001.10.25, gf b

[AOLSERVER] gfb: nssoc.so module fails

2001-10-25 Thread Gabriel Borrageiro
Hello, Could anyone help me with the following problem. I'm trying to start aolserver for the first time after compilation, but receive the following errors when I run: bash-2.03$ /usr/local/aolserver/bin/nsd -t /usr/local/aolserver/sample- config.tcl [25/Oct/2001:16:28:17][3460.1][-main-]

[AOLSERVER] [ aolserver-Support Requests-475074 ] nssoc.so module problem

2001-10-25 Thread Ms. Source Forge
Support Requests item #475074, was opened at 2001-10-25 14:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detailatid=203152aid=475074group_id=3152 Category: Configuration: First-Time Startup Group: aolserver3_1 Status: Open Resolution: None Priority: 5 Submitted By: Gabriel

[AOLSERVER] Static vs. shared libraries?

2001-10-25 Thread Andrew Piskorski
I have a newbie's C module development question: I have a closed-source C API that I want to use from AOLserver. Ok, no problem, creating a myfoo.so AOLserver loadable module to do that should be straightforward. Unfortunately, the vendor of this closed-source API ships only the non-shared

Re: [AOLSERVER] Static vs. shared libraries?

2001-10-25 Thread Jim Wilcoxson
I think you can just say ld -o blah.so -shared blah.a without extracting .o files. The tricky part is going to be ensuring that the files were compiled with the -D_REENTRANT flag on Linux. Otherwise, the code won't work in weird cases (like referencing errno). Jim On Linux, you should be

Re: [AOLSERVER] Static vs. shared libraries?

2001-10-25 Thread Andrew Piskorski
On Thu, Oct 25, 2001 at 05:10:45PM -0700, Jim Wilcoxson wrote: I think you can just say ld -o blah.so -shared blah.a without extracting .o files. The tricky part is going to be ensuring that the files were compiled with the -D_REENTRANT flag on Linux. Otherwise, the code won't work in

Re: [AOLSERVER] Static vs. shared libraries?

2001-10-25 Thread Dossy
On 2001.10.25, Andrew Piskorski [EMAIL PROTECTED] wrote: Unfortunately, the vendor of this closed-source API ships only the non-shared libfoo.a version of their library - they don't ship a libfoo.so. So, just make a libfoo.so that only consists of libfoo.a linked in. gcc -shared -o libfoo.so