* Fwd: pthread in glibc 2.2.1
@ 2001-01-22 0:07 James McD
2001-01-22 0:07 ` James McD
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: James McD @ 2001-01-22 0:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
>From what I have seen the gdb bombs out on 90% of pthread programs as
well. This includes all platforms as far as I am aware. There is a fix
posted on bugzilla stating you need to recompile the gdb from the cvs tree
and that should fix. However I have had mixed luck.
Hope that helps somewhat!
Sincerely,
James McDermott
>
>Hi,
>even the simplest pthread-program dies with a bus error(see attachment)
>on my I2. glibc is 2.2.1(same for 2.1.97), kernel is 2.4.0-test9.
>Interesting enough I can't even get a core dump. Any starting points to
>track this down?
>Regards,
> -- Guido
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
[-- Attachment #2: pthread_create.c --]
[-- Type: text/plain, Size: 241 bytes --]
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
void *p;
{
return (void *) (p == NULL);
}
int main(argc, argv)
int argc;
char **argv;
{
pthread_t t;
exit(pthread_create(&t, NULL, task, NULL));
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Fwd: pthread in glibc 2.2.1
2001-01-22 0:07 Fwd: pthread in glibc 2.2.1 James McD
@ 2001-01-22 0:07 ` James McD
2001-01-22 0:07 ` James McD
2001-01-23 17:11 ` Ralf Baechle
2 siblings, 0 replies; 4+ messages in thread
From: James McD @ 2001-01-22 0:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
>From what I have seen the gdb bombs out on 90% of pthread programs as
well. This includes all platforms as far as I am aware. There is a fix
posted on bugzilla stating you need to recompile the gdb from the cvs tree
and that should fix. However I have had mixed luck.
Hope that helps somewhat!
Sincerely,
James McDermott
>
>Hi,
>even the simplest pthread-program dies with a bus error(see attachment)
>on my I2. glibc is 2.2.1(same for 2.1.97), kernel is 2.4.0-test9.
>Interesting enough I can't even get a core dump. Any starting points to
>track this down?
>Regards,
> -- Guido
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
[-- Attachment #2: pthread_create.c --]
[-- Type: text/plain, Size: 241 bytes --]
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
void *p;
{
return (void *) (p == NULL);
}
int main(argc, argv)
int argc;
char **argv;
{
pthread_t t;
exit(pthread_create(&t, NULL, task, NULL));
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Fwd: pthread in glibc 2.2.1
2001-01-22 0:07 Fwd: pthread in glibc 2.2.1 James McD
2001-01-22 0:07 ` James McD
@ 2001-01-22 0:07 ` James McD
2001-01-23 17:11 ` Ralf Baechle
2 siblings, 0 replies; 4+ messages in thread
From: James McD @ 2001-01-22 0:07 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
From what I have seen the gdb bombs out on 90% of pthread programs as
well. This includes all platforms as far as I am aware. There is a fix
posted on bugzilla stating you need to recompile the gdb from the cvs tree
and that should fix. However I have had mixed luck.
Hope that helps somewhat!
Sincerely,
James McDermott
>
>Hi,
>even the simplest pthread-program dies with a bus error(see attachment)
>on my I2. glibc is 2.2.1(same for 2.1.97), kernel is 2.4.0-test9.
>Interesting enough I can't even get a core dump. Any starting points to
>track this down?
>Regards,
> -- Guido
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
[-- Attachment #2: pthread_create.c --]
[-- Type: text/plain, Size: 241 bytes --]
#include <pthread.h>
#ifndef NULL
#define NULL (void*)0
#endif
static void *task(p)
void *p;
{
return (void *) (p == NULL);
}
int main(argc, argv)
int argc;
char **argv;
{
pthread_t t;
exit(pthread_create(&t, NULL, task, NULL));
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: pthread in glibc 2.2.1
2001-01-22 0:07 Fwd: pthread in glibc 2.2.1 James McD
2001-01-22 0:07 ` James McD
2001-01-22 0:07 ` James McD
@ 2001-01-23 17:11 ` Ralf Baechle
2 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2001-01-23 17:11 UTC (permalink / raw)
To: James McD; +Cc: linux-mips
> >even the simplest pthread-program dies with a bus error(see attachment)
> >on my I2. glibc is 2.2.1(same for 2.1.97), kernel is 2.4.0-test9.
> >Interesting enough I can't even get a core dump. Any starting points to
> >track this down?
Last I checked the kernel didn't dump core for multithreaded programs
since the core file's data structure doesn't support that yet.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-23 17:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-22 0:07 Fwd: pthread in glibc 2.2.1 James McD
2001-01-22 0:07 ` James McD
2001-01-22 0:07 ` James McD
2001-01-23 17:11 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox