-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi,
when using the search.py script, if the returned content is some longer text it always crashes lighthouse for me when I move the selection to the long entry. I build a debug version and got this stacktrace by interrupting;
I saw it happen on multiple occasions but it always ends up in the cairo_text_extents() method. I am not familiar with cairo so I haven't figured out yet what the real issue is.
Program received signal SIGINT, Interrupt.
0x00007ffff7048b40 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007ffff7048b40 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#1 0x00007ffff73283f6 in ?? () from /usr/lib/libcairo.so.2
#2 0x00007ffff73297a7 in ?? () from /usr/lib/libcairo.so.2
#3 0x00007ffff72c9572 in ?? () from /usr/lib/libcairo.so.2
#4 0x00007ffff72c9a62 in cairo_scaled_font_text_to_glyphs () from /usr/lib/libcairo.so.2
#5 0x00007ffff7280b99 in cairo_text_extents () from /usr/lib/libcairo.so.2
#6 0x0000000000404482 in get_characters_cairo (cr=0x620770, c=0x7fffffffd9a8, data=0x7fffffffd938,
data_length=0x7fffffffd934, line_length=0) at src/results.c:90
#7 0x0000000000404540 in parse_result_line (cr=cr@entry=0x620770, c=c@entry=0x7fffffffd9a8,
line_length=<optimized out>, modifiers_array=modifiers_array@entry=0x7fffffffd9a0)
at src/results.c:255
#8 0x0000000000405649 in draw_desc (foreground=0x60d750 <settings+48>,
background=0x60d75c <settings+60>, text=<optimized out>, cr=0x620770) at src/display.c:512
#9 draw_result_text (connection=connection@entry=0x616b20, window=window@entry=10485760,
cr=cr@entry=0x620770, surface=surface@entry=0x620350, results=0x7fffec0085c0) at src/display.c:611
#10 0x0000000000403c90 in process_key_stroke (to_write=0x6168d0, cairo_surface=0x620350,
cairo_context=0x620770, connection=0x616b20, modifier_mask=<optimized out>, key=<optimized out>,
query_cursor_index=<synthetic pointer>, query_index=<synthetic pointer>,
query_buffer=0x7fffffffdcf0 "feh", window=10485760) at src/lighthouse.c:263
#11 main (argc=<optimized out>, argv=<optimized out>) at src/lighthouse.c:936
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels