aspell-devel
[Top][All Lists]
Advanced

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

[aspell-devel] bug in apell when using pipes?


From: djh
Subject: [aspell-devel] bug in apell when using pipes?
Date: Fri, 13 Oct 2006 15:07:58 +0900

Incompatibility in aspell which causes the program belly-up.

The use of th "-a" option,"ispell -a" compatibility mode caused aspell to 
die with the unintuitive error message: 
   ==>  Error: nroff: dlopen returned "No such file or directory".

This appears to happen in the pipe() function.  I am not a oop programmer so 
its gets kind of hard to follow.  One of you familiar with c++ and the code .. 
please take a look at this.


$ aspell -a
   ==>  Error: nroff: dlopen returned "No such file or directory".

Does this happen systems other than cygwin?

All I used was gdb's n so I don't know how gdb jumped to L# 47 of stack_ptr.hpp

Help me track down this bug, so that the many people who are forced to use 
cygwin can benefit from using the aspell program as well as cygwin emacs users.


----------------
Output from gdb from start of pipe()

Breakpoint 1, pipe () at prog/aspell.cpp:691
691       assert(setvbuf(stdin, 0, _IOLBF, 0) == 0);
692       assert(setvbuf(stdout, 0, _IOLBF, 0) == 0);

47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
80            : err_(0) {}
67            if (err_ == 0) return;
80            : err_(0) {}
67            if (err_ == 0) return;
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
80            : err_(0) {}
67            if (err_ == 0) return;
80            : err_(0) {}
67            if (err_ == 0) return;
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
40          T * operator-> () const {return ptr;}
55            if (err_ && !err_->handled)
80            : err_(0) {}
67            if (err_ == 0) return;
80            : err_(0) {}
67            if (err_ == 0) return;
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
82          {
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
47            : str_(str), size_(sz) {}
40          T * operator-> () const {return ptr;}
61            err_ = other.err_;
40          T * operator-> () const {return ptr;}
62            if (err_) {
61            err_ = other.err_;
62            if (err_) {
122         bool has_err() const {
67            if (err_ == 0) return;
708       start = clock();

41          T * get()         const {return ptr;}
712       if (aspell_error(ret)) {
41          T * get()         const {return ptr;}
712       if (aspell_error(ret)) {
47            : str_(str), size_(sz) {}

Error: nroff: dlopen returned "No such file or directory".
714         exit(1);

--------------------- end --------------------------


Thanks 
  Darel Henman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]