Re: Crash after loading of annotations

Am Donnerstag, 21. Juni 2007 12:56 schrieb Irene Vatton:
> > Indeed, it is. Unfortunately, Amaya crashes now on the next request, like
> > Amaya9.53 did. This might be unrelated to the bug found by Yusuke Ishii.
> >
> > The following happens: Initially, everything works fine. Then I load
> > annotations, which also works. But after that, the next http-request
> > (hitting the reload button, selecting a link, loading annotations a
> > second time) causes a crash:
> > *** glibc detected *** double free or corruption (!prev): 0x0a57e010 ***
> > *** Amaya: Irrecoverable error ***Aborted
> > or sometimes simply indicating a segmentation fault.
>
> Could you send me the context of the crash: the stack displayed by the
> where command of gdb when the crash occurs.

Ok, here it is:

#0  0xb76ed639 in free () from /lib/tls/i686/cmov/libc.so.6
#1  0x081d5c2b in TtaFreeMemory (ptr=0x467a4092) at ../../thotlib/base/memory.c:162
#2  0x081d5f86 in FreeSchStruc (pSS=0xa3a7df0) at ../../thotlib/base/memory.c:1642
#3  0x081f9652 in ReleaseStructureSchema (pSS=0xa3a7df0, pDoc=0xa07c360)
    at ../../thotlib/document/schemas.c:866
#4  0x081fa1e4 in FreeDocumentSchemas (pDoc=0xa07c360) at ../../thotlib/document/schemas.c:1470
#5  0x081f0758 in UnloadDocument (pDoc=0xbfd9d450) at ../../thotlib/document/documentapi.c:263
#6  0x0826d2b2 in TCloseDocument (pDoc=0xa07c360) at ../../thotlib/view/displayview.c:445
#7  0x0826d340 in CloseDocumentView (pDoc=0xa07c360, view=1, closeDoc=true)
    at ../../thotlib/view/displayview.c:518
#8  0x0826d448 in CleanImageView (View=1, pDoc=0xa07c360, complete=true)
    at ../../thotlib/view/displayview.c:581
#9  0x0826d5f7 in TtaFreeView (document=1, view=1) at ../../thotlib/view/displayview.c:966
#10 0x08117df0 in InitDocAndView (oldDoc=1, replaceOldDoc=true, inNewWindow=false,
    docname=0xa9e26d0 "noname.html", docType=docHTML, sourceOfDoc=0, readOnly=false, profile=2, method=1)
    at ../../amaya/init.c:2798
#11 0x0811d031 in LoadDocument (doc=1, pathname=0xa9e2d30 "http://www.andonyar.com/lang/", form_data=0x0,
    initial_url=0x9e09dc0 "http://www.andonyar.com/lang/", method=1,
    tempfile=0xa9effb0 "/home/urs/.amaya/1/0007AM", documentname=0xa9e26d0 "noname.html",
    http_headers=0xa9e36e4, history=true, inNewWindow=0xbfd9e643, realdocname=0x0) at ../../amaya/init.c:4127
#12 0x0811de28 in GetAmayaDoc_callback (newdoc=1, status=0,
    urlName=0xa9e3a58 "http://www.andonyar.com/lang/", outputfile=0xa9e3730 "/home/urs/.amaya/1/0007AM",
    proxyName=0x0, http_headers=0xa9e36e4, context=0xa965dc0) at ../../amaya/init.c:5327
#13 0x081527b4 in ProcessTerminateRequest (request=0xa9e18b8, response=0xa9e1780, param=0x0, status=200)
    at ../../amaya/AHTBridge.c:221
#14 0x0815ae88 in terminate_handler (request=0xa9e18b8, response=0xa9e1780, context=0x0, status=200)
    at ../../amaya/query.c:1519
#15 0x083961ef in HTNetCall_executeAfter (list=0x9fbb660, request=0xa9e18b8, status=200)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTNet.c:314
#16 0x08396482 in HTNet_executeAfterAll (request=0xa9e18b8, status=200)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTNet.c:420
#17 0x083974a9 in HTNet_delete (net=0xa9ddeb8, status=200)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTNet.c:920
#18 0x0836aef1 in HTTPCleanup (req=0xa9e18b8, status=200)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTTP.c:176
#19 0x0836e15e in HTTPEvent (soc=20, pVoid=0xa9e0e70, type=HTEvent_READ)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTTP.c:1331
#20 0x08390f07 in HostEvent (soc=20, pVoid=0xa29f200, type=HTEvent_READ)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTHost.c:201
#21 0x08362cec in HTEventList_dispatch (s=20, type=HTEvent_READ, now=1308337999)
    at /home/urs/AmayaHEAD/Amaya/linux/../../libwww/Library/src/HTEvtLst.c:581
#22 0x08152708 in AHTCallback_bridgeWX (register_id=0, socket=20, condition=WXAMAYASOCKET_READ)
    at ../../amaya/AHTBridge.c:187
#23 0x081d5032 in wxAmayaSocketEvent::CheckSocketStatus (bloking_time=0)
    at ../../thotlib/base/wxAmayaSocketEvent.cpp:196
#24 0x081d5358 in wxAmayaSocketEventLoop::Notify (this=0xa2c10e8)
    at ../../thotlib/base/wxAmayaSocketEventLoop.cpp:82
#25 0x0845af65 in timeout_callback ()
#26 0xb792fcf6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#27 0xb792f731 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb79327a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#29 0xb7932b67 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#30 0xb7d34281 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x08507369 in wxEventLoop::Run ()
#32 0x084acb8d in wxAppBase::MainLoop ()
#33 0x0855b7ad in wxEntry ()
#34 0x081d2f08 in main (argc=Cannot access memory at address 0x467a408a
) at ../../thotlib/base/AmayaApp.cpp:42

Received on Thursday, 21 June 2007 11:15:33 UTC