[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600223: marked as done (python-rdflib: fails with SIGBUS on mipsel - breaks build of enigmail)



Your message dated Sun, 05 Jul 2015 16:18:22 +0000
with message-id <E1ZBmcY-0006gk-9d@franck.debian.org>
and subject line Bug#707276: Removed package(s) from unstable
has caused the Debian Bug report #600223,
regarding python-rdflib: fails with SIGBUS on mipsel - breaks build of enigmail
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
600223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600223
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-rdflib
Version: 2.4.2-1+b1
Severity: serious
Justification: Breaks build of another package

Building enigmail 1.0.1-2 on mipsel fails with "Bus error":

https://buildd.debian.org/fetch.cgi?pkg=enigmail&arch=mipsel&ver=2%3A1.0.1-2&stamp=1275423629&file=log&as=raw

I've reproduced this on a qemu-emulated mipsel machine. The problem 
is the script /usr/bin/install-xpi that uses rdflib to parse the file
install.rdf.

I've reduced install-xpi to the method that shows the problem, and added 
printf debugging to find the failing method. 

The output of this script on mipsel is

$ ./install-xpi 
gei 1 install.rdf
gei 2
gei 3
gei 4
gei 5
Bus error

So the problem occurs when calling rdf_graph.query().

I have no experience at debugging python applications, especially not when
system level bugs are involved, so I can't debug this issue further.

I can make the qemu image I used available. It is based on the lenny image by 
Aurélien Jarno.
#!/usr/bin/python

# Copyright (c) 2009 Benjamin Drung <bdrung@ubuntu.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

import csv
import optparse
import os
import stat
import subprocess
import sys
import zipfile

from rdflib import Namespace
from rdflib.Graph import Graph

# error codes
COMMAND_LINE_SYNTAX_ERROR = 1
XPI_FILE_DOES_NOT_EXISTS = 2

def get_extension_id(install_rdf):
	print "gei 1 " + install_rdf
	extension_ids = set()
	print "gei 2"
	rdf_graph = Graph()
	print "gei 3"
	rdf_graph.parse(install_rdf)
	print "gei 4"
	query = "SELECT ?id WHERE {?x1 em:targetApplication ?x2 . ?x1 em:id ?id }"
	print "gei 5"
	results = rdf_graph.query(query, initNs=dict(em=Namespace("http://www.mozilla.org/2004/em-rdf#";)))
	print "gei 6"
	for result in results:
		print "gei 7"
		extension_ids.add(str(result[0]))
	print "gei 8"
	return extension_ids.pop()

if __name__ == "__main__":

	extension_id = get_extension_id("install.rdf")

Attachment: install.rdf
Description: XML document


--- End Message ---
--- Begin Message ---
Version: 1:4.4.7-8+rm

Dear submitter,

as the package gcc-4.4 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/707276

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: