Re: Trapping application "crashes"?

2007-09-04 Thread Eero Tamminen
Hi, ext Jayesh Salvi wrote: > If you can modify application's code (at least the main() entry point) you > can register signal handlers for SIGSEGV, SIGABRT (most common causes of > program crashes) etc. Do "man signal" for more info. If the program is in > other languages then there should be cor

Re: Trapping application "crashes"?

2007-09-04 Thread Daniel Stone
On Tue, Sep 04, 2007 at 11:01:40PM -0700, ext Jayesh Salvi wrote: > If you end up registering your signal handlers - do only little in those > signal handlers. It's not a good idea to keep executing once you have > corrupted memory - you might run into more ugly errors. Indeed, man signal (at leas

Re: Trapping application "crashes"?

2007-09-04 Thread Jayesh Salvi
If you can modify application's code (at least the main() entry point) you can register signal handlers for SIGSEGV, SIGABRT (most common causes of program crashes) etc. Do "man signal" for more info. If the program is in other languages then there should be corresponding ways to register these sig

Re: mpd

2007-09-04 Thread Austin Che
Jeffrey Barish <[EMAIL PROTECTED]> wrote: > I find that uncommenting any of the audio output sections seems to do the > trick. I have the ALSA section uncommented now. But you weren't actually able to play anything right? I got a segfault during the playing of a file with alsa, not on th

Re: mpd

2007-09-04 Thread Jeffrey Barish
Austin Che wrote: > Creating the mpd user manually should let you run it. I would edit > /etc/mpd.conf and uncomment the libao section. I was getting > segfaults with alsa output while ao output worked fine. I find that uncommenting any of the audio output sections seems to do the trick. I have

Re: N800 audio connector jack

2007-09-04 Thread Gopi Flaherty
On Sep 4, 2007, at 7:24 PM, Jami Pekkanen wrote: > Is it possible that something special is required in the input > connection? There at least seems to be some resistors in the headset's > circuit, but I assumed they are just for the push-button. Also does > anybody have a pinout for the jack? I'

Re: N800 audio connector jack

2007-09-04 Thread Erik Hovland
On Wed, Sep 05, 2007 at 02:24:52AM +0300, Jami Pekkanen wrote: > Hello, > > This isn't exactly maemo specific question, but I think this is the best > forum anyway. > > I'm trying to solder together an adapter that splits the N800's 4-pole > audio plug to two separate 3.5 mm females so that I c

N800 audio connector jack

2007-09-04 Thread Jami Pekkanen
Hello, This isn't exactly maemo specific question, but I think this is the best forum anyway. I'm trying to solder together an adapter that splits the N800's 4-pole audio plug to two separate 3.5 mm females so that I can plug in separate input and output devices, eg electric guitar input and a

Re: mpd

2007-09-04 Thread Austin Che
>> So I went ahead and ported mpd and mpg321 to maemo. In >> case anyone else wants these packages as I couldn't find them >> already out there: http://austin.mit.edu/maemo > > chage: can't open shadow password fileStopped: `/usr/bin/chage -M 9 mpd' > returned error code 1. Exiting. I don

Re: Python and GStreamer

2007-09-04 Thread Jeffrey Barish
Austin Che wrote: > So I went ahead and ported mpd and mpg321 to maemo. In > case anyone else wants these packages as I couldn't find them > already out there: http://austin.mit.edu/maemo I'm having trouble installing mpd. I installed all the packages that mpd requires. When I try to install mp

sbox2 mapping mode rework

2007-09-04 Thread Lauri Leukkunen
Hi, I changed sbox2 default mapping style so that it by default uses files from the host and only maps the bare minimum to target buildroot. This simplified the rules dramatically and I think it means that most tools will "just work" and only special cases like apt, dpkg, gcc and qemu need special

Re: Treeview multiple selection mode

2007-09-04 Thread Jeffrey Barish
Jeffrey Barish wrote: > I just got multiple selection to work in a test application using PyGTK, > so something is wrong in my application. Although I have multiple selection working in a test program, I still have not been able to get it to work in my application. Only the first item that I tou

Re: Network connection with hildon-app-mgr in the scratchbox

2007-09-04 Thread Mario Sánchez Prada
Marius Vollmer escribió: > ext Mario Sánchez Prada <[EMAIL PROTECTED]> writes: > >> ...and compiling hildon-application-manager without problem I can >> perfectly run it but I can't get network connection so I'm not able >> to install anything from the repositories using this program. > > Please

Trapping application "crashes"?

2007-09-04 Thread david . hazel
Is it possible for an application to trap abnormal termination? In other words, can a callback be registered that will be invoked when the application is about to be shut down because of an error that the application itself has caused (e.g. memory allocation errors or other problems that would c

Re: Network connection with hildon-app-mgr in the scratchbox

2007-09-04 Thread Marius Vollmer
ext Mario Sánchez Prada <[EMAIL PROTECTED]> writes: > ...and compiling hildon-application-manager without problem I can > perfectly run it but I can't get network connection so I'm not able > to install anything from the repositories using this program. Please try the 'assume-connection' setting,

Network connection with hildon-app-mgr in the scratchbox

2007-09-04 Thread Mario Sánchez Prada
Hi, After installing all this stuff: - Scratchbox Apophis r4 [1] - Maemo 4.0 Chinook alpha SDK [2] - Hildon application manager (SVN) [3] ...and compiling hildon-application-manager without problem I can perfectly run it but I can't get network connection so I'm not able