drizzle client snowman segfault

Bug #617561 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Invalid
Low
Andrew Hutchings
Dexter
Invalid
Low
Andrew Hutchings
Drizzle Client & Protocol Library
Won't Fix
Undecided
Unassigned

Bug Description

Possibly related to bug #617558:

drizzle> select repeat('☃', 20000)\G
ERROR:
drizzle_state_read:lost connection to server (EOF)
drizzle> select rpad('hello', 10, '☃');
Segmentation fault

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

With GDB, marking as libdrizzle:

#0 0x00007ffff797b1ac in drizzle_state_loop (con=0x7fffffffbbb0)
    at libdrizzle/state.c:24
#1 0x00007ffff7977e3f in drizzle_column_read (result=0x7fffffffbbb0,
    column=0x679730, ret_ptr=0x7fffffffbb1c) at libdrizzle/column.c:481
#2 0x00007ffff7977f41 in drizzle_column_buffer (result=0x7fffffffbbb0)
    at libdrizzle/column.c:510
#3 0x00007ffff79769fc in drizzle_result_buffer (result=0x7fffffffbbb0)
    at libdrizzle/result.c:202
#4 0x0000000000419628 in drizzleclient_store_result_for_lazy (
    buffer=<value optimized out>) at client/drizzle.cc:2770
#5 com_go (buffer=<value optimized out>) at client/drizzle.cc:2897
#6 0x000000000041aeda in add_line (buffer=<value optimized out>,
    line=0x66e030 "select rpad('hello', 10, '☃');",
    in_string=0x7fffffffc85f "", ml_comment=0x7fffffffc85e)
    at client/drizzle.cc:2301
#7 0x000000000041b169 in read_and_execute (interactive=true)
    at client/drizzle.cc:2056
#8 0x0000000000420074 in main (argc=1, argv=0x7fffffffe298)
    at client/drizzle.cc:1837

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

move back to drizzle since libdrizzle merging in

Changed in libdrizzle:
status: New → Won't Fix
Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

Can't reproduce in latest trunk

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.