public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed.
[not found] <bug-24454-4717@http.sourceware.org/bugzilla/>
@ 2021-09-10 19:35 ` mehmetgelisin at aol dot com
2021-10-19 7:14 ` progonsaytu at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: mehmetgelisin at aol dot com @ 2021-09-10 19:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24454
Mehmet gelisin <mehmetgelisin at aol dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mehmetgelisin at aol dot com
--- Comment #13 from Mehmet gelisin <mehmetgelisin at aol dot com> ---
#include <locale.h>
#include <stdio.h>
#include <wchar.h>
int
main(void)
{
setlocale(LC_ALL, "");
fgetwc(stdin);
return 0;
} https://komiya-dental.com/
---
$ gcc -o poc poc.c
$ python -c 'print 13*"\t"' | LC_CTYPE=en_US.UTF-8 ./poc
Segmentation fault
$ python -c 'print 13*"\t"' | LC_CTYPE=POSIX ./poc
$ _
It means that I have to enter around 13 tabulator characters to trigger the
issue, but it won't hurt to add a few more. I was able to reproduce this on
other distributions with glibc 2.24, so I don't think that it's specific to one
of them.
Also, this issue only happens with an LC_CTYPE of an UTF-8 locale. I have
tested en_US and de_DE, which both trigger this issue. With POSIX or C, the
segmentation fault is not triggered.
I hope this helps you to track down this bug, as I was unable to figure out the
flush mechanisms in glibc in a reasonable time. :)
The stack trace on my system with glibc 2.24 looks like this:
http://www.iu-bloomington.com/
(gdb) bt
#0 __GI__IO_wfile_sync (fp=0xb77295a0 <_IO_2_1_stdin_>) at wfileops.c:534
#1 0xb75e2bc6 in _IO_default_setbuf (fp=0xb77295a0 <_IO_2_1_stdin_>, p=0x0,
len=0) at genops.c:523
#2 0xb75df2e2 in _IO_new_file_setbuf (fp=0xb77295a0 <_IO_2_1_stdin_>, p=0x0,
len=0) at fileops.c:459 https://www.webb-dev.co.uk/
#3 0xb75e3516 in _IO_unbuffer_all () at genops.c:921
#4 _IO_cleanup () at genops.c:966
#5 0xb75a5632 in __run_exit_handlers (status=0, listp=0xb77293dc
<__exit_funcs>, run_list_atexit=true, run_dtors=true) at exit.c:96
#6 0xb75a56f1 in __GI_exit (status=0) at exit.c:105
#7 0xb758f1b2 in __libc_start_main (main=0x804846b <main>, argc=1,
argv=0xbfef4004, init=0x80484b0 <__libc_csu_init>, fini=0x8048510
<__libc_csu_fini>,
rtld_fini=0xb774d7a0 <_dl_fini>, stack_end=0xbfef3ffc) at
../csu/libc-start.c:323 https://waytowhatsnext.com/
#include <locale.h>
#include <stdio.h>
#include <wchar.h>
int
main(void) http://www.acpirateradio.co.uk/
{
setlocale(LC_ALL, "");
fgetwc(stdin);
return 0;
}
---
$ gcc -o poc poc.c
$ python -c 'print 13*"\t"' | LC_CTYPE=en_US.UTF-8 ./poc
Segmentation fault
$ python -c 'print 13*"\t"' | LC_CTYPE=POSIX ./poc
$ _ http://www.logoarts.co.uk/
It means that I have to enter around 13 tabulator characters to trigger the
issue, but it won't hurt to add a few more. I was able to reproduce this on
other distributions with glibc 2.24, so I don't think that it's specific to one
of them.
Also, this issue only happens with an LC_CTYPE of an UTF-8 locale. I have
tested en_US and de_DE, which both trigger this issue. With POSIX or C, the
http://www.slipstone.co.uk/ segmentation fault is not triggered.
I hope this helps you to track down this bug, as I was unable to figure out the
flush mechanisms in glibc in a reasonable time. :) http://embermanchester.uk/
The stack trace on my system with glibc 2.24 looks like this:
http://connstr.net/
(gdb) bt
#0 __GI__IO_wfile_sync (fp=0xb77295a0 <_IO_2_1_stdin_>) at wfileops.c:534
http://joerg.li/
#1 0xb75e2bc6 in _IO_default_setbuf (fp=0xb77295a0 <_IO_2_1_stdin_>, p=0x0,
len=0) at genops.c:523
#2 0xb75df2e2 in _IO_new_file_setbuf (fp=0xb77295a0 <_IO_2_1_stdin_>, p=0x0,
http://www.jopspeech.com/ len=0) at fileops.c:459
#3 0xb75e3516 in _IO_unbuffer_all () at genops.c:921
#4 _IO_cleanup () at genops.c:966 http://www.wearelondonmade.com/
#5 0xb75a5632 in __run_exit_handlers (status=0, listp=0xb77293dc
<__exit_funcs>, run_list_atexit=true, run_dtors=true) at exit.c:96
#6 0xb75a56f1 in __GI_exit (status=0) at exit.c:105
http://www.compilatori.com/
#7 0xb758f1b2 in __libc_start_main (main=0x804846b <main>, argc=1,
argv=0xbfef4004, init=0x80484b0 <__libc_csu_init>, fini=0x8048510
<__libc_csu_fini>, http://www-look-4.com/
rtld_fini=0xb774d7a0 <_dl_fini>, stack_end=0xbfef3ffc) at
../csu/libc-start.c:323
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed.
[not found] <bug-24454-4717@http.sourceware.org/bugzilla/>
2021-09-10 19:35 ` [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed mehmetgelisin at aol dot com
@ 2021-10-19 7:14 ` progonsaytu at gmail dot com
2021-10-19 7:31 ` mark at klomp dot org
2021-10-24 10:03 ` glassmtech at ukr dot net
3 siblings, 0 replies; 4+ messages in thread
From: progonsaytu at gmail dot com @ 2021-10-19 7:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24454
progonsaytu <progonsaytu at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |progonsaytu at gmail dot com
--- Comment #14 from progonsaytu <progonsaytu at gmail dot com> ---
https://www.ремонты-квартир.com/
https://www.дизайн-квартиры.com/
https://www.о-ремонте.com/
https://www.о-заборах.com/
https://www.bsegypt.com/
https://www.buyingrealty.net/
https://www.khersonnews.com/
https://www.kontrolstroy.info/
https://www.sama-mama.com/
https://www.secretovnet.org/
https://www.teleriko.com/
https://www.us-best-store.com/
https://www.віктор.com/
https://www.accord-hotel.ru/
https://releazer.ru/
https://www.a-n-e-k-d-o-t.ru/
https://www.adhan.ru/
http://www.al-aures.ru/
https://www.apriori-design.ru/
http://artdoski.ru/
https://www.bombusmod.net.ru/
https://www.canadianahealthandcaremallreviews.ru/
https://www.celestiaproject.ru/
https://www.cryptogu.ru/
https://www.downloadskypefree.ru/
https://www.encyclopedia-flowers.ru/
https://www.factura.net.ru/
http://freewizards.ru/
http://futurefactory.ru/
https://glina-med.ru/
http://google-dmoz.ru/
http://iix.su/
https://www.imperia51.ru/
https://www.info-tehnologii.ru/
https://www.kvartira-v-bolgarii.ru/
https://ljubi-i-pozdravljaj.ru/
https://www.majesticarticles.ru/
https://www.onlinecredit247.ru/
https://www.orfey.net.ru/
https://www.pgpk.net.ru/
https://www.rainbow.net.ru/
http://www.rainbowbaby.ru/
http://www.respublika-okon.ru/
https://ribku-lovim.ru/
http://rusorchestra.ru/
http://shmoscow.ru/
https://www.skifspb.ru/
https://www.spare.net.ru/
https://www.stranainform.ru/
https://www.taxi-smile.ru/
https://www.tkanishik.ru/
http://www.tremulous.net.ru/
https://trust-women.ru/
http://uralbel.ru/
https://www.yar-art-union.ru/
https://www.xn----7sbcngq4awkg0k.xn--p1ai/
https://www.xn----7sbbmgbytlh3a0ll.xn--p1ai/
https://www.xn--35-mlcuxidl.xn--p1ai/
https://www.xn--f1addf1alkk1d.xn--p1ai/
https://www.history-of-great-discoveries.com/
https://www.it-business-trends.com
https://www.interesting-history-of-art.com
https://www.interesting-news-about-cars.com
https://www.architecture-and-design-news.com
https://history-of-great-discoveries.blogspot.com/
https://it-business-trends.blogspot.com/
https://interesting-history-of-art.blogspot.com/
https://interesting-news-about-cars.blogspot.com/
https://architecture-and-design-news.blogspot.com/
https://www.secretovnet.org/archives/18806
https://www.secretovnet.org/archives/17685
https://www.secretovnet.org/archives/17683
https://www.secretovnet.org/archives / 17681
https://www.secretovnet.org/archives/13740
https://www.secretovnet.org/archives/13737
https://www.secretovnet.org/archives/13734
https://www.secretovnet.org / archives / 13732
https://www.secretovnet.org/archives/13729
https://www.secretovnet.org/archives/17679
https://www.secretovnet.org/archives/17677
https://www.secretovnet .org / archives / 17675
https://www.secretovnet.org/archives/17670
https://www.secretovnet.org/archives/17667
https://www.secretovnet.org/archives/18686
https://www.secretovnet.org/archives/18684
https://www.secretovnet.org/archives/18682
https://www.secretovnet.org/archives/17665
https://www.secretovnet.org/archives / 17663
https://www.secretovnet.org/archives/17661
https://www.secretovnet.org/archives/17659
https://www.secretovnet.org/archives/17657
https://www.secretovnet.org / archives / 13723
https://www.secretovnet.org/archives/13717
https://www.secretovnet.org/archives/13714
https://www.secretovnet.org/archives/13711
https://www.secretovnet .org / archives / 13708
https://www.secretovnet.org/archives/17655
https://www.secretovnet.org/archives/13702
https://www.secretovnet.org/archives/17647
https://www.secretovnet.org/archives/17645
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed.
[not found] <bug-24454-4717@http.sourceware.org/bugzilla/>
2021-09-10 19:35 ` [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed mehmetgelisin at aol dot com
2021-10-19 7:14 ` progonsaytu at gmail dot com
@ 2021-10-19 7:31 ` mark at klomp dot org
2021-10-24 10:03 ` glassmtech at ukr dot net
3 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2021-10-19 7:31 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24454
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed.
[not found] <bug-24454-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2021-10-19 7:31 ` mark at klomp dot org
@ 2021-10-24 10:03 ` glassmtech at ukr dot net
3 siblings, 0 replies; 4+ messages in thread
From: glassmtech at ukr dot net @ 2021-10-24 10:03 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24454
glassmtech <glassmtech at ukr dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glassmtech at ukr dot net
--- Comment #15 from glassmtech <glassmtech at ukr dot net> ---
http://www.ремонты-квартир.com/
http://www.дизайн-квартиры.com/
http://www.о-ремонте.com/
http://www.о-заборах.com/
http://www.bsegypt.com/
http://www.buyingrealty.net/
http://www.khersonnews.com/
http://www.kontrolstroy.info/
http://www.sama-mama.com/
http://www.secretovnet.org/
http://www.teleriko.com/
http://www.us-best-store.com/
http://www.віктор.com/
http://www.accord-hotel.ru/
http://releazer.ru/
http://www.a-n-e-k-d-o-t.ru/
http://www.adhan.ru/
https://www.al-aures.ru/
http://www.apriori-design.ru/
https://artdoski.ru/
http://www.bombusmod.net.ru/
http://www.canadianahealthandcaremallreviews.ru/
http://www.celestiaproject.ru/
http://www.cryptogu.ru/
http://www.downloadskypefree.ru/
http://www.encyclopedia-flowers.ru/
http://www.factura.net.ru/
https://freewizards.ru/
https://futurefactory.ru/
http://glina-med.ru/
https://google-dmoz.ru/
https://iix.su/
http://www.imperia51.ru/
http://www.info-tehnologii.ru/
http://www.kvartira-v-bolgarii.ru/
http://ljubi-i-pozdravljaj.ru/
http://www.majesticarticles.ru/
http://www.onlinecredit247.ru/
http://www.orfey.net.ru/
http://www.pgpk.net.ru/
http://www.rainbow.net.ru/
https://www.rainbowbaby.ru/
https://www.respublika-okon.ru/
http://ribku-lovim.ru/
https://rusorchestra.ru/
https://shmoscow.ru/
http://www.skifspb.ru/
http://www.spare.net.ru/
http://www.stranainform.ru/
http://www.taxi-smile.ru/
http://www.tkanishik.ru/
https://www.tremulous.net.ru/
http://trust-women.ru/
https://uralbel.ru/
http://www.yar-art-union.ru/
http://www.xn----7sbcngq4awkg0k.xn--p1ai/
http://www.xn----7sbbmgbytlh3a0ll.xn--p1ai/
http://www.xn--35-mlcuxidl.xn--p1ai/
http://www.xn--f1addf1alkk1d.xn--p1ai/
http://www.history-of-great-discoveries.com/
http://www.it-business-trends.com
http://www.interesting-history-of-art.com
http://www.interesting-news-about-cars.com
http://www.architecture-and-design-news.com
https://ремонты-квартир.com/
https://дизайн-квартиры.com/
https://о-ремонте.com/
https://о-заборах.com/
https://bsegypt.com/
https://buyingrealty.net/
https://khersonnews.com/
https://kontrolstroy.info/
https://sama-mama.com/
https://secretovnet.org/
https://teleriko.com/
https://us-best-store.com/
https://віктор.com/
https://accord-hotel.ru/
https://www.releazer.ru/
https://a-n-e-k-d-o-t.ru/
https://adhan.ru/
http://al-aures.ru/
https://apriori-design.ru/
http://www.artdoski.ru/
https://bombusmod.net.ru/
https://canadianahealthandcaremallreviews.ru/
https://celestiaproject.ru/
https://cryptogu.ru/
https://downloadskypefree.ru/
https://encyclopedia-flowers.ru/
https://factura.net.ru/
http://www.freewizards.ru/
http://www.futurefactory.ru/
https://www.glina-med.ru/
http://www.google-dmoz.ru/
http://www.iix.su/
https://imperia51.ru/
https://info-tehnologii.ru/
https://kvartira-v-bolgarii.ru/
https://www.ljubi-i-pozdravljaj.ru/
https://majesticarticles.ru/
https://onlinecredit247.ru/
https://orfey.net.ru/
https://pgpk.net.ru/
https://rainbow.net.ru/
http://rainbowbaby.ru/
http://respublika-okon.ru/
https://www.ribku-lovim.ru/
http://www.rusorchestra.ru/
http://www.shmoscow.ru/
https://skifspb.ru/
https://spare.net.ru/
https://stranainform.ru/
https://taxi-smile.ru/
https://tkanishik.ru/
http://tremulous.net.ru/
https://www.trust-women.ru/
http://www.uralbel.ru/
https://yar-art-union.ru/
https://xn----7sbcngq4awkg0k.xn--p1ai/
https://xn----7sbbmgbytlh3a0ll.xn--p1ai/
https://xn--35-mlcuxidl.xn--p1ai/
https://xn--f1addf1alkk1d.xn--p1ai/
https://history-of-great-discoveries.com/
https://it-business-trends.com
https://interesting-history-of-art.com
https://interesting-news-about-cars.com
https://architecture-and-design-news.com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-24 10:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-24454-4717@http.sourceware.org/bugzilla/>
2021-09-10 19:35 ` [Bug gdb/24454] nat/x86-linux-dregs.c:146: internal-error: void x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)' failed mehmetgelisin at aol dot com
2021-10-19 7:14 ` progonsaytu at gmail dot com
2021-10-19 7:31 ` mark at klomp dot org
2021-10-24 10:03 ` glassmtech at ukr dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).