Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171982 - sys-libs/glibc-2.5-r1 - nptl fails an assertion with VMSPLIT_3G
Summary: sys-libs/glibc-2.5-r1 - nptl fails an assertion with VMSPLIT_3G
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 23:56 UTC by Matteo Sasso
Modified: 2007-03-27 19:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,9.45 KB, text/plain)
2007-03-24 10:29 UTC, Matteo Sasso
Details
kernel .config (kernel.config,40.59 KB, text/plain)
2007-03-24 10:29 UTC, Matteo Sasso
Details
gdb output (gdb,7.42 KB, text/plain)
2007-03-27 19:52 UTC, Matteo Sasso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Sasso 2007-03-23 23:56:10 UTC
I just recompiled my kernel in order to make use of all my RAM. This is the only change I made. Trying to launch Kopete, yields:

kopete: tpp.c:63: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.

Probabily a bug upstream. I'll try recompiling glibc without nptl support.
Comment 1 SpanKY gentoo-dev 2007-03-24 07:40:55 UTC
no real information here ... you need to post things like:
 - `emerge --info`
 - what version of kopete you're using
 - build a debug version of kopete and run it through gdb
 - your kernel .config

rebuilding glibc without nptl support is not a useful test
Comment 2 Matteo Sasso 2007-03-24 10:28:40 UTC
Ok, sorry.
Kopete is v3.5.6. I'm attaching emerge --info and .config.
I'm building the debug version, it'll take some minutes.
Comment 3 Matteo Sasso 2007-03-24 10:29:20 UTC
Created attachment 114213 [details]
emerge --info
Comment 4 Matteo Sasso 2007-03-24 10:29:51 UTC
Created attachment 114215 [details]
kernel .config
Comment 5 Matteo Sasso 2007-03-24 11:42:37 UTC
Running kopete under gdb doesn't yield much information. It just prints some (seemingly) unrelated info and then crashes. Even with the crash handler disabled, kopete just quits gracefully and I'm left without a backtrace ("No stack.")

Can anyone help me with this? Would it be useful to recompile kdelibs with the debug flag?
Comment 7 Matteo Sasso 2007-03-27 19:49:47 UTC
Thanks for the link, it was somehow helpful and I understood some things about the debugging process which weren't clear before.

I applied the suggestions in the howto to both glibc and kopete but I still get the message "Program exited normally." from gdb.
I tried to place a breakpoint on __pthread_tpp_change_priority, to no avail:
"Function "__pthread_tpp_change_priority" not defined.
Make breakpoint pending on future shared library load? (y or [n])"
I say "yes", but the break just doesn't happen.

I compiled both packages with the debug USE flag, nostrip FEATURE, "-g -ggdb" CFLAGS and CXXFLAGS. Then I run "gdb --args kopete --nocrashhandler".

Could you give me some more specific suggestions? It looks like I'm missing something about how gdb works.

I'm attaching gdb output.

Comment 8 Matteo Sasso 2007-03-27 19:52:01 UTC
Created attachment 114672 [details]
gdb output