Summary: History plugin crash
Creator:Marc Date:2003-11-16 10:21:52
Project:Plugin - History Owner:.Nobody
Status:Closed Severity:Normal
Version:Unknow Target Version:Unknow

I've a consistent crash with the history plug-in when I try to open the history window (toolbar button or accelerator). Crashes occurs in the module HISTORY.DLL.

This happens when the history.txt file pass a certain size (or is it the number of lines?). In my case between 214855, and 215349 bytes. If I edit the file to remove several lines (7-10), maintaining the correct line breaks, the history list works again. Until it pass the fatal size again.

Sample history.txt here:
  http://users.skynet.be/alternity/k-meleon/history.zip
It contains a "crashing" version, and a working one, clone of the previous minus the first 7 entries.

Comments
jsnj  2003-11-16 11:14:21
I noticed this size limitation when I tried to copy & paste my old history into the new history file via Settings. Only a certain number of history lines were accepted. If you replace the new text file with your old large history file via a file manager, K-Meleon won't recognize it, and when trying to view it via Settings, it appears blank.
[Changed Status from "Unconfirmed" to "Open"]
Marc  2003-11-16 11:21:30
In fact I always thought that the history tab wasn't implemented. I've always seen it blank.
From what I understand now, depending on the size, or the quatity of links, the tab is broken long before the history list crash. 2 problems to solve.
Marc  2003-11-17 05:40:40
Weirder.
Now that my history file is bigger, I have intermittent crashes with the history window. As more links are added, the behavior change constantly.
ra  2003-12-29 09:18:23
Maybe the limit is about the number of links that can be displayd in one category (hour, days, *week*)? Got the same problem (http://kmeleon.sourceforge.net/forum/read.php?f=3&i=5020&t=5020) and my last working history.txt file is larger than yours. The number of lines is higher, as well... Your file is still ok with 2579 lines, mine with 3160. But your large history.txt (2586 lines) crashes my KM, too.
Marc  2003-12-29 09:31:27
I don't know.
My history file is much bigger now (794410 bytes, 7654 lines). I still have crashes. But no more than previously.
I just had a crash when testing now.
Then I restarted KM, visited an URL from the URLbar, closed KM, started KM, and no more history crash. Until the next time... :)
earthsound  2004-01-14 06:05:30
k-meleon 0.8.2 on Windows 98

my history is ~233KB (<2500 lines) and I get this pressing Ctrl+H, the View History button on the toolbar & View>View History from the menu bar.

Dr. Watson said:

HISTORY.DLL attempted to use a null data pointer variable.

The details are:

Trap 0e 0000 - Invalid page fault
eax=0067ece4 ebx=00000032 ecx=00000009 edx=0067e954 esi=00000000 edi=0067ece4
eip=013a3a3a esp=0067e920 ebp=78004a69 -- -- -- nv up EI pl nz AC po nc
cs=015f ss=0167 ds=0167 es=0167 fs=2b6f gs=0000
HISTORY.DLL:.text+0x2a3a:
>015f:013a3a3a f3a5 rep movs dword ptr es:[edi],dword ptr ds:[esi]

   sel type base lim/bot
   ---- ---- -------- --------
cs 015f r-x- 00000000 ffffffff
ss 0167 rw-e 00000000 0000ffff
ds 0167 rw-e 00000000 0000ffff
es 0167 rw-e 00000000 0000ffff
fs 2b6f rw-- 81625800 00000037
gs 0000 ----

stack base: 00580000
TIB limits: 00674000 - 00680000

-- exception record --

   Exception Code: c0000005 (access violation)
Exception Address: 013a3a3a (HISTORY.DLL:.text+0x2a3a)
   Exception Info: 00000000
                   ffffffff

HISTORY.DLL:.text+0x2a3a:
>015f:013a3a3a f3a5 rep movs dword ptr es:[edi],dword ptr ds:[esi]

 015f:013a3a2c 8b442414 mov eax,dword ptr [esp+14]
 015f:013a3a30 b909000000 mov ecx,00000009
 015f:013a3a35 8bf8 mov edi,eax
 015f:013a3a37 83c408 add esp,+08
