HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Errors with faxclients (e.g. WHFC)



On 2004.03.03 23:40 Christian Leuschen wrote:

Mar  4 08:19:55 htpc FaxQueuer[2727]: JOB 5 (active dest +9083865 pri
127 tts 0:00 killtime 3:00:00): PREPARE START
Mar  4 08:19:55 htpc FaxQueuer[2748]: Assertion failed "Invalid Str[]
index", file "../util/Str.h" line 106.
Mar  4 08:19:55 htpc FaxQueuer[2727]: JOB 5 (active dest +9083865 pri
127 tts 0:00 killtime 3:00:00): PREPARE DONE
Mar  4 08:19:55 htpc FaxQueuer[2727]: JOB 5: bad exit status 0x6 from
sub-fork
Mar  4 08:19:55 htpc FaxQueuer[2727]: NOTIFY: bin/notify "doneq/q5"
"failed" ""

This is good. It tells us that the problem occurrs in the job preparation routines. It's due to some fxStr operation referencing an index beyond the length of the fxStr value (like string[5] when the string.length() = 2.


So the error occurs within faxQueueApp::prepareJob(), but that's as close as I can get without being able to reproduce the problem myself. I've attached all of the changes (a diff file) in faxd/faxQueueApp.c++ from 4.1.5 to 4.1.7. It's not a lot. It mostly amounts to changes in Bugs 267, 223, 383, and 396. Except for the MMR stuff Aidan did most of that work, so he'd be the most knowledgeable about these changes. I can help with any issue on the MMR work, although the MMR-related changes don't affect fxStr indexes, so I don't think the matter's there.

If I were to venture a guess, I'd try backing out the patch(es) on Bug 267 from your 4.1.7 source and see if that doesn't resolve the matter.

In order for me to help you further I would need to have the associated sendq file (in this case "sendq/q5") before it actually sends and also all associated docq files.

Lee.

Attachment: faxq-4.1.5-4.1.7.udiff
Description: Binary data




Project hosted by iFAX Solutions