[Spacewalk-list] SW 1.9 abrt crash upload fails

Pierre Casenove pcasenove at gmail.com
Thu Mar 7 15:36:40 UTC 2013


Hello list,
I've upgraded my spacewalk server to version 1.9 (rhel 5 pgsql).
I've updated spacewalk client binairies on a test client, and installed
spacewalk-abrt package.
I've rebooted both the server and the client.

To test abrt crash upload functionnality, i've launched the following
compex script in background:
#!/bin/bash

while :
do
   sleep 1
done

Than, I killed it using kill -SIGSEGV 3952

As expected, abrt detected the crash... but then spacewalk crashed!
Mar  7 15:29:42  abrt[3967]: Saved core dump of pid 3952 (/bin/bash) to
/var/spool/abrt/ccpp-2013-03-07-15:29:42-3952 (413696 bytes)
Mar  7 15:29:42  abrtd: Directory 'ccpp-2013-03-07-15:29:42-3952' creation
detected
Mar  7 15:29:50  abrtd: Sending an email...
Mar  7 15:29:50  abrtd: Email was sent to: root at localhost
Mar  7 15:29:51 abrtd: New problem directory
/var/spool/abrt/ccpp-2013-03-07-15:29:42-3952, processing
Mar  7 15:29:51  abrtd: An error has occurred:
Mar  7 15:29:51  abrtd: Error communicating with server. The message was:
Mar  7 15:29:51  abrtd: While running 'abrt.create_crash': caught
Mar  7 15:29:51 tu-spa-d13 abrtd: exceptions.TypeError : expected a
character buffer object
Mar  7 15:29:51 tu-spa-d13 abrtd:
Mar  7 15:29:51 tu-spa-d13 abrtd: See /var/log/up2date for more information


In up2date log, I have:
<class 'up2date_client.up2dateErrors.CommunicationError'>: Error
communicating with server. The message was:
While running 'abrt.create_crash': caught
exceptions.TypeError : expected a character buffer object


I've checked httpd error log, I found this:
[Thu Mar 07 15:29:51 2013] [error] Exception Handler Information
[Thu Mar 07 15:29:51 2013] [error] Traceback (most recent call last):
[Thu Mar 07 15:29:51 2013] [error]   File
"/usr/lib/python2.4/site-packages/spacewalk/server/apacheRequest.py", line
122, in call_function
[Thu Mar 07 15:29:51 2013] [error]     response = apply(func, params)
[Thu Mar 07 15:29:51 2013] [error]   File
"/usr/share/rhn/server/handlers/xmlrpc/abrt.py", line 170, in create_crash
[Thu Mar 07 15:29:51 2013] [error]     server_crash_dir =
get_crash_path(str(server_org_id), str(self.server_id), crash_data['crash'])
[Thu Mar 07 15:29:51 2013] [error]   File
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnLib.py", line 218, in
get_crash_path
[Thu Mar 07 15:29:51 2013] [error]     if _is_secure_path(path):
[Thu Mar 07 15:29:51 2013] [error]   File
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnLib.py", line 211, in
_is_secure_path
[Thu Mar 07 15:29:51 2013] [error]     return not path.startswith(('/',
'../'))
[Thu Mar 07 15:29:51 2013] [error] TypeError: expected a character buffer
object


What am I doing wrong?

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130307/c6199769/attachment.htm>


More information about the Spacewalk-list mailing list