On 07/09/18 19:00, Andrew Donnellan wrote:
On 07/09/18 17:23, Andrew Donnellan wrote:
Hi there,
I'm also seeing this segfault.
I should add that I'm observing this when I'm using the mouse to click
through slides - if I don't click and only use the keyboard things seem
to work. This is different from what the original reporter saw.
After installing all the debug symbols required, I see the following gdb
backtrace and valgrind output:
(gdb) run /usr/share/doc/pinpoint/examples/introduction.pin
Starting program: /usr/bin/pinpoint
/usr/share/doc/pinpoint/examples/introduction.pin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe77d7700 (LWP 32504)]
[New Thread 0x7fffe6fd6700 (LWP 32505)]
Thread 1 "pinpoint" received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:67
67 ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb) bt
#0 __GI___pthread_mutex_lock (mutex=0x20) at
../nptl/pthread_mutex_lock.c:67
#1 0x00007ffff41f325a in XrmQGetResource () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007ffff41cf6e6 in XGetDefault () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007fffede27682 in _XcursorGetDisplayInfo () from
/usr/lib/x86_64-linux-gnu/libXcursor.so.1
#4 0x00007fffede276d9 in XcursorSupportsARGB () from
/usr/lib/x86_64-linux-gnu/libXcursor.so.1
#5 0x00007fffede2a171 in XcursorNoticeCreateBitmap () from
/usr/lib/x86_64-linux-gnu/libXcursor.so.1
#6 0x00007ffff41c9c71 in XCreatePixmap () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff4a6a1c4 in _gdk_x11_window_create_bitmap_surface
(window=0x55555579a020, width=width@entry=1, height=height@entry=1) at
././gdk/x11/gdkwindow-x11.c:586
#8 0x00007ffff4a471f2 in get_blank_cursor (display=0x555555790110) at
././gdk/x11/gdkcursor-x11.c:219
#9 _gdk_x11_display_get_cursor_for_type (display=0x555555790110,
cursor_type=GDK_BLANK_CURSOR) at ././gdk/x11/gdkcursor-x11.c:270
#10 0x00007ffff6d75966 in clutter_stage_gdk_set_cursor_visible
(stage_window=0x5555557902b0, cursor_visible=<optimized out>) at
gdk/clutter-stage-gdk.c:552
#11 0x00007ffff6dde1b4 in clutter_stage_hide_cursor
(stage=0x555555bff200) at clutter-stage.c:2724
#12 0x000055555555c863 in hide_cursor_cb (stage=<optimized out>) at
pp-clutter.c:327
#13 0x00007ffff57bb123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff57ba6aa in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff57baa60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff57bab0c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff6a3972d in g_application_run () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#18 0x0000555555559672 in main (argc=<optimized out>, argv=<optimized
out>) at pinpoint.c:271
----------------------------------------------------------
==31771== Use of uninitialised value of size 8
==31771== at 0x74AAB20: pthread_mutex_lock (pthread_mutex_lock.c:67)
==31771== by 0x8774259: XrmQGetResource (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x87506E5: XGetDefault (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0xEBE7681: _XcursorGetDisplayInfo (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBE76D8: XcursorSupportsARGB (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBEA170: XcursorNoticeCreateBitmap (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0x874AC70: XCreatePixmap (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x7FA41C3: _gdk_x11_window_create_bitmap_surface
(gdkwindow-x11.c:586)
==31771== by 0x7F811F1: get_blank_cursor (gdkcursor-x11.c:219)
==31771== by 0x7F811F1: _gdk_x11_display_get_cursor_for_type
(gdkcursor-x11.c:270)
==31771== by 0x5BC7965: clutter_stage_gdk_set_cursor_visible
(clutter-stage-gdk.c:552)
==31771== by 0x5C301B3: clutter_stage_hide_cursor (clutter-stage.c:2724)
==31771== by 0x110862: hide_cursor_cb (pp-clutter.c:327)
==31771==
==31771== Invalid read of size 4
==31771== at 0x74AAB20: pthread_mutex_lock (pthread_mutex_lock.c:67)
==31771== by 0x8774259: XrmQGetResource (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x87506E5: XGetDefault (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0xEBE7681: _XcursorGetDisplayInfo (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBE76D8: XcursorSupportsARGB (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBEA170: XcursorNoticeCreateBitmap (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0x874AC70: XCreatePixmap (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x7FA41C3: _gdk_x11_window_create_bitmap_surface
(gdkwindow-x11.c:586)
==31771== by 0x7F811F1: get_blank_cursor (gdkcursor-x11.c:219)
==31771== by 0x7F811F1: _gdk_x11_display_get_cursor_for_type
(gdkcursor-x11.c:270)
==31771== by 0x5BC7965: clutter_stage_gdk_set_cursor_visible
(clutter-stage-gdk.c:552)
==31771== by 0x5C301B3: clutter_stage_hide_cursor (clutter-stage.c:2724)
==31771== by 0x110862: hide_cursor_cb (pp-clutter.c:327)
==31771== Address 0x10 is not stack'd, malloc'd or (recently) free'd
==31771==
==31771==
==31771== Process terminating with default action of signal 11 (SIGSEGV)
==31771== Access not within mapped region at address 0x10
==31771== at 0x74AAB20: pthread_mutex_lock (pthread_mutex_lock.c:67)
==31771== by 0x8774259: XrmQGetResource (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x87506E5: XGetDefault (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0xEBE7681: _XcursorGetDisplayInfo (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBE76D8: XcursorSupportsARGB (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0xEBEA170: XcursorNoticeCreateBitmap (in
/usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2)
==31771== by 0x874AC70: XCreatePixmap (in
/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31771== by 0x7FA41C3: _gdk_x11_window_create_bitmap_surface
(gdkwindow-x11.c:586)
==31771== by 0x7F811F1: get_blank_cursor (gdkcursor-x11.c:219)
==31771== by 0x7F811F1: _gdk_x11_display_get_cursor_for_type
(gdkcursor-x11.c:270)
==31771== by 0x5BC7965: clutter_stage_gdk_set_cursor_visible
(clutter-stage-gdk.c:552)
==31771== by 0x5C301B3: clutter_stage_hide_cursor (clutter-stage.c:2724)
==31771== by 0x110862: hide_cursor_cb (pp-clutter.c:327)
--
Andrew Donnellan OzLabs, ADL Canberra
[email protected] IBM Australia Limited