Debian Bug report logs - #59503
kdrill segfaults on startup

version graph

Package: kdrill; Maintainer for kdrill is Євгеній Мещеряков <eugen@debian.org>; Source for kdrill is src:kdrill (PTS, buildd, popcon).

Reported by: Matt Mueller <donut@azstarnet.com>

Date: Fri, 3 Mar 2000 03:03:07 UTC

Severity: normal

Found in version 5.9.3-2

Done: phil@bolthole.com (Philip Brown)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fabien Ninoles <fab@tzone.org>:
Bug#59503; Package kdrill. (full text, mbox, link).


Acknowledgement sent to Matt Mueller <donut@azstarnet.com>:
New Bug report received and forwarded. Copy sent to Fabien Ninoles <fab@tzone.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Matt Mueller <donut@azstarnet.com>
To: submit@bugs.debian.org
Subject: kdrill segfaults on startup
Date: Thu, 2 Mar 2000 17:58:11 -0700
Package: kdrill
Version: 5.9.3-2

Kdrill no longer seems to work.  I know I had it working once, but I don't
remember what versions of stuff I had back then.  (Now I'm running kinda a
hybrid of 2.1 and 2.2, where I've mainly updated whichever packages I need to
to get updates of what I want.)

bash-2.03$ kdrill
kdrill v5.9.3: by Philip Brown -- phil@bolthole.com
Starting up... please wait a while.
Usefile .kanjiusefile does not exist. Using entire dictionary...
opened dictionary /usr/share/edict/kanjidic.gz 
......
Opened dictionary /usr/share/edict/edict 
...................................................................
NOTE: an "infinity" sign means there is no kanji.
Switch to "show meaning" in the options window, for a more
interesting display
Segmentation fault
bash-2.03$

I also tried using the -edictfile and -kdictfile with non existant files to
see if not loading one or the other would help, but it still segfaults.

debian package vers that might be relevant:
libc6: 2.1.3-5
locales: 2.1.3-5
locale-ja: 13
xlib6g: 3.3.6-3
xfonts-cjk: 3.3.6-1
kanjidic: 1999.01.28-1
edict: 1999.08.17-1
fvwm95: 2.0.43ba-9

kernel: 2.2.14 with usb backport (compiled from source)

system: p2-400, 128MB ram, tnt2 16MB agp

Other japanese apps, such as xjdic running in a kterm, seem to work fine.

-- 
Matt Mueller
donut@azstarnet.com


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#59503; Package kdrill. (full text, mbox, link).


Acknowledgement sent to Fabien Ninoles <fab@tzone.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 59503@bugs.debian.org (full text, mbox, reply):

From: Fabien Ninoles <fabien@Nightbird.TZoNE.ORG>
To: Matt Mueller <donut@azstarnet.com>, 59503@bugs.debian.org
Subject: Re: Bug#59503: kdrill segfaults on startup
Date: Thu, 2 Mar 2000 22:54:28 -0500
[Message part 1 (text/plain, inline)]
On Thu, Mar 02, 2000 at 05:58:11PM -0700, Matt Mueller wrote:
> Package: kdrill
> Version: 5.9.3-2
> 
> Kdrill no longer seems to work.  I know I had it working once, but I don't
> remember what versions of stuff I had back then.  (Now I'm running kinda a
> hybrid of 2.1 and 2.2, where I've mainly updated whichever packages I need to
> to get updates of what I want.)
> 
> bash-2.03$ kdrill
> kdrill v5.9.3: by Philip Brown -- phil@bolthole.com
> Starting up... please wait a while.
> Usefile .kanjiusefile does not exist. Using entire dictionary...
> opened dictionary /usr/share/edict/kanjidic.gz 
> ......
> Opened dictionary /usr/share/edict/edict 
> ...................................................................
> NOTE: an "infinity" sign means there is no kanji.
> Switch to "show meaning" in the options window, for a more
> interesting display
> Segmentation fault
> bash-2.03$

If you can send me the output of 'strace kdrill', it will be more
useful.

> 
> I also tried using the -edictfile and -kdictfile with non existant files to
> see if not loading one or the other would help, but it still segfaults.
> 
> debian package vers that might be relevant:
> libc6: 2.1.3-5
> locales: 2.1.3-5
> locale-ja: 13
> xlib6g: 3.3.6-3
> xfonts-cjk: 3.3.6-1
> kanjidic: 1999.01.28-1
I have all of those packages except for:
> edict: 1999.08.17-1
???: don't know this version and it's not in the changelog of edict.
Please check if the edict file is not corrupt or somewhat. I don't
think so since you use xjdic and try other other options as well.


> fvwm95: 2.0.43ba-9
> 
> kernel: 2.2.14 with usb backport (compiled from source)
> 
> system: p2-400, 128MB ram, tnt2 16MB agp
> 
> Other japanese apps, such as xjdic running in a kterm, seem to work fine.
> 
> -- 
> Matt Mueller
> donut@azstarnet.com

I will really need to got the strace 'cause it works fine for me. Try
to move your kdrill log file around also, maybe it is corrupt somewhat.

Also, if you can try it with the menu entries of the kanadic package
(which has much smaller edict and kanjidic package) although I doubt
this is reliated.

Thanks for your feedback, I hope we can solve your problem ASAP.

Fabien Ninoles,
Debian KDrill maintainer

-- 
------------------------------------------------------------------------
Fabien Ninoles        Chevalier servant de la Dame Catherine des Rosiers
aka Corbeau aka le Veneur Gris               Debian GNU/Linux maintainer
E-mail:                                                    fab@tzone.org
WebPage:                                    http://www.tzone.org/~fabien
RSA PGP KEY [E3723845]: 1C C1 4F A6 EE E5 4D 99  4F 80 2D 2D 1F 85 C1 70
------------------------------------------------------------------------
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Fabien Ninoles <fab@tzone.org>:
Bug#59503; Package kdrill. (full text, mbox, link).


Acknowledgement sent to Matt Mueller <donut@azstarnet.com>:
Extra info received and forwarded to list. Copy sent to Fabien Ninoles <fab@tzone.org>. (full text, mbox, link).


Message #15 received at 59503@bugs.debian.org (full text, mbox, reply):

From: Matt Mueller <donut@azstarnet.com>
To: Fabien Ninoles <fab@tzone.org>
Cc: 59503@bugs.debian.org
Subject: Re: Bug#59503: kdrill segfaults on startup
Date: Fri, 3 Mar 2000 18:49:38 -0700
On Thu, Mar 02, 2000 at 10:54:28PM -0500, Fabien Ninoles wrote:
> If you can send me the output of 'strace kdrill', it will be more
> useful.

Well, its kinda big.  

> > edict: 1999.08.17-1
> ???: don't know this version and it's not in the changelog of edict.
> Please check if the edict file is not corrupt or somewhat. I don't
> think so since you use xjdic and try other other options as well.

Thats odd, I just did a update of my packages list and its still the version it
shows.

> I will really need to got the strace 'cause it works fine for me. Try
> to move your kdrill log file around also, maybe it is corrupt somewhat.

Already tried deleting that..

> Also, if you can try it with the menu entries of the kanadic package
> (which has much smaller edict and kanjidic package) although I doubt
> this is reliated.

Same thing.  Though the strace is smaller, so I guess I can attach it without
worrying now.

> Thanks for your feedback, I hope we can solve your problem ASAP.

Well, I got here and discovered something.  I decided to try messing around
again, and noticed that if I remove the "*international: True" line from my
.Xresources, then it now works again.  I put this line in a while ago when
trying to get vim to work with japanese.  Not that I ever got it working :)
(":help multibyte" is where it tells you to do that..)

I'm assuming since its in the vim help (and nothing else dies) that is a valid
thing to have in your .Xresources, so I guess now you have a starting point to
find the problem.

I can still send the straces if you want, but I'm guessing you can probably
reproduce it now.

-- 
Matt Mueller
donut@azstarnet.com


Information forwarded to debian-bugs-dist@lists.debian.org, Fabien Ninoles <fab@tzone.org>:
Bug#59503; Package kdrill. (full text, mbox, link).


Acknowledgement sent to Kevin Ryde <user42@zip.com.au>:
Extra info received and forwarded to list. Copy sent to Fabien Ninoles <fab@tzone.org>. (full text, mbox, link).


Message #20 received at 59503@bugs.debian.org (full text, mbox, reply):

From: Kevin Ryde <user42@zip.com.au>
To: Matt Mueller <donut@azstarnet.com>, 59503@bugs.debian.org
Cc: Philip Brown <phil@bolthole.com>
Subject: Re: Bug#59503: kdrill segfaults on startup
Date: 16 Apr 2000 14:34:00 +1000
After investigating this bug a bit and checking with the program's
author I think I can offer an explanation that should make it possible
to close this report.

You already noticed "*international:true" seems to cause the problem,
and I think kdrill shouldn't be run with that.  kdrill does it's own
thing for internationalization and doesn't want the help turned on by
that resource.

If you've got other programs wanting "*international:true", you can
add an override to .Xresources to ensure kdrill gets what it needs,

        *international: true
        KDrill*international: false


The segmentation faults observed with international:true are, I
believe, due to a bug in the multiSrc widget of the Xaw replacement
libraries.  kdrill is making correct calls, but the libraries are
corrupting some memory.  This occurred for me with Xaw3d, Xaw95 and
neXtaw.

The plain Xaw doesn't get the segvs, but you can see it displays
garbage with international:true.  I think that's an effect of
multi-byte conversions kdrill doesn't want.

The bug in the Xaw replacements, incidentally, looks a bit like a
problem from plain Xaw that was fixed there, but without the fix
propagating.  I'll be seeing if it can be fixed everywhere in case
there's programs that do want the "international" setting.


Reply sent to phil@bolthole.com:
You have taken responsibility. (full text, mbox, link).


Notification sent to Matt Mueller <donut@azstarnet.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #25 received at 59503-done@bugs.debian.org (full text, mbox, reply):

From: phil@bolthole.com (Philip Brown)
To: 59503-done@bugs.debian.org
Subject: Re: Bug#59503: kdrill segfaults on startup
Date: Tue, 18 Apr 2000 16:57:19 -0700 (PDT)
[aak. I mis-replied to 59502 initially!]

"bug" is actually a user error. User should not have globally set
"*international: true".
Therefore, this is not a kdrill bug.


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 25 04:02:04 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.