[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823755: marked as done (pinpoint: segfaults on example)



Your message dated Wed, 18 Jan 2023 21:57:13 +0000
with message-id <E1pIGQj-00AOPh-7C@fasolo.debian.org>
and subject line Bug#823755: fixed in pinpoint 1:0.1.8-6
has caused the Debian Bug report #823755,
regarding pinpoint: segfaults on example
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
823755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823755
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: pinpoint
Version: 1:0.1.8-2
Severity: important
X-debbugs-CC: pkg-gnome-maintainers@lists.alioth.debian.org

Just running "pinpoint /usr/share/doc/pinpoint/examples/introduction.pin" shows the first slide,
and if I just wait or hit a key, I get a segfault.  The problem may be in the underlying
libraries, but could simply be a case of buffer overflow.

This machine uses gtk 3.20, and I could reproduce the crash on one that's still on 3.18.
Both are using libxcursor 1:1.1.14-1+b1.

(gdb) bt
#0  __GI___pthread_mutex_lock (mutex=0x21) at ../nptl/pthread_mutex_lock.c:68
#1  0x00007ffff313e44a in XrmQGetResource (db=0x63ecc0, names=names@entry=0x7fffffffd560, classes=classes@entry=0x7fffffffd570, pType=pType@entry=0x7fffffffd55c, 
    pValue=pValue@entry=0x7fffffffd580) at ../../src/Xrm.c:2549
#2  0x00007ffff311a796 in XGetDefault (dpy=dpy@entry=0x6284f0, prog=prog@entry=0x7fffeccba63d "Xcursor", name=name@entry=0x7fffeccba6cf "core") at ../../src/GetDflt.c:231
#3  0x00007fffeccb7748 in _XcursorGetDisplayInfo (dpy=0x6284f0) at ../../src/display.c:151
#4  0x00007fffeccb7789 in XcursorSupportsARGB (dpy=<optimized out>) at ../../src/display.c:297
#5  0x00007fffeccba121 in XcursorNoticeCreateBitmap (dpy=0x21, pid=140737488344416, width=4294956400, height=332) at ../../src/xlib.c:132
#6  0x00007ffff3114d01 in XCreatePixmap (dpy=0x6284f0, d=d@entry=245, width=width@entry=1, height=height@entry=1, depth=depth@entry=1) at ../../src/CrPixmap.c:61
#7  0x00007ffff245bbe4 in _gdk_x11_window_create_bitmap_surface (window=0x63f000, width=width@entry=1, height=height@entry=1)
    at /build/gtk+3.0-Ym2tpG/gtk+3.0-3.20.3/./gdk/x11/gdkwindow-x11.c:586
#8  0x00007ffff243ad82 in get_blank_cursor (display=0x635020) at /build/gtk+3.0-Ym2tpG/gtk+3.0-3.20.3/./gdk/x11/gdkcursor-x11.c:219
#9  _gdk_x11_display_get_cursor_for_type (display=0x635020, cursor_type=GDK_BLANK_CURSOR) at /build/gtk+3.0-Ym2tpG/gtk+3.0-3.20.3/./gdk/x11/gdkcursor-x11.c:270
#10 0x00007ffff6da6776 in clutter_stage_gdk_set_cursor_visible (stage_window=0x671120, cursor_visible=<optimized out>) at gdk/clutter-stage-gdk.c:545
#11 0x00007ffff6e0f384 in clutter_stage_hide_cursor (stage=0xb18d00) at clutter-stage.c:2724
#12 0x0000000000408123 in ?? ()
#13 0x00007ffff5806a53 in g_timeout_dispatch (source=0x142af50, callback=<optimized out>, user_data=<optimized out>) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:4577
#14 0x00007ffff5805fea in g_main_dispatch (context=0x65ac10) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3154
#15 g_main_context_dispatch (context=context@entry=0x65ac10) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3769
#16 0x00007ffff5806390 in g_main_context_iterate (context=context@entry=0x65ac10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3840
#17 0x00007ffff580643c in g_main_context_iteration (context=context@entry=0x65ac10, may_block=may_block@entry=1) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3901
#18 0x00007ffff6a86ccd in g_application_run (application=0x84d0f0, argc=0, argv=0x0) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./gio/gapplication.c:2381
#19 0x0000000000405101 in ?? ()
#20 0x00007ffff521b610 in __libc_start_main (main=0x404f40, argc=2, argv=0x7fffffffda38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffda28)
    at libc-start.c:291
#21 0x00000000004051d9 in ?? ()


a valgrind run would point to some unitialized mutex:

