Crash on ORDER BY in OQGRAPH v3
Bug #1133093 reported by
Arjen Lentz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OQGRAPH |
Fix Committed
|
Critical
|
OQgraph developers |
Bug Description
SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=6;
works
SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=6 ORDER BY seq;
segfaults.
Related branches
lp:~andymc73/maria/10.0-oqgraph3-varchar
- Maria-captains: Pending requested
Changed in oqgraph: | |
status: | Triaged → Fix Committed |
Changed in oqgraph: | |
status: | Fix Committed → In Progress |
Changed in oqgraph: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Looks like clobbered memory
#0 0x00007fb46af1f45c in __pthread_kill (threadid= <optimized out>, signo=<optimized out>) at ../nptl/ sysdeps/ unix/sysv/ linux/pthread_ kill.c: 63 develop/ maria/repo/ oqgraph- varchar/ mysys/stacktrac e.c:457 develop/ maria/repo/ oqgraph- varchar/ sql/signal_ handler. cc:262 :intrusive_ ptr_release (ptr=0xa5a5a5a5 a5a5a5a5) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ oqgraph_ thunk.h: 132 intrusive_ ptr<oqgraph3: :cursor> ::~intrusive_ ptr (this=0x7fb45d4 aae90, __in_chrg= <optimized out>) at /usr/include/ boost/smart_ ptr/intrusive_ ptr.hpp: 101 intrusive_ ptr<oqgraph3: :cursor> ::operator= (this=0x227d598, rhs=...) at /usr/include/ boost/smart_ ptr/intrusive_ ptr.hpp: 133 :cursor_ ptr::operator= (this=0x227d598) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ oqgraph_ thunk.h: 58 :edge_info: :operator= (this=0x227d598) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ oqgraph_ thunk.h: 68 :reference: :operator= (this=0x227d588) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ graphcore. cc:136 :stack_ cursor: :current (this=0x227a140, ref=...) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ graphcore. cc:274 :oqgraph: :row_ref (this=0x208f460, ref_ptr=0x227d588) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ graphcore. cc:948 :position (this=0x2277988, record=0x2278bf8 "\310\001\061") at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ storage/ oqgraph/ ha_oqgraph. cc:1020 0x7fb45d4ab490, select=0x2282d20, fs_info= 0x7fb45d4ab510, buffpek_ pointers= 0x7fb45d4ab150, tempfile= 0x7fb45d4ab2f0, pq=0x0, found_rows= 0x7fb45d4ab700) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ sql/filesort. cc:650 0x22837c8, s_length=1, select=0x2282d20, max_rows= 184467440737095 51615, sort_positions= false, examined_ rows=0x7fb45d4a b708, found_rows= 0x7fb45d4ab700) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ sql/filesort. cc:294 limit=184467440 73709551615, select_ limit=184467440 73709551615, is_order_by=true) at /home/andrew/ develop/ maria/repo/ oqgraph- varchar/ sql/sql_ select. cc:19220 develop/ maria/repo/ oqgraph- varchar/ sql/sql_ select. cc:2929 develop/ maria/repo/ oqgraph- varchar/ sql/sql_ select. cc:2255 array=0x2331a60 , tables=0x2382480, wild_num=1, fields=..., conds=0x2...
#1 0x0000000000dbbd72 in my_write_core (sig=11) at /home/andrew/
#2 0x00000000007e00b2 in handle_fatal_signal (sig=11) at /home/andrew/
#3 <signal handler called>
#4 0x00007fb45d7b8c9d in oqgraph3:
#5 0x00007fb45d7bb90f in boost::
#6 0x00007fb45d7bba34 in boost::
#7 0x00007fb45d7b8b8f in oqgraph3:
#8 0x00007fb45d7bad13 in oqgraph3:
#9 0x00007fb45d7bb41f in open_query:
#10 0x00007fb45d7bb45d in open_query:
#11 0x00007fb45d7b781c in open_query:
#12 0x00007fb45d7b2d62 in ha_oqgraph:
#13 0x00000000007dbe04 in find_all_keys (param=
#14 0x00000000007dad37 in filesort (thd=0x232e6a0, table=0x2276f90, sortorder=
#15 0x0000000000675c1c in create_sort_index (thd=0x232e6a0, join=0x23836f8, order=0x2383600, filesort_
#16 0x000000000064e157 in JOIN::exec_inner (this=0x23836f8) at /home/andrew/
#17 0x000000000064b6a7 in JOIN::exec (this=0x23836f8) at /home/andrew/
#18 0x000000000064ec3e in mysql_select (thd=0x232e6a0, rref_pointer_