Re: Debian 8/jessie - SECCOMP_FILTER_FLAG_TSYNC

2015-03-07 Thread Andrew Suffield
Come on guys, there's no spyware in chromium. You can look through the source for yourself and see all the places where it isn't. Returning to the topic at hand, this seems like a simple enough feature and fairly non-intrusive. Can anybody see a reason not to apply the patch?

Bug#768650: mtr: use setcap instead of setuid to reduce security attack surface

2014-11-08 Thread Andrew Suffield
Package: mtr Tags: patch, security This seems to have been fairly successful for iputils, so let's do it more. The attached patch causes mtr and mtr-tiny to be installed with a file capability for CAP_NET_RAW instead of being setuid root, which substantially reduces their privileges. I've shameles

Re: question - languages with set/foo as only base data type

2013-11-17 Thread Andrew Suffield
On Sun, Nov 17, 2013 at 02:10:17PM -0800, Darren Duncan wrote: > I recall reading that at least in certain math/logic papers that a > programming language type system can be defined logically in terms > of pure sets, making it essentially self-defined without needing to > rely on external definitio

Re: question - languages with set/foo as only base data type

2013-11-17 Thread Andrew Suffield
On Sun, Nov 17, 2013 at 02:10:17PM -0800, Darren Duncan wrote: > I recall reading that at least in certain math/logic papers that a > programming language type system can be defined logically in terms > of pure sets, making it essentially self-defined without needing to > rely on external definitio

[Bug 1205362] [NEW] bizarre stripping of osabi field

2013-07-26 Thread Andrew Suffield
Public bug reported: I'm using binutils-multiarch to strip freebsd binaries. I've minimised this test case a bit from how I found the problem, to make it clear how strange this is. I've got chroots of precise and raring in both i386 and amd64 versions, all sitting on one box. I've installed binut

Bug#564874: manpages: Please ship ld.so manpage

2013-07-22 Thread Andrew Suffield
On Mon, Jul 22, 2013 at 08:28:43PM +0200, Michael Kerrisk (man-pages) wrote: > Yup, I already noticed that older LD_ASSUME_KERNEL values > gave results such as the above. However, I was not sure > of the intention of your response? Did you mean that the > proposed text should be changed? If so, co

Bug#564874: manpages: Please ship ld.so manpage

2013-07-20 Thread Andrew Suffield
Things from my past coming back to haunt me, but if people want to keep ccing me... On Sat, Jul 20, 2013 at 10:15:25PM +0200, Michael Kerrisk wrote: > Yes. I've never been quite sure though whether the particular > kernel versions to specify for LD_ASSUME_KERNEL when > selecting the threading impl

[Bug 1153672] [NEW] mountall deadlocks with bind mounts below nfs mounts

2013-03-11 Thread Andrew Suffield
Public bug reported: This is a bit speculative, as I need these VMs working again quickly so I'm bludgeoning around the issue rather than debugging it, but: # proc/proc procnodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation LABEL=root /

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread Andrew Suffield
On Mon, Jul 09, 2012 at 04:21:04PM -0600, David Beck wrote: > > Try pyrcc4 -h > > Just did, it just gave me the help options, which I've already seen. Phil's point is that it explains the syntax, which you have got quite wrong. Start over and follow the help carefully. __

Re: [PyQt] Item data on QTreeView

2012-07-09 Thread Andrew Suffield
On Sun, Jul 08, 2012 at 07:02:27PM -0300, Diego wrote: > When a row is selected in the QTreeView, I need to be able to access > the object whose attributes are being displayed in that row. I don't > know how to properly do that, and the only thing that worked for me is > to store the original objec

Re: [PyQt] Extending configure.py/siputils.py to pass CPPFLAGS

2012-06-23 Thread Andrew Suffield
On Sat, Jun 23, 2012 at 09:57:56AM +0100, Phil Thompson wrote: > Why? Does Debian need it to be called CPPFLAGS specifically rather than > the already supported CXXFLAGS? I'm going to guess that you've made the common mistake. CPPFLAGS is the preprocessor flags, not the C++ compiler flags. Hence i

Re: [PyQt] QHttpMultiPart impossible to use

2012-06-19 Thread Andrew Suffield
On Tue, Jun 19, 2012 at 06:10:31PM -0700, Doogster wrote: > On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the > attached code sample segfaults the Python interpreter. It's probably the usual garbage-collection problem: your QHttpMultiPart is being destroyed before the network manag

Re: [PyQt] returning SQL result as ordinary python string?

