Crash on init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
New
|
Medium
|
Mats |
Bug Description
Cocinella crash on init. versions 0.95.12 0.95.13 and
0.95.14cvs
Hook earlyInitHook failed: 1
divide by zero
while executing
"expr int( ($refHtmlSizeTo
0.9)"
("foreach" body line 2)
invoked from within
"foreach htmlSize {1 2 3 4 5 6} {
set fontSize2Points
($refHtmlSizeTo
}"
("default" arm line 2)
invoked from within
"switch -- $this(platform) {
macintosh - macosx {
array set fontSize2Points {1 10 2 12 3 14 4 18 5
24 6 36}
}
windows {
array set fontSize..."
(procedure "::CanvasUtils:
line 32)
invoked from within
"::CanvasUtils:
(procedure "::WB::Init" line 25)
invoked from within
"::WB::Init"
(procedure "::WB::
invoked from within
"::WB::
("eval" body line 1)
invoked from within
"eval $func $args"
divide by zero
while executing
"expr int( ($refHtmlSizeTo
0.9)"
("foreach" body line 2)
invoked from within
"foreach htmlSize {1 2 3 4 5 6} {
set fontSize2Points
($refHtmlSizeTo
}"
("default" arm line 2)
invoked from within
"switch -- $this(platform) {
macintosh - macosx {
array set fontSize2Points {1 10 2 12 3 14 4 18 5
24 6 36}
}
windows {
array set fontSize..."
(procedure "::CanvasUtils:
line 32)
invoked from within
"::CanvasUtils:
(procedure "::WB::Init" line 25)
invoked from within
"::WB::Init"
(procedure "::WB::
invoked from within
"::WB::
("eval" body line 1)
invoked from within
"eval $func $args"
The only way I see this could happen was if 'font measure Times 12 xxx'
returned zero which it shall never do. However, there is currently a
real nasty bug related to threads in the voip solution that can result
in very weird results like this. So far untraced.