Mario Charest
09/25/2012 6:15 PM
post95808
|
I grabbed the latest gdb prototypes, on all executables that I tried I get a SIGSEGV as soon as it start, all at
_dl_debug_state 0xb0340721.
Assembly is :
b0340717: mov 0x1840(%ebx),%esi
b034071d: test %esi,%esi
b034071f: je 0xb0340830 <xstrerror+48>
b0340725: mov 0x4(%eax),%edi
b0340728: cmp %edi,%eax
b034072a: jne 0xb034074c <__ldd_run_all_handlers+12>
b034072c: jmp 0xb0340830 <xstrerror+48>
Strange that there is not instruction directly at b0340721
This is with gcc 4.4.2, 650SP1 on x86
Cheers,
|
|
|
Aleksandar Ristovski(deleted)
|
|
Aleksandar Ristovski(deleted)
09/25/2012 6:28 PM
post95810
|
Can you post "show version" from gdb
Sent from my BB
----- Original Message -----
From: Mario Charest [mailto:community-noreply@qnx.com]
Sent: Tuesday, September 25, 2012 06:15 PM
To: general-toolchain <general-toolchain@community.qnx.com>
Subject: gdb 7.2
I grabbed the latest gdb prototypes, on all executables that I tried I get a SIGSEGV as soon as it start, all at
_dl_debug_state 0xb0340721.
Assembly is :
b0340717: mov 0x1840(%ebx),%esi
b034071d: test %esi,%esi
b034071f: je 0xb0340830 <xstrerror+48>
b0340725: mov 0x4(%eax),%edi
b0340728: cmp %edi,%eax
b034072a: jne 0xb034074c <__ldd_run_all_handlers+12>
b034072c: jmp 0xb0340830 <xstrerror+48>
Strange that there is not instruction directly at b0340721
This is with gcc 4.4.2, 650SP1 on x86
Cheers,
_______________________________________________
General
http://community.qnx.com/sf/go/post95808
To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
|
|
|
Mario Charest
09/25/2012 6:58 PM
post95811
|
Sorry 7.2 was a typo:
GNU gdb (GDB) 7.4 qnx (rev. 690)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i386-mingw32msvc --target=i486-pc-nto-qnx6.5.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
> -----Message d'origine-----
> De : Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Envoyé : 25 septembre 2012 18:24
> À : 'general-toolchain@community.qnx.com'
> Objet : Re: gdb 7.2
>
> Can you post "show version" from gdb
>
>
>
> Sent from my BB
>
> ----- Original Message -----
> From: Mario Charest [mailto:community-noreply@qnx.com]
> Sent: Tuesday, September 25, 2012 06:15 PM
> To: general-toolchain <general-toolchain@community.qnx.com>
> Subject: gdb 7.2
>
> I grabbed the latest gdb prototypes, on all executables that I tried I get a
> SIGSEGV as soon as it start, all at _dl_debug_state 0xb0340721.
>
> Assembly is :
>
> b0340717: mov 0x1840(%ebx),%esi
> b034071d: test %esi,%esi
> b034071f: je 0xb0340830 <xstrerror+48>
> b0340725: mov 0x4(%eax),%edi
> b0340728: cmp %edi,%eax
> b034072a: jne 0xb034074c <__ldd_run_all_handlers+12>
> b034072c: jmp 0xb0340830 <xstrerror+48>
>
> Strange that there is not instruction directly at b0340721
>
> This is with gcc 4.4.2, 650SP1 on x86
>
> Cheers,
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95808
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95810
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com
|
|
|
Aleksandar Ristovski(deleted)
|
|
Aleksandar Ristovski(deleted)
09/25/2012 7:01 PM
post95812
|
I'd say you have a mismatch between /proc/boot/libc.so.3 and $QNX_TARGET/x86/lib/libc.so.3 (or if on windows. ..../usr/
lib/ldqnx.so.2)
Could you do use -i on them and see if they match?
Also, could you do
(gdb) maint info b
And backtrace when it crashes
Sent from my BB
----- Original Message -----
From: Mario Charest [mailto:community-noreply@qnx.com]
Sent: Tuesday, September 25, 2012 06:54 PM
To: general-toolchain@community.qnx.com <general-toolchain@community.qnx.com>
Subject: RE: gdb 7.2
Sorry 7.2 was a typo:
GNU gdb (GDB) 7.4 qnx (rev. 690)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i386-mingw32msvc --target=i486-pc-nto-qnx6.5.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
> -----Message d'origine-----
> De : Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Envoyé : 25 septembre 2012 18:24
> À : 'general-toolchain@community.qnx.com'
> Objet : Re: gdb 7.2
>
> Can you post "show version" from gdb
>
>
>
> Sent from my BB
>
> ----- Original Message -----
> From: Mario Charest [mailto:community-noreply@qnx.com]
> Sent: Tuesday, September 25, 2012 06:15 PM
> To: general-toolchain <general-toolchain@community.qnx.com>
> Subject: gdb 7.2
>
> I grabbed the latest gdb prototypes, on all executables that I tried I get a
> SIGSEGV as soon as it start, all at _dl_debug_state 0xb0340721.
>
> Assembly is :
>
> b0340717: mov 0x1840(%ebx),%esi
> b034071d: test %esi,%esi
> b034071f: je 0xb0340830 <xstrerror+48>
> b0340725: mov 0x4(%eax),%edi
> b0340728: cmp %edi,%eax
> b034072a: jne 0xb034074c <__ldd_run_all_handlers+12>
> b034072c: jmp 0xb0340830 <xstrerror+48>
>
> Strange that there is not instruction directly at b0340721
>
> This is with gcc 4.4.2, 650SP1 on x86
>
> Cheers,
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95808
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95810
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com
_______________________________________________
General
http://community.qnx.com/sf/go/post95811
To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
|
|
|
Mario Charest
09/26/2012 11:09 AM
post95842
|
Yes right on the money! I installed SP1 on the C drive but forgot to update the copy I used that is on a ram drive.
Thanks a bunch!
> -----Message d'origine-----
> De : Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Envoyé : 25 septembre 2012 19:01
> À : 'general-toolchain@community.qnx.com'
> Objet : RE: gdb 7.2
>
> I'd say you have a mismatch between /proc/boot/libc.so.3 and
> $QNX_TARGET/x86/lib/libc.so.3 (or if on windows. ..../usr/lib/ldqnx.so.2)
>
> Could you do use -i on them and see if they match?
>
> Also, could you do
> (gdb) maint info b
>
> And backtrace when it crashes
>
>
> Sent from my BB
>
> ----- Original Message -----
> From: Mario Charest [mailto:community-noreply@qnx.com]
> Sent: Tuesday, September 25, 2012 06:54 PM
> To: general-toolchain@community.qnx.com <general-
> toolchain@community.qnx.com>
> Subject: RE: gdb 7.2
>
> Sorry 7.2 was a typo:
>
> GNU gdb (GDB) 7.4 qnx (rev. 690)
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=i386-mingw32msvc --target=i486-pc-nto-
> qnx6.5.0".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
>
> > -----Message d'origine-----
> > De : Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> > Envoyé : 25 septembre 2012 18:24
> > À : 'general-toolchain@community.qnx.com'
> > Objet : Re: gdb 7.2
> >
> > Can you post "show version" from gdb
> >
> >
> >
> > Sent from my BB
> >
> > ----- Original Message -----
> > From: Mario Charest [mailto:community-noreply@qnx.com]
> > Sent: Tuesday, September 25, 2012 06:15 PM
> > To: general-toolchain <general-toolchain@community.qnx.com>
> > Subject: gdb 7.2
> >
> > I grabbed the latest gdb prototypes, on all executables that I tried I
> > get a SIGSEGV as soon as it start, all at _dl_debug_state 0xb0340721.
> >
> > Assembly is :
> >
> > b0340717: mov 0x1840(%ebx),%esi
> > b034071d: test %esi,%esi
> > b034071f: je 0xb0340830 <xstrerror+48>
> > b0340725: mov 0x4(%eax),%edi
> > b0340728: cmp %edi,%eax
> > b034072a: jne 0xb034074c <__ldd_run_all_handlers+12>
> > b034072c: jmp 0xb0340830 <xstrerror+48>
> >
> > Strange that there is not instruction directly at b0340721
> >
> > This is with gcc 4.4.2, 650SP1 on x86
> >
> > Cheers,
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post95808
> > To cancel your subscription to this discussion, please e-mail
> > general-toolchain- unsubscribe@community.qnx.com
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post95810
> > To cancel your subscription to this discussion, please e-mail
> > general-toolchain- unsubscribe@community.qnx.com
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95811
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com
>
>
>
>
>...
|
|
|
|