HISTORY.DLL:.text+0x2a3a:
*015f:013a3a3a f3a5 rep movs dword ptr es:[edi],dword ptr ds:[esi]
 015f:013a3a3c 5f pop edi
 015f:013a3a3d 5e pop esi
 015f:013a3a3e c3 retd
 015f:013a3a3f 90 nop
 015f:013a3a40 6aff push -01
 015f:013a3a42 6896653a01 push 013a6596
 015f:013a3a47 64a100000000 mov eax,dword ptr fs:[00000000]
 015f:013a3a4d 50 push eax
 015f:013a3a4e 64892500000000 mov dword ptr fs:[00000000],esp
 015f:013a3a55 81ec30040000 sub esp,00000430
 015f:013a3a5b 53 push ebx
 015f:013a3a5c 55 push ebp
 015f:013a3a5d 56 push esi
 015f:013a3a5e 8bb4244c040000 mov esi,dword ptr [esp+0000044c]
 015f:013a3a65 57 push edi
 015f:013a3a66 33ff xor edi,edi
 015f:013a3a68 3bf7 cmp esi,edi
 015f:013a3a6a c784248400000030833a01 mov dword ptr [esp+00000084],013a8330
 015f:013a3a75 c7 ?db c7
 015f:013a3a76 842488 test byte ptr [eax+ecx*4],ah
 015f:013a3a79 00 ?db 00
 015f:013a3a7a page not present

--------------------


-- stack summary --

0167:78004a68 015f:013a3a3a HISTORY.DLL:.text+0x2a3a
                            (087d830a,da8c0f00,6a0000f6,1075ff00,
                             ff0c75ff,08e80875,8b000000,c4830c45)
0167:ec8b55c2 015f:0a107d83 015f:0a107d83

-- stack trace --

0167:78004a68 015f:013a3a3a HISTORY.DLL:.text+0x2a3a
                            (087d830a,da8c0f00,6a0000f6,1075ff00,
                             ff0c75ff,08e80875,8b000000,c4830c45)
 015f:013a3a2c 8b442414 mov eax,dword ptr [esp+14]
 015f:013a3a30 b909000000 mov ecx,00000009
 015f:013a3a35 8bf8 mov edi,eax
 015f:013a3a37 83c408 add esp,+08
HISTORY.DLL:.text+0x2a3a:
*015f:013a3a3a f3a5 rep movs dword ptr es:[edi],dword ptr ds:[esi]
 015f:013a3a3c 5f pop edi
 015f:013a3a3d 5e pop esi
 015f:013a3a3e c3 retd
 015f:013a3a3f 90 nop
 015f:013a3a40 6aff push -01
 015f:013a3a42 6896653a01 push 013a6596
 015f:013a3a47 64a100000000 mov eax,dword ptr fs:[00000000]
 015f:013a3a4d 50 push eax
 015f:013a3a4e 64892500000000 mov dword ptr fs:[00000000],esp
 015f:013a3a55 81ec30040000 sub esp,00000430
 015f:013a3a5b 53 push ebx
 015f:013a3a5c 55 push ebp
 015f:013a3a5d 56 push esi
 015f:013a3a5e 8bb4244c040000 mov esi,dword ptr [esp+0000044c]
 015f:013a3a65 57 push edi
 015f:013a3a66 33ff xor edi,edi
 015f:013a3a68 3bf7 cmp esi,edi
 015f:013a3a6a c784248400000030833a01 mov dword ptr [esp+00000084],013a8330
 015f:013a3a75 c7 ?db c7
 015f:013a3a76 842488 test byte ptr [eax+ecx*4],ah
 015f:013a3a79 00 ?db 00
 015f:013a3a7a page not present

--------------------

0167:ec8b55c2 015f:0a107d83 015f:0a107d83

If more info is needed, please let me know. This is one of several crashes that are *really* getting old. ;)
dorian  2007-06-30 03:27:53
Obsolete
[Changed Status from "Open" to "Closed"]

SourceForge Logo