[prev in list] [next in list] [prev in thread] [next in thread]
List: aspell-user
Subject: [Aspell-user] bug in apell when using pipes?
From: "djh" <henman () it ! to-be ! co ! jp>
Date: 2006-10-13 6:07:58
Message-ID: 20061013150758.3200 () henman-np ! b-eng ! it ! to-be ! co ! jp
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic