Bug 162093 - [maintainer-update] devel/gdb: Segmentation fault running simple pthreads program
Summary: [maintainer-update] devel/gdb: Segmentation fault running simple pthreads pro...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 15:30 UTC by luca.pizzamiglio
Modified: 2011-11-06 18:30 UTC (History)
0 users

See Also:


Attachments
file.diff (842 bytes, patch)
2011-10-28 15:30 UTC, luca.pizzamiglio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description luca.pizzamiglio 2011-10-28 15:30:08 UTC
gdb 7.3.1 crashes (segmentation fault) when you try to debug a multithread
application. This patch solves this serious stability bug.

gdb 7.x versions are important, because advanced IDEs (like KDevelop 4)
require at least gdb 7, they doesn't work with gdb 6.

Fix: Patch attached with submission follows:
Comment 1 Olli Hauer freebsd_committer freebsd_triage 2011-11-06 17:53:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ohauer

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-11-06 18:12:41 UTC
ohauer      2011-11-06 18:12:32 UTC

  FreeBSD ports repository

  Modified files:
    devel/gdb            Makefile 
    devel/gdb/files      fbsd-threads.c 
  Log:
  - fix segfault if debugging a multithread application
  - bump PORTREVISION
  - small portlint fixes
  
  PR:             ports/162093
  Submitted by:   Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.10      +6 -5      ports/devel/gdb/Makefile
  1.2       +8 -3      ports/devel/gdb/files/fbsd-threads.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2011-11-06 18:19:48 UTC
State Changed
From-To: open->closed

Committed, Thanks!