FreeBSD Bugzilla – Attachment 156468 Details for
Bug 200001
devel/gdb: gdb 7.9 crashes on certain core files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
C source
foo.c (text/plain), 312 bytes, created by
wjenkner
on 2015-05-07 13:08:39 UTC
(
hide
)
Description:
C source
Filename:
MIME Type:
Creator:
wjenkner
Created:
2015-05-07 13:08:39 UTC
Size:
312 bytes
patch
obsolete
>#include <pthread.h> >#include <stdlib.h> >#include <unistd.h> > >int die = 0; > >void * >foo_thread (void *arg) >{ > while (!die) > sleep(1); > abort(); > > /* Not reached. */ > return (NULL); >} > >int >main () >{ > pthread_t tid; > > pthread_create(&tid, NULL, foo_thread, NULL); > die = 1; > > while (1) > sleep(1); > > return (0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 200001
:
156437
| 156468 |
156667
|
157220