==8274== Use of uninitialised value of size 8
==8274==    at 0x745EA94: pthread_mutex_lock (pthread_mutex_lock.c:68)
==8274==    by 0x9826449: XrmQGetResource (Xrm.c:2549)
==8274==    by 0x9802795: XGetDefault (GetDflt.c:231)
==8274==    by 0xFD57747: _XcursorGetDisplayInfo (display.c:151)
==8274==    by 0xFD57788: XcursorSupportsARGB (display.c:297)
==8274==    by 0xFD5A120: XcursorNoticeCreateBitmap (xlib.c:132)
==8274==    by 0x97FCD00: XCreatePixmap (CrPixmap.c:61)
==8274==    by 0xA5BABE3: _gdk_x11_window_create_bitmap_surface (gdkwindow-x11.c:586)
==8274==    by 0xA599D81: get_blank_cursor (gdkcursor-x11.c:219)
==8274==    by 0xA599D81: _gdk_x11_display_get_cursor_for_type (gdkcursor-x11.c:270)
==8274==    by 0x5B95775: clutter_stage_gdk_set_cursor_visible (in /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0.2600.0)
==8274==    by 0x5BFE383: clutter_stage_hide_cursor (in /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0.2600.0)
==8274==    by 0x408122: ??? (in /usr/bin/pinpoint)
==8274==
==8274== Invalid read of size 4
==8274==    at 0x745EA94: pthread_mutex_lock (pthread_mutex_lock.c:68)
==8274==    by 0x9826449: XrmQGetResource (Xrm.c:2549)
==8274==    by 0x9802795: XGetDefault (GetDflt.c:231)
==8274==    by 0xFD57747: _XcursorGetDisplayInfo (display.c:151)
==8274==    by 0xFD57788: XcursorSupportsARGB (display.c:297)
==8274==    by 0xFD5A120: XcursorNoticeCreateBitmap (xlib.c:132)
==8274==    by 0x97FCD00: XCreatePixmap (CrPixmap.c:61)
==8274==    by 0xA5BABE3: _gdk_x11_window_create_bitmap_surface (gdkwindow-x11.c:586)
==8274==    by 0xA599D81: get_blank_cursor (gdkcursor-x11.c:219)
==8274==    by 0xA599D81: _gdk_x11_display_get_cursor_for_type (gdkcursor-x11.c:270)
==8274==    by 0x5B95775: clutter_stage_gdk_set_cursor_visible (in /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0.2600.0)
==8274==    by 0x5BFE383: clutter_stage_hide_cursor (in /usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0.2600.0)
==8274==    by 0x408122: ??? (in /usr/bin/pinpoint)
==8274==  Address 0x10 is not stack'd, malloc'd or (recently) free'd

--- End Message ---
--- Begin Message ---
Source: pinpoint
Source-Version: 1:0.1.8-6
Done: Jochen Sprickerhof <jspricke@debian.org>

We believe that the bug you reported is fixed in the latest version of
pinpoint, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 823755@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspricke@debian.org> (supplier of updated pinpoint package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 18 Jan 2023 22:40:05 +0100
Source: pinpoint
Architecture: source
Version: 1:0.1.8-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Jochen Sprickerhof <jspricke@debian.org>
Closes: 823755
Changes:
 pinpoint (1:0.1.8-6) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Ondřej Nový ]
   * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP
   * d/copyright: Change Format URL to correct one
 .
   [ Debian Janitor ]
   * Bump debhelper from old 11 to 13.
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Contact, Repository-Browse.
   * Update standards version to 4.1.5, no changes needed.
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
 .
   [ Jochen Sprickerhof ]
   * Add patch to fix segfault.
     Thanks to Andrew Donnellan (Closes: #823755)
   * Add R³
   * Update build dependency name
Checksums-Sha1:
 d4731388e3878ede0126e232c35a9ea672910135 2069 pinpoint_0.1.8-6.dsc
 52ae43aca07f58edc8f982973eceea94cfeae11d 8696 pinpoint_0.1.8-6.debian.tar.xz
 bdb1e13dd429eaefb268679782687c6369a77862 6074 pinpoint_0.1.8-6_source.buildinfo
Checksums-Sha256:
 8c47aa94388411dc0292a2551f5dbb5ac19226c525f86b8d6a59b1244bc5afd1 2069 pinpoint_0.1.8-6.dsc
 b6444678720c275c9f7019f8a6749d43cf87bbbc6f4200090de42b8389b55dc9 8696 pinpoint_0.1.8-6.debian.tar.xz
 0face3757a66f387b13a384c3876e33245f08f031420f3fb975163584ccc60cd 6074 pinpoint_0.1.8-6_source.buildinfo
Files:
 150b8752e0a6a15fb27f1c5a8806947d 2069 x11 optional pinpoint_0.1.8-6.dsc
 1f5308bb23d3f6dbb84f9a7db76e7724 8696 x11 optional pinpoint_0.1.8-6.debian.tar.xz
 2eedd1e181003d3de82d4b25067eb0d9 6074 x11 optional pinpoint_0.1.8-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmPIaCcACgkQW//cwljm
lDPUuw//QiWD4BjCNRpWzl8QAoKA1VkEA+OWyfMxe8nNLQxfa+UO4/o+sDT5n7jJ
EwBrovBE49SW97tjKHk9bdVnOm6sSWbp9rAYOPKoUGSPQSPn9T14XqPMYij9iyvh
8GW7/LR44DqXlhzNVa0Ya1C18iY7HttWJCm8FU05gTORpOTJEf8zjtdx19W01eYE
sG6XWNO5h1lyR5fbXigUmJM4e0MugtxWfMiJtiPdRUCphi7k4+P7o5lupLP+3iWo
6HyoEhU7qMAr+0xbiwE7a+b3WIDYFEOX6AvN+DkEmpdqTVNUtOeaM2BbpGkA5kPX
J6VLCUFD0DzO7SXqnoTmKKWA4p7CIzIY62W+94RBFjx3mtiu0o/SQmRdvgUdhGt/
jXBUr7qoWh5sPVIIxVNJ8O39bLYc2PEx97XinfO/e7QQGdd6dPW1hHjXjji23GD5
bg8WAjVubUlUXgyQIZjAP+iAfFuctnGLLLKK//vRlrzEOl6zn5oiQ/CZhlmLMs1K
DI5c7CvVfjazPKY6NAIXmPJYyP/M/Jub0RBWj080qJs2DB7aRAyzI2YHKbVmdPhi
i0JdHqyz3FfceukB1NtuBddCC2YQAXg2VYkuUwFAr3v0mTAp9OuBq31XehgdLbv0
fZr9LoPhTB2zKU9LAh46q1L/qIKd8lr0OyAG9ma9q+EpEMVEdCk=
=1n2p
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: