- From: Urs Holzer <urs@andonyar.com>
- Date: Sat, 9 Jun 2007 18:15:17 +0200
- To: www-amaya@w3.org
Hello Amaya crashes right after it requests annotations from the server. More precise: When I hit 'load' in the annotations menu, Amaya sends a request to the server. If needed, it also asks for authentication and sends the request to the server with the credentials. Then it crashes. I don't know, wether it parses the answer of the server before the crash. The errormessage on the console is *** Amaya: Irrecoverable error ***Segmentation fault If the server isn't reachable, i.e. If I load annotations without being connected to the internet, something similar happens. (Note: Trying to connect to an unreachable server by entering an URI into the URI-field, everything works as expected.) The error message then is *** glibc detected *** free(): invalid pointer: 0x0a243d44 *** *** Amaya: Irrecoverable error ***Aborted This happens on the revision HEAD from the CVS repository. On an older release of amaya, Amaya9.53, loading annotations worked, but Amaya then crashed on the _next_ request to a server it made. I am running Debian Linux 4.0 (i.e. the stable distribution etch) on an x86 machine. As I am not familiar with debuggin C applications, please tell me how I can help locating the problem. I ran Amaya under strace, here is the last part of the trace, perhaps it helps you: .... read(18, "382\r\n5\">\n <ns97:creator xmlns"..., 32768) = 910 write(16, "5\">\n <ns97:creator xmlns:ns97"..., 898) = 898 write(17, "5\">\n <ns97:creator xmlns:ns97"..., 898) = 898 close(17) = 0 munmap(0xb6f90000, 4096) = 0 open("/home/urs/.amaya/libwww-cache/44/filen5hQ34.meta", O_WRONLY|O_CREAT| O_TRUNC, 0666) = 17 fstat64(17, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f90000 write(17, "Content-Type: application/xml\nSe"..., 99) = 99 close(17) = 0 munmap(0xb6f90000, 4096) = 0 gettimeofday({1181405277, 39560}, NULL) = 0 gettimeofday({1181405277, 39614}, NULL) = 0 close(16) = 0 munmap(0xb6f91000, 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- rt_sigaction(SIGBUS, {SIG_DFL}, {0x8211814, [BUS], SA_RESTART}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGSEGV, {SIG_DFL}, {0x8211814, [SEGV], SA_RESTART}, 8) = 0 rt_sigaction(SIGABRT, {SIG_DFL}, {0x8211814, [ABRT], SA_RESTART}, 8) = 0 write(2, "*** Amaya: Irrecoverable error *"..., 34*** Amaya: Irrecoverable error ***) = 34 stat64("/home/urs/.amaya-check-instance", {st_mode=S_IFSOCK|0700, st_size=0, ...}) = 0 unlink("/home/urs/.amaya-check-instance") = 0 sigreturn() = ? (mask now []) --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 4264 detached Greetings Urs
Received on Saturday, 9 June 2007 21:01:06 UTC