Page MenuHomePhabricator

Crash with GTK
Closed, ResolvedPublic

Description

Happens if you move in the menus (open transmission > File and move the mouse around)

      Signal: 11 (SEGV)
   Timestamp: Sun 2016-05-01 13:03:17 EEST (1min 41s ago)
Command Line: /usr/bin/enlightenment
  Executable: /usr/bin/enlightenment

Control Group: /

     Slice: -.slice
   Boot ID: 042a8b019fd44fe09ddc9945e3ce30d7
Machine ID: 77c42d073644466287ad3d7a519e810c
  Hostname: testland
  Coredump: /var/lib/systemd/coredump/core.enlightenment.1000.042a8b019fd44fe09ddc9945e3ce30d7.7713.1462096997000000000000.lz4
   Message: Process 7713 (enlightenment) of user 1000 dumped core.

            Stack trace of thread 7715:
            #0  0x00000000b729006b evas_common_scale_rgba_sample_draw (libevas.so.1)
            #1  0x00000000b72d0316 _draw_thread_image_draw (libevas.so.1)
            #2  0x00000000b729d871 evas_thread_worker_func (libevas.so.1)
            #3  0x00000000b74157e2 _eina_internal_call (libeina.so.1)
            #4  0x00000000b6ec9291 start_thread (libpthread.so.0)
            #5  0x00000000b6c5dd7e __clone (libc.so.6)

            Stack trace of thread 7717:
            #0  0x00000000b77d0d8d __kernel_vsyscall (linux-gate.so.1)
            #1  0x00000000b6c566d5 __select (libc.so.6)
            #2  0x00000000b70f7f18 _timer_tick_core (libecore.so.1)
            #3  0x00000000b710981c _ecore_direct_worker (libecore.so.1)
            #4  0x00000000b74157e2 _eina_internal_call (libeina.so.1)
            #5  0x00000000b6ec9291 start_thread (libpthread.so.0)
            #6  0x00000000b6c5dd7e __clone (libc.so.6)

            Stack trace of thread 7713:
            #0  0x00000000b77d0d8d __kernel_vsyscall (linux-gate.so.1)
            #1  0x00000000b6ed209f read (libpthread.so.0)
            #2  0x00000000b71f52f7 _evas_async_events_process_single (libevas.so.1)
            #3  0x00000000b71f555a evas_async_events_process_blocking (libevas.so.1)
            #4  0x00000000b71ea92d evas_render_rendering_wait (libevas.so.1)
            #5  0x00000000b71ee6aa _evas_canvas_sync (libevas.so.1)
            #6  0x00000000b7171b7f evas_canvas_sync (libevas.so.1)
            #7  0x00000000b71747e7 evas_sync (libevas.so.1)
            #8  0x00000000b4a7dcf6 _ecore_evas_drm_hide (module.so)
            #9  0x00000000b70d394e ecore_evas_hide (libecore_evas.so.1)
            #10 0x00000000b4a83e80 _e_mod_drm_cb_activate (module.so)
            #11 0x00000000b70f9f4d _ecore_call_handler_cb (libecore.so.1)
            #12 0x00000000b70fae22 _ecore_event_call (libecore.so.1)
            #13 0x00000000b71039b2 _ecore_main_loop_iterate_internal (libecore.so.1)
            #14 0x00000000b7101bb6 ecore_main_loop_begin (libecore.so.1)
            #15 0x000000000807a0d9 main (enlightenment)
            #16 0x00000000b6b8f527 __libc_start_main (libc.so.6)
            #17 0x0000000008074741 _start (enlightenment)

GNU gdb (GDB) 7.11

GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/enlightenment...Reading symbols from /usr/lib/debug/usr/bin/enlightenment.debug...done.
done.
[New LWP 7715]
[New LWP 7717]
[New LWP 7713]

warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/enlightenment'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb729006b in evas_common_scale_rgba_sample_draw (src=0x8f70e70, dst=0x9007be8, dst_clip_x=6, dst_clip_y=7, dst_clip_w=10, dst_clip_h=8, mul_col=4294967295, render_op=0, src_region_x=0, src_region_y=0, src_region_w=188,

src_region_h=148, dst_region_x=6, dst_region_y=7, dst_region_w=10, dst_region_h=8, mask_ie=0x0, mask_x=0, mask_y=0) at lib/evas/common/evas_scale_sample.c:443

443 *dst_ptr = *ptr;
[Current thread is 1 (Thread 0xb52c8b40 (LWP 7715))]
(gdb) bt
#0 0xb729006b in evas_common_scale_rgba_sample_draw (src=0x8f70e70, dst=0x9007be8, dst_clip_x=6, dst_clip_y=7, dst_clip_w=10, dst_clip_h=8, mul_col=4294967295, render_op=0, src_region_x=0, src_region_y=0, src_region_w=188,

src_region_h=148, dst_region_x=6, dst_region_y=7, dst_region_w=10, dst_region_h=8, mask_ie=0x0, mask_x=0, mask_y=0) at lib/evas/common/evas_scale_sample.c:443

#1 0xb72d0316 in _draw_thread_image_draw (data=0x90ba078) at modules/evas/engines/software_generic/evas_engine.c:2144
#2 0xb729d871 in evas_thread_worker_func (data=0x0, thread=3039595328) at lib/evas/common/evas_thread_render.c:110
#3 0xb74157e2 in _eina_internal_call (context=0x8a74d10) at lib/eina/eina_thread.c:125
#4 0xb6ec9291 in start_thread () from /usr/lib/libpthread.so.0
#5 0xb6c5dd7e in clone () from /usr/lib/libc.so.6
(gdb)

And one more thing. On X if you click on the gear on the bottom left the menus stay in the screnn boundaries while on wayland they are outside meaning you cant access items.

ApB created this task.May 1 2016, 3:07 AM

Unable to reproduce this one.

Also, the bit at the bottom about menus outside screen bounds is a well known wayland issue currently being worked on.

Apps don't know they're near the screen edge under wayland.