Opened 10 years ago

Closed 10 years ago

Last modified 3 years ago

#553 closed defect (fixed)

search&query crashes after sorting database entries

Reported by: westram Owned by: westram
Priority: major Milestone: arb7.0
Component: Library (other) Version: SVN
Keywords: Cc:

Description

Reproduce:

  • run attached macro with demo.arb

Backtrace:

#0  0x00007ffff54d8b65 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff54dc6b0 in *__GI_abort () at abort.c:92
#2  0x00007ffff5513b3b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007ffff551dbf6 in malloc_printerr (action=3, str=0x7ffff55f3f28 "double free or corruption (fasttop)", ptr=<value optimized out>) at malloc.c:6287
#4  0x00007ffff55241d3 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#5  0x00000000006589c9 in CLEAR_QUERIED (gb_species=0xb08008, query=0xd894b0) at db_query.cxx:82
#6  0x000000000064e583 in perform_query_cb (query=0xd894b0, ext_query=EXT_QUERY_NONE) at db_query.cxx:1203
#7  0x00007ffff6eb7240 in StrictlyTypedCallback<void, AW_window*, long, long>::operator() (this=0xdd8798, p1=0xd7e870, p2=14193840, p3=0) at /home/ralf/ARB-bilbo/ARB.trunk.test/INCLUDE/cbtypes.h:117
#8  0x00007ffff6eb71bc in Callback_FVV<void, AW_window*>::operator() (this=0xdd8798, fixed=0xd7e870) at /home/ralf/ARB-bilbo/ARB.trunk.test/INCLUDE/cbtypes.h:172
#9  0x00007ffff6eb6fcc in AW_cb::run_callbacks (this=0xdd8790) at AW_cb_struct.cxx:148
#10 0x00000000006c8c1d in check_for_remote_command (aw_root=0xa0ad60, dib=...) at dbserver.cxx:193
#11 0x00000000006cf5d7 in remote_command_handler (awr=0xa0ad60, dib=...) at dbserver.cxx:221
#12 0x00000000006c8e2c in serve_db_interrupt (awr=0xa0ad60, dib=0xb98910) at dbserver.cxx:232
#13 0x00007ffff6ed983e in StrictlyTypedCallback<unsigned int, AW_root*, long, long>::operator() (this=0xb49020, p1=0xa0ad60, p2=12159248, p3=0) at /home/ralf/ARB-bilbo/ARB.trunk.test/INCLUDE/cbtypes.h:117
#14 0x00007ffff6ed96a2 in Callback_FVV<unsigned int, AW_root*>::operator() (this=0xb49020, fixed=0xa0ad60) at /home/ralf/ARB-bilbo/ARB.trunk.test/INCLUDE/cbtypes.h:172
#15 0x00007ffff6ed94b4 in AW_timer_cb_struct::callOrDelayIfDisabled (this=0xb49010) at AW_root.cxx:437
#16 0x00007ffff6ed880e in AW_timer_callback (aw_timer_cb_struct=0xb49010) at AW_root.cxx:451
#17 0x00007ffff65521cf in ?? () from /usr/lib/libXt.so.6
#18 0x00007ffff655230d in XtAppNextEvent () from /usr/lib/libXt.so.6
#19 0x00007ffff65448b3 in XtAppMainLoop () from /usr/lib/libXt.so.6
#20 0x00007ffff6ed8d60 in AW_root::main_loop (this=0xa0ad60) at AW_root.cxx:552
#21 0x0000000000519e0a in startup_gui (cl=..., error=...) at NT_main.cxx:910
#22 0x000000000051a131 in ARB_main (argc=4, argv=0x7fffffffe2e8) at NT_main.cxx:967
#23 0x00000000004f9e2f in main (argc=4, argv=0x7fffffffe2e8) at arb_main.cxx:10

Attachments (1)

_logged.amc (538 bytes) - added by westram 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by westram

comment:1 Changed 10 years ago by westram

  • Owner changed from devel to westram
  • Status changed from new to _started

comment:2 follow-up: Changed 10 years ago by westram

macro does not work (cannot execute 'sort_by_tree')

  • should warn during record

comment:3 in reply to: ↑ 2 Changed 10 years ago by westram

  • should warn during record

implemented by [12370]

comment:4 Changed 10 years ago by westram

maybe related crash:

  • run demo.arb
  • perform search
  • change either
    • 'that match' into 'that dont match' or
    • '=' into '!='
  • search again

comment:5 Changed 10 years ago by westram

comment:6 Changed 10 years ago by westram

  • Resolution set to fixed
  • Status changed from _started to closed

by [12371]

comment:7 Changed 9 years ago by westram

  • Milestone changed from arb6 to arb6.1

mark changes that got fixed after arb 6.0.x

comment:8 Changed 3 years ago by westram

  • Milestone changed from arb6.1 to arb7.0

Milestone renamed

Note: See TracTickets for help on using tickets.