Dear APE Team,
  I am getting a segmentation fault in the APE Server.
  Below is the configuration of APE which I'm using
  APE Server:- Version 1.01 dev (harmer)
  APE JSF:- 1.0-32-gcc00d94
  I have updated the libspidermonkey.so also in the above package and
moved to the library path in ape.conf.

  Surprisingly my application is working properly on my local machine
(Ubuntu 10.04) with the same APE configuration as above.

   In one of my earlier posts, I had also mentioned that after
updating the JSF to the above version, I was getting an error of
Permission denied and document.domain not being proper, even after not
doing any changes to my existing configuration. One of the posts
here(http://groups.google.co.in/group/ape-project/browse_thread/thread/
16f3511545ded25a/217ff4b8cfaa2065?
lnk=gst&q=APE_COOKIE#217ff4b8cfaa2065) mentioned the same problem and
the solution to it.
    Please let know if it is proper so that other users facing the
same problem also find it useful. The changes can also be added to the
next version of JSF.

  Please find the below GDB output for the segfault that I'm getting.

AJAX Push Engine
Bind on port 6969
Version : 1.01dev
Build   : Jun 21 2010 15:33:12
Author  : Weelya ([email protected])

[Module] [spidermonkey] Loading module : Javascript embeded (0.01) -
Anthony Catel
[JS] Loading script /var/ape//main.ape.js...
[JS] Loading script /var/ape/framework/mootools.js...
[JS] Loading script /var/ape/framework/Http.js...
[JS] Loading script /var/ape/framework/userslist.js...
[JS] Loading script /var/ape/utils/utils.js...


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210329408 (LWP 19224)]
0x08052592 in subuser_restor (sub=0x0, g_ape=0x8084010) at src/users.c:
541
541             USERS *user = sub->user;
(gdb)
(gdb) bt
#0  0x08052592 in subuser_restor (sub=0x0, g_ape=0x8084010) at src/
users.c:541
#1  0x08050966 in cmd_connect (callbacki=0xbf812138) at src/cmd.c:426
#2  0x080503ed in process_cmd (ijson=0x80dd520, pc=0xbf8121e8,
iuser=0xbf812290, g_ape=0x8084010) at src/cmd.c:284
#3  0x08050892 in checkcmd (cget=0xbf812280,
transport=TRANSPORT_LONGPOLLING, iuser=0xbf812290, g_ape=0x8084010) at
src/cmd.c:399
#4  0x0804f951 in checkrecv (co=0x80dd7f8, g_ape=0x8084010) at src/
handle_http.c:118
#5  0x0805e59b in parser_ready_http (http_parser=0x80dd814,
g_ape=0x8084010) at src/parser.c:42
#6  0x0805875c in process_http (co=0x80dd7f8, g_ape=0x8084010) at src/
http.c:260
#7  0x0805b7b8 in ape_read (co=0x80dd7f8, buffer=0x80dd82c,
offset=2032, g_ape=0x8084010) at src/servers.c:34
#8  0x0804eb0b in sockroutine (g_ape=0x8084010) at src/sock.c:474
#9  0x0804d4a3 in main (argc=3, argv=0xbf8127c4) at src/entry.c:303
(gdb)

Thanks in advance.

Regards,
Sudeep Sunthankar

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to