2012-05-03 Thread Andrew Suffield
On Thu, May 03, 2012 at 08:15:26AM -0400, Mark Mordeca wrote: > while(query.next()): > > idString=str(query.value(0).toString()) > > passwordString=str(query.value(1).toString()) > > > > query.value() returns a QVariant, so you use .toString() to convert it to > a QString, then use

Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-30 Thread Andrew Suffield
On Mon, Apr 30, 2012 at 09:25:52AM +0200, Hans-Peter Jansen wrote: > following Eriks suggestion of disabling the GC altogether would have given a > valuable data point for your issue. Oh, I did try that. Everything works fine when GC is disabled. > Vanishing still referenced local > variables i

Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-29 Thread Andrew Suffield
On Sun, Apr 29, 2012 at 03:51:43PM +0100, Phil Thompson wrote: > You might try keeping explicit references to any objects involved in the > query where you might be expecting PyQt to keep the reference for you. At the point when it gets collected, it's still in scope as a local variable of the pyt

Re: [PyQt] Disturbing evidence of garbage collection error

2012-04-28 Thread Andrew Suffield
On Sat, Apr 28, 2012 at 01:05:37PM +0200, Erik Janssens wrote: > which version of PyQt are you using ? > > When in older versions (I think something like 2 releases ago), > the garbage collection kicks in in a thread and it deletes > a QObject from another thread, this object was deleted > immedia

Re: [PyQt] pyqtSlot, getting "undefined" return values when called from qml javascript

2012-04-27 Thread Andrew Suffield
On Sat, Apr 28, 2012 at 12:57:47AM +0300, Ville M. Vainio wrote: > I have a qml file invoking methods on a QObject subclass. I have used > @pyqtSlot decorator to expose the methods as slots. > > I can see that the methods are run; however, the return values seem to > be discarded. Qt slots don't

[PyQt] Disturbing evidence of garbage collection error

2012-04-27 Thread Andrew Suffield
query = QtSql.QSqlQuery() if not query.prepare('select %s from %s where %s' % (','.join(field_names), table, self.key_expr(table))): I get 'RuntimeError: underlying C/C++ object has been deleted' on the second line, with low probability. Sometimes it just segfaults instead while i

[PyQt] Type information for signals

2012-04-24 Thread Andrew Suffield
I'd rather like to be able to write code like this: for name in dir(obj): a = getattr(obj, name) if isinstance(a, QtCore.pyqtSignal): setattr(self, name, a) Unfortunately, signals of objects are of class pyqtBoundSignal and I can't find a class object to pass to isinstance - does it exist

[PyQt] PSA: don't use open() in generators in QThreads

2012-04-16 Thread Andrew Suffield
http://bugs.python.org/issue14432 Looks like python will crash if you do any of the operations affected by restricted execution (create file objects, meddle with __dict__, etc) from a generator that was created in an older iteration of the event loop. The main python thread should be safe, since

[issue14432] Bug in generator if the generator in created in a C thread

2012-04-16 Thread Andrew Suffield
Andrew Suffield added the comment: I think I've tripped over a variation on this theme using pyqt and 2.7: When working in a QThread, the PyGILState_Ensure call when transitioning control from Qt to python will frequently allocate a new thread state - because every time control retur

Re: [PyQt] Signals arriving after proxy slots deleted

2012-04-16 Thread Andrew Suffield
Pretty sure it's a pyqt bug, in deleteSlotProxies: if (QThread::currentThread() == up->thread()) delete up; else up->deleteLater(); http://qt-project.org/doc/qt-4.8/qobject.html#dtor.QObject "Warning: Deleting a QObject while pending events

Re: [PyQt] Signals arriving after proxy slots deleted

2012-04-15 Thread Andrew Suffield
On Sun, Apr 15, 2012 at 11:45:02AM +0100, Phil Thompson wrote: > On Sat, 14 Apr 2012 22:33:02 +0100, Andrew Suffield > wrote: > > On Sat, Apr 14, 2012 at 03:14:28PM +0100, Phil Thompson wrote: > >> Once the C++ disconnect() has completed then it shouldn't matter if the

Re: [PyQt] Signals arriving after proxy slots deleted

2012-04-14 Thread Andrew Suffield
On Sat, Apr 14, 2012 at 03:14:28PM +0100, Phil Thompson wrote: > Once the C++ disconnect() has completed then it shouldn't matter if the > proxy is still around or not. Has the disconnect() actually succeeded? Hmm, interesting question. How do I tell? I should note that it's difficult to test bec

[PyQt] Signals arriving after proxy slots deleted

2012-04-11 Thread Andrew Suffield
I've been having grief with a class of problems that looks like this valgrind error: ==28760== Invalid write of size 4 ==28760==at 0x6C26DED: PyQtProxy::unislot(void**) (in /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so) ==28760==by 0x6C26EC1: PyQtProxy::qt_metacall(QMetaObject::Call, i

