Bug 82522
Summary: | Python module causes assertion failure in python's stringobject.c | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Fredrik Tolf <fredrik> | ||||||||||
Component: | kudzu | Assignee: | Bill Nottingham <notting> | ||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 8.0 | CC: | rvokal | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | i386 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2003-01-24 01:25:01 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Fredrik Tolf
2003-01-23 02:46:23 UTC
Created attachment 89539 [details]
patch for kudzu python module
Does the attached patch help? Woops, make that char *str, *none = "(none)" Created attachment 89541 [details]
new, better patch
Created attachment 89542 [details]
take three ;)
I'm not sure if it worked... I downloaded the source for kudzu and did everything applicable. I'm really not familiar with python, though. What I did was that I just overwrote the existing /usr/lib/python2.2/site-packages/_kudzumodule.so (that's the filename as indicated by /proc/?/maps) with the patched lib. It didn't change a thing, though, and when I run it in gdb, that frame doesn't seem to be quite synchronized with the new source, so it seems it wasn't updated anyway, which I find strange, since I guess it should be. Is there anything more that I need to do to make it work? Hm, this was rebuilding with the new patch? I can attach a new module at some point if you just want that to test. Can you attach your /etc/sysconfig/hwconf? Created attachment 89557 [details]
/etc/sysconfig/hwconf
I guess you should be aware that my /etc/sysconfig/hwconf in unsync'ed with my actual hardware, since I don't run kudzu on startup. I don't know if that could have something with it to do. Also, I did some (not much) extended debugging now that I have the source, and the null string was device->pnpmodes when adding my HP laserjet 6 printer. However, the gdb backtrace still points at line 141, which, in the patched file, adds device->pnpmfr, which is not null. That's one of the reasons to why I think that python doesn't seem to be using the patched lib. Now I got it. I looked at the makefile, and apparently, _kudzumodule.so didn't depend on kudzumodule.c, so since I had already compiled it once, it didn't recompile after I had patched kudzumodule.c. I recompiled it now, and it worked like a charm. Good. It's fixed in 0.99.90 or later. |