Re: [sqlite] Two potential memory leaks in sqlite-3.7.11

2012-04-11 Thread Andrew Suffield
On Wed, Apr 11, 2012 at 02:01:29PM +0200, Eduardo Morras wrote: > At 12:09 11/04/2012, you wrote: > >Hi, all > >I have applied a memory leak detection tool > >Melton to > >find memory leaks in sqlite-3.7.11. > >Two bugs were found, and I check them manually a

[PyQt] Regrettable behaviour of threading.local in QThread

2012-04-06 Thread Andrew Suffield
The attached script creates a threading.local within a QThread, and stores a value in it. It then reads this value back immediately, and later from an event handler. Unexpectedly, by the time we get to the event handler, the contents of the threading.local has been destroyed. I suspect there are

Re: [fluid-dev] Fun dbus crash

2012-02-29 Thread Andrew Suffield
On Wed, Feb 29, 2012 at 09:32:48AM +0100, David Henningsson wrote: > >python: malloc.c:2453: sYSMALLOc: Assertion `(old_top == (((mbinptr) > >(((char *)&((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct > >malloc_chunk, fd&& old_size == 0) || ((unsigned long) (old_size) > >>= (unsigned

[jira] [Commented] (CASSANDRA-3614) Fatal exception in thread Thread[MigrationStage:1,5,main] (LeveledCompaction)

2011-12-12 Thread Andrew Suffield (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167757#comment-13167757 ] Andrew Suffield commented on CASSANDRA-3614: That fixed it. Thanks

[jira] [Commented] (CASSANDRA-3614) Fatal exception in thread Thread[MigrationStage:1,5,main] (LeveledCompaction)

2011-12-12 Thread Andrew Suffield (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167724#comment-13167724 ] Andrew Suffield commented on CASSANDRA-3614: Bigger log chunk. This

[jira] [Commented] (CASSANDRA-3614) Fatal exception in thread Thread[MigrationStage:1,5,main] (LeveledCompaction)

2011-12-12 Thread Andrew Suffield (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167705#comment-13167705 ] Andrew Suffield commented on CASSANDRA-3614: (This is the Debian buil

[jira] [Created] (CASSANDRA-3614) Fatal exception in thread Thread[MigrationStage:1,5,main] (LeveledCompaction)

2011-12-12 Thread Andrew Suffield (Created) (JIRA)
: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.0.6 Reporter: Andrew Suffield ERROR 19:29:39,712 Fatal exception in thread Thread[MigrationStage:1,5,main] java.lang.AssertionError at org.apache.cassandra.db.compaction.LeveledManifest.promote

Re: [fluid-dev] Sending commands for fast renderer

2011-11-14 Thread Andrew Suffield
On Tue, Nov 15, 2011 at 12:13:49PM +1100, Matt Giuca wrote: > Right, so I tried adjusting the "Reverb" knob in Rosegarden (connected to > FluidSynth) and didn't hear much difference. I'm not entirely sure what all > the reverb settings do (there are four), but I found that increasing the > "room si

Re: [fluid-dev] Sending commands for fast renderer

2011-11-14 Thread Andrew Suffield
On Mon, Nov 14, 2011 at 10:35:44PM +1100, Matt Giuca wrote: > Any that I missed? You can also programmatically control almost everything via midi CC messages and a carefully edited soundfont. That would work in your case, although it's a bit of a faff to set up. __

Re: [fluid-dev] Major degradation in sound quality & cpu usage going from Ubuntu 11.04 to 11.10

2011-11-06 Thread Andrew Suffield
On Sun, Nov 06, 2011 at 02:41:26PM +1100, Matt Giuca wrote: > Now another possibility is that this problem was not introduced by FS > between 1.1.3 and 1.1.4, but that you have a problem with the Debian > packaged version of FS 1.1.4. Note that the Debian packaged versions of > programs are not alw

Re: [Crash-utility] [help]crash can't anaylyse xen guest paravirtulized linux vmcore

2011-10-27 Thread Andrew Suffield
On 27 October 2011 14:45, Dave Anderson wrote: > Red Hat never supported running 64-bit Xen guests on a 32-bit > dom0. > > Yeah, it's just a bad idea. I ran into it on xenserver, which uses i686 centos 5.2 for the dom0, inexcusably. In case it's ever useful in identifying this class of broken du

Re: [Crash-utility] [help]crash can't anaylyse xen guest paravirtulized linux vmcore

2011-10-27 Thread Andrew Suffield
On the off-chance that you've hit this particular one (there's no clear indication) - taking a dump of a 64-bit guest from a 32-bit host will not work. libxc bug that gave me no end of grief. -- Crash-utility mailing list Crash-utility@redhat.com https://www.redhat.com/mailman/listinfo/crash-utilit

Re: [fluid-dev] Sustain long fadeout a property of the synth or the font?

2011-10-25 Thread Andrew Suffield
On Tue, Oct 25, 2011 at 06:12:12PM +1100, Matt Giuca wrote: > Or perhaps you mean there's no built-in way to do that (in the MIDI spec), > but that I could find an unused controller and edit the FluidSynth code to > make it extend the decay? Yes, just pick something that isn't magic like sustain.

Re: [fluid-dev] Sustain long fadeout a property of the synth or the font?

2011-10-24 Thread Andrew Suffield
On Tue, Oct 25, 2011 at 07:33:23AM +0100, Louis B. wrote: > Obviously that should read "as well as the sustain MIDI signal" as you want > both MIDI signals to operate at the same time. No, if you want 'releasing a key' to do anything at all, you need to not have the sustain switch active, because

Re: [fluid-dev] Sustain long fadeout a property of the synth or the font?

2011-10-24 Thread Andrew Suffield
On Tue, Oct 25, 2011 at 09:03:00AM +1100, Matt Giuca wrote: > Well, this Creative Labs page suggests that that feature isn't in the > SoundFont spec: > http://www.creative.com/soundblaster/soundfont/tutorials/welcome.asp?articleid=54142&page=7 > > There is an envelope parameter called "Sustain" bu

Bug#645309: debpartial-mirror: cannot handle duplicate entries in Packages

2011-10-14 Thread Andrew Suffield
Package: debpartial-mirror Version: 0.2.99 Severity: grave (Normally important, but bumped to RC because it's breaking for security updates on squeeze and that needs to not happen) If a Packages file contains two entries for the same package name, debpartial-mirror will die with this exception:

Bug#645309: debpartial-mirror: cannot handle duplicate entries in Packages

2011-10-14 Thread Andrew Suffield
Package: debpartial-mirror Version: 0.2.99 Severity: grave (Normally important, but bumped to RC because it's breaking for security updates on squeeze and that needs to not happen) If a Packages file contains two entries for the same package name, debpartial-mirror will die with this exception:

Re: [Crash-utility] [PATCH] do not check sp if ip points to user space

2011-09-23 Thread Andrew Suffield
On 23 September 2011 14:41, Dave Anderson wrote: > Why would any user task do that? > Generally because it's buggy and has just smashed the stack, which dovetails nicely with the question "Why am I running a debugger?" (I'm not really sure what the right behaviour is here) -- Crash-utility mail

Re: Perl e-commerce?

2011-09-14 Thread Andrew Suffield
On Wed, Sep 14, 2011 at 12:36:23PM +0100, Peter Edwards wrote: > That's why PHP is used PHP is a thorough and effective solution to the following problem, which is also its main design goal: How can stupid people create poor-quality web sites cheaply? Turns out this is in high demand, due to the

Re: [fluid-dev] Another application using FluidSynth announced

2011-09-13 Thread Andrew Suffield
On Tue, Sep 13, 2011 at 09:58:56AM +0200, David Henningsson wrote: > For the first dimension, it is not obvious to me whether we can or > not, but it seems likely, especially if we, as you say, "bend a > little or force the letter". So the precondition for taking the app > down seems to me to be fu

Re: [fluid-dev] Another application using FluidSynth announced

2011-09-12 Thread Andrew Suffield
On Mon, Sep 12, 2011 at 11:38:46PM +0200, Pedro Lopez-Cabanillas wrote: > Likewise, for me it is not only important the letter of the LGPL license, but > the ethical principles inspiring the libre software movement. For instance, > the principle of no discrimination that is not part of the LGPL,

Re: [fluid-dev] Another application using FluidSynth announced

2011-09-12 Thread Andrew Suffield
On Mon, Sep 12, 2011 at 09:30:50AM +0200, David Henningsson wrote: > Maybe the section you quoted below is what makes the free-compiler > question irrelevant then? For xcode, which is clearly an "OS component", yes. But it's not really the free-compiler question, just an interesting subset of comp

Re: [fluid-dev] Another application using FluidSynth announced

2011-09-11 Thread Andrew Suffield
On Sun, Sep 11, 2011 at 09:28:31PM +0200, Pedro Lopez-Cabanillas wrote: > But as I've said, if the compiler and developer tools are "freeware" > or not is irrelevant from the license point of view, in my > opinion. These are the same tools used to build all Mac OSX > applications; any legal restric

Re: [fluid-dev] First Try Failure

2011-09-04 Thread Andrew Suffield
On Sun, Sep 04, 2011 at 06:47:10PM +0200, Pedro Lopez-Cabanillas wrote: > As I've already said: this is a false myth. Jack doesn't improve > latency if you only send fluidsynth output to the sound card. > > For MIDI realtime routing (from your external MIDI keyboard to > Rosegarden, and from Roseg

Re: [fluid-dev] First Try Failure

2011-09-04 Thread Andrew Suffield
On Sun, Sep 04, 2011 at 12:01:48PM -0400, Lane Lester wrote: > But I'm still curious about whether to stick with alsa or go with jack. What > do you think? If you don't know that you need jack, then you probably don't need it. Jack's main purpose is low-latency. If you are playing a midi file, yo

Bug#639916: spread: license wackiness

2011-08-31 Thread Andrew Suffield
On Wed, Aug 31, 2011 at 07:28:03PM +0200, Francesco Poli wrote: > On Wed, 31 Aug 2011 15:50:27 +0100 Andrew Suffield wrote: > > > Package: spread > > Severity: serious > > > > "3. All advertising materials (including web pages) mentioning > > features

Bug#639916: spread: license wackiness

2011-08-31 Thread Andrew Suffield
On Wed, Aug 31, 2011 at 07:28:03PM +0200, Francesco Poli wrote: > On Wed, 31 Aug 2011 15:50:27 +0100 Andrew Suffield wrote: > > > Package: spread > > Severity: serious > > > > "3. All advertising materials (including web pages) mentioning > > features

Bug#639916: spread: license wackiness

2011-08-31 Thread Andrew Suffield
Package: spread Severity: serious "3. All advertising materials (including web pages) mentioning features or use of this software, or software that uses this software, must display the following acknowledgment: "This product uses software developed by Spread Concepts LLC for use in the Spread t

Bug#639916: spread: license wackiness

2011-08-31 Thread Andrew Suffield
Package: spread Severity: serious "3. All advertising materials (including web pages) mentioning features or use of this software, or software that uses this software, must display the following acknowledgment: "This product uses software developed by Spread Concepts LLC for use in the Spread t

Bug#639916: spread: license wackiness

2011-08-31 Thread Andrew Suffield
Package: spread Severity: serious "3. All advertising materials (including web pages) mentioning features or use of this software, or software that uses this software, must display the following acknowledgment: "This product uses software developed by Spread Concepts LLC for use in the Spread t

Bug#639713: debian-installer: grub-install fails during squeeze install if /boot is on raid and mdadm was not installed

2011-08-29 Thread Andrew Suffield
Package: debian-installer It may require a preseed file to get this to happen. Regardless, something should have added mdadm to the list of packages to install if raid devices were used.

Bug#639713: debian-installer: grub-install fails during squeeze install if /boot is on raid and mdadm was not installed

2011-08-29 Thread Andrew Suffield
Package: debian-installer It may require a preseed file to get this to happen. Regardless, something should have added mdadm to the list of packages to install if raid devices were used.

Re: Anyone got a US iTunes account

2011-08-27 Thread Andrew Suffield
On Sat, Aug 27, 2011 at 02:25:31PM +0100, Andrew Beattie wrote: > I have a route to the ear of an Apple board member and an amusing > tale to tell him. It'll take a bit of time but I'll see if I can > solve the underlying problem. Good luck with that. The underlying problem is that the media indu

Re: [fluid-dev] using fluidsynth to create soundfont based samples for a supercollider sampler

2011-08-24 Thread Andrew Suffield
On Wed, Aug 24, 2011 at 02:06:49PM -0700, Michael Geis wrote: > The current idea is to create each sample file by passing fluidsynth a one > note .mid file, > outputting the raw wave data to file and then converting to .wav with sox. > > The sampler is not very complicated, it essentially applie

Re: SNMP ??

2011-08-24 Thread Andrew Suffield
On Wed, Aug 24, 2011 at 04:38:39PM +0530, Shantanu Bhadoria wrote: > a book that can get a person from beginner to advanced state? I think the only advanced state of SNMP is a feeling of nausea. It's not complicated at all. It's just nasty.

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 04:40:02PM +0200, Pedro Lopez-Cabanillas wrote: > Because the SONAME is part of the file name of the runtime shared (Is *precisely* the file name; the SONAME field is copied into a DT_NEEDED entry when linking, and the elf loader searches for a file by that name to complete

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 04:13:16PM +0200, David Henningsson wrote: > Thanks for the pointers. As the FLUIDSYNTH_API is already in place, > if we could make that evaluate to something like __attribute__ > ((visibility ("default"))) on gcc platform, that would be the > simplest way of solving this pr

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 03:20:54PM +0200, Pedro Lopez-Cabanillas wrote: > On Saturday 06 August 2011, Andrew Suffield wrote: > > On Sat, Aug 06, 2011 at 10:00:21PM +1000, Matt Giuca wrote: > > > - Release FluidSynth 2.0, with soname libfluidsynth.so.2, or > > > > It

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 03:05:06PM +0200, Pedro Lopez-Cabanillas wrote: > On Saturday 06 August 2011, Andrew Suffield wrote: > > On Sat, Aug 06, 2011 at 02:42:59PM +0200, Pedro Lopez-Cabanillas wrote: > > > The auto-tools based build system of FluidSynth is deprecated, and >

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 02:42:59PM +0200, Pedro Lopez-Cabanillas wrote: > The auto-tools based build system of FluidSynth is deprecated, and > was using libtool. The new CMake based build system does not use > libtool. That's unfortunate. Consider using libtool. This level of shared library manipu

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 10:00:21PM +1000, Matt Giuca wrote: > - Release FluidSynth 2.0, with soname libfluidsynth.so.2, or It is generally unwise to attempt to keep SONAME versions and project versions in sync. This leads to confusion and inappropriate compatibility problems. Best practice is to k

Re: [fluid-dev] SONAME Bump?

2011-08-06 Thread Andrew Suffield
On Sat, Aug 06, 2011 at 12:54:20PM +0200, David Henningsson wrote: > As reported in ticket #98, FluidSynth 1.1.4 dropped one symbol. > However, this symbol (fluid_defsfont_get_sample) is not part of the > public API, so no programs should use it anyway. > > I don't know how much of a big deal this

Re: mutt

2011-07-25 Thread Andrew Suffield
On Mon, Jul 25, 2011 at 10:55:18AM +0100, Peter Corlett wrote: > It's arguably better > than Outlook, which seems to be the standard MUA these days. About the only thing which isn't better than Outlook is Outlook Express.

Re: Where do we go to get good Perl/Catalyst/DBIC/Moose people in India?

2011-07-15 Thread Andrew Suffield
On Fri, Jul 15, 2011 at 09:25:57PM +0200, Richard Foley wrote: > Maybe when you've trained people, you should pay them more, then > they might stay...? Observation: good software engineers don't usually have income at the top of their list of priorities - they'll still leave for double the pay, bu

Re: [fluid-dev] Possible bugs in mod and release envelope math

2011-07-11 Thread Andrew Suffield
On Mon, Jul 11, 2011 at 10:08:58AM +0200, David Henningsson wrote: > I agree that it feels strange, but question is if it matters? Yes, that is the question. I can't really tell; there's too much going on here that I don't fully understand yet. > For > release volumes, things should always ramp d

[fluid-dev] Possible bugs in mod and release envelope math

2011-07-09 Thread Andrew Suffield
I've been working through the source, and while I don't pretend to fully understand what's going on here, I've spotted a couple of things that seem wrong: fluid_mod_get_value sets range1 and range2 to 127, which are used as the divisor for linear and bipolar modulators. That means, for a bipolar

Re: [OT]-ish: Can someone explain this?

2011-07-04 Thread Andrew Suffield
On Mon, Jul 04, 2011 at 09:00:17PM +0200, Paul Johnson wrote: > If you have a program which allocates large dynamic data structures, > cleaning up those structures when the program terminates can be quite > expensive. Judicious use of _exit(), particularly in C++, can (could?) > be the difference

Re: [OT]-ish: Can someone explain this?

2011-07-04 Thread Andrew Suffield
On Mon, Jul 04, 2011 at 04:40:48PM +0100, David Cantrell wrote: > On Sat, Jul 02, 2011 at 05:32:38PM +0100, Dirk Koopman wrote: > > > Here is a bit of C code that is part of something much bigger. > > > > _exit(0); > > Why _exit instead of exit? > > exit() DTRT with flushing filehand

Re: [OT]-ish: Can someone explain this?

2011-07-02 Thread Andrew Suffield
On Sat, Jul 02, 2011 at 05:32:38PM +0100, Dirk Koopman wrote: > But how come I get output at a shell prompt, and not down a pipe (or > a redirection either)? What special magic is occurring here? If: 1. isatty() is true on the underlying fd of the FILE* and: 2. The string contains \n then prin

Re: [Crash-utility] Unable to switch stack frames while using crash

2011-06-27 Thread Andrew Suffield
On 27 June 2011 14:32, Dave Anderson wrote: > > So it just seems impossible to recreate even with an intervening > n_tty_close(). > > Yeah, I can't see a way to do it either. I guess that leaves hardware failure. (memory/cpu in particular) -- Crash-utility mailing list Crash-utility@redhat.com ht

Re: [Crash-utility] Unable to switch stack frames while using crash

2011-06-25 Thread Andrew Suffield
On 24 June 2011 15:29, Dave Anderson wrote: > Yeah, although the contents tty->read_buf are hard to explain. > It gets allocated during n_tty_open() and freed during n_tty_close(). > And at the beginning of n_tty_read() there's: > >BUG_ON(!tty->read_buf); > > and the dump-time contents sh

Re: [Crash-utility] Unable to switch stack frames while using crash

2011-06-24 Thread Andrew Suffield
On 24 June 2011 14:40, Dave Anderson wrote: > And for that matter, since tty->read_cnt is 0 above, > your original question as to how that code path was taken to > begin with is also valid. > Surely that implies tty->read_cnt has been modified since it was tested, and hence you're looking at con

Re: RFC: Test::Copyright

2011-06-13 Thread Andrew Suffield
On Tue, Jun 14, 2011 at 07:37:00AM +0200, Philip Newton wrote: > Also, I'm not sure why the copyright statements in individual files > need to match the general copyright statement - if a given submodule > was last updated in 1997 and was stable since then, then I would > expect it to have a copyri

Bug#628150: partman-auto: Conspires to commit inappropriate error reporting when expert recipe fails to parse

2011-05-27 Thread Andrew Suffield
Package: partman-auto When there is a parse error in the start of a line in an expert recipe, it responds as follows: The minimum partition size is set to 22, with a comment in the source remarking "there is no so big storage device jet". Since the recipe does not fit on the disk, it fil

Bug#628150: partman-auto: Conspires to commit inappropriate error reporting when expert recipe fails to parse

2011-05-27 Thread Andrew Suffield
Package: partman-auto When there is a parse error in the start of a line in an expert recipe, it responds as follows: The minimum partition size is set to 22, with a comment in the source remarking "there is no so big storage device jet". Since the recipe does not fit on the disk, it fil

Bug#467563: camlp5 strict vs transitional

2010-07-10 Thread Andrew Suffield
The request is still applicable; the suggested solution is poor. A given piece of software may wish to use both strict and transitional versions on different components. A better solution is to build it both ways and supply /usr/bin/camlp5 for transitional, and /usr/bin/camlp5-strict for strict (y

Bug#467563: camlp5 strict vs transitional

2010-07-10 Thread Andrew Suffield
The request is still applicable; the suggested solution is poor. A given piece of software may wish to use both strict and transitional versions on different components. A better solution is to build it both ways and supply /usr/bin/camlp5 for transitional, and /usr/bin/camlp5-strict for strict (y

Bug#578171: mysql-server-5.1: install fails when password contains quote

2010-04-17 Thread Andrew Suffield
Package: mysql-server-5.1 On a fresh install, using a password with a " in it causes this failure: ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '""") WHERE user='root'' at line 1 Obviously a l

Bug#570165: avahi-daemon hangs

2010-02-17 Thread Andrew Suffield
I just observed this behaviour on one server. No relevant debug output, no obvious trigger, but at random intervals avahi causes all network services to lock up. Uninstalling avahi makes the problem go away. I can't take that box down to debug it further. It should never have been installed in the

[Pkg-utopia-maintainers] Bug#570165: avahi-daemon hangs

2010-02-17 Thread Andrew Suffield
I just observed this behaviour on one server. No relevant debug output, no obvious trigger, but at random intervals avahi causes all network services to lock up. Uninstalling avahi makes the problem go away. I can't take that box down to debug it further. It should never have been installed in the

Re: Windows faliures

2010-01-29 Thread Andrew Suffield
On Fri, Jan 29, 2010 at 09:30:38AM +, Simon Marlow wrote: > The openTempFile001 failure is probably harmless, it just indicates > that we tried to write a character that isn't known in your current > locale (maybe you can set your locale to a Unicode one, I can't > remember how to do that on Wi

Bug#564874: manpages: Please ship ld.so manpage

2010-01-12 Thread Andrew Suffield
Package: manpages Version: 3.23-1 Severity: normal The current ld.so manpage is from glibc. It's gratuitously out of date and just plain wrong in places. The one in manpages is current and reasonably accurate. Please arrange for the version from manpages to be shipped instead of the glibc version.

Re: rpath for shared libraries

2010-01-12 Thread Andrew Suffield
On Tue, Jan 12, 2010 at 08:22:48AM +, Duncan Coutts wrote: > man ld.so says: > > The shared libraries needed by the program are searched for in the > following order: > > * (ELF only) Using the directories specified in the DT_RPATH > dynamic section attribute of the binary if

Re: rpath for shared libraries

2010-01-11 Thread Andrew Suffield
On Tue, Jan 12, 2010 at 12:16:31AM +, Duncan Coutts wrote: > On Mon, 2010-01-11 at 20:19 +0000, Andrew Suffield wrote: > > > To reiterate, this is the exemplar use case for relocatable objects: > > > > Install ghc and some libraries to /usr/local/ > > Build

Re: rpath for shared libraries

2010-01-11 Thread Andrew Suffield
On Mon, Jan 11, 2010 at 04:32:02PM +, Duncan Coutts wrote: > There are advantages to not doing so. In particular multiple instances > of the same version of a package, or multiple instances of the same ghc > version can co-exist happily if they're isolated. Why is this useful? I can't imagine

Re: Windows DLLs should be working.

2010-01-10 Thread Andrew Suffield
On Mon, Jan 11, 2010 at 05:31:46AM +0100, Lars Viklund wrote: > > If you want to get this working with COM, then building an assembly > > out of the DLLs is probably mandatory. So that's looking like the way > > to go. > > If memory serves me right, you can register a COM DLL anywhere on the > sys

Re: rpath for shared libraries

2010-01-10 Thread Andrew Suffield
On Sun, Jan 10, 2010 at 07:11:43PM +, Duncan Coutts wrote: > Right. I think it's much more sensible to use isolated locations for > installed library files. It makes it much easier to have multiple > instances of things. This does not appear to be an issue because the .so files are uniquely na

Re: Windows DLLs should be working.

2010-01-10 Thread Andrew Suffield
On Sun, Jan 10, 2010 at 12:55:35PM +, Neil Mitchell wrote: > This isn't a patch that changes the default - I suspect Windows will > build static exes forever more. However, there are some circumstances > where you need Haskell to build with DLL's (writing Haskell COM > components for example),

Re: Windows DLLs should be working.

2010-01-10 Thread Andrew Suffield
On Sun, Jan 10, 2010 at 11:15:08PM +1100, Majestic Perch wrote: > The problem we have is that when running the testsuite there are > many directories containing many individual .hs files that need to > be built and linked against the GHC libraries.. Adding a copy to > each directory isn't really an

Re: Windows DLLs should be working.

2010-01-10 Thread Andrew Suffield
On Sun, Jan 10, 2010 at 05:24:17PM +1100, Ben Lippmeier wrote: > I haven't pushed a patch to do this yet because the DLLs for the > runtime and libraries currently require manual installation. After > building GHC I've been doing a find . -name "*.dll" and copying > all the results to c:\Windows

Type checking errors & foreign exports (was: #3806)

2010-01-05 Thread Andrew Suffield
> In short, a `foreign export` is not a type signature at all. It's a > ''use'' of `foo`. Yes, but the diagnostic doesn't point you to the right location. After sleeping on it, this is an instance of a more general issue with type checking errors: they're following the model of an explicitly ty

Re: Validate failure

2010-01-05 Thread Andrew Suffield
On Tue, Jan 05, 2010 at 09:54:41AM +, Simon Marlow wrote: > I've also seen failures that look suspiciously like attempts to run > more than one ghc-pkg at the same time, which as far as I know the > build system is not supposed to do. It's difficult to get make to understand this sort of thing

Bug#563714: xemacs21: crash (assertion failed) when calling function from haskell-mode

2010-01-04 Thread Andrew Suffield
Package: xemacs21 Version: 21.4.22-2 Severity: important asuffi...@cyclone:~$ xemacs -vanilla -batch -eval "(haskell-mode)" -eval "(turn-on-haskell-ghci)" haskell-ghci is obsolete. Loading haskell-ghci...Fatal error: assertion failed, file bytecode.c, line 1479, ABORT() Aborted (core dumped) Ob

Re: rpath for shared libraries

2009-12-31 Thread Andrew Suffield
On Fri, Jan 01, 2010 at 01:38:58AM +0100, Lars Viklund wrote: > On Wed, Dec 30, 2009 at 06:29:23PM +0000, Andrew Suffield wrote: > > I've been thinking about this. The only reason why rpath is needed is > > because the .so files are being stuck in lib/ghc-$version/ instead o

Re: Validate failure

2009-12-31 Thread Andrew Suffield
On Thu, Dec 31, 2009 at 02:34:33PM +, Ian Lynagh wrote: > * Why does HSdph-prim-par-0.4.0-ghc6.13.20091222 have filename > libHSdph-prim-seq-0.4.0-ghc6.13.20091222.so > (note par vs seq) Probably because -par-*.so is linked against -seq-*.so; the error message is from dlopen(), which

  1   2   3   4   5   6   7   8   9   10   >