Opened 12 years ago

Closed 12 years ago

#17 closed defect (fixed)

DJVulibre Problems

Reported by: Silvan Scherrer Owned by: Silvan Scherrer
Priority: major Milestone:
Component: djvulibre Version:
Severity: Keywords:
Cc:

Description

3.5.25 makes problems:

[f:\tmp]djvused -v Bludau-Juden.djvu

Killed by SIGSEGV pid=0x0052 ppid=0x0046 tid=0x0001 slot=0x00cc pri=0x0200 mc=0x0001 E:\ECS\BIN\DJVUSED.EXE DJVUSED 0:0000bf00 cs:eip=005b:0001bf00 ss:esp=0053:0013fea0 ebp=0013ff68

ds=0053 es=0053 fs=150b gs=0000 efl=00010206

eax=0d648b58 ebx=20036700 ecx=1bc00002 edx=0d6417eb edi=0001bda1 esi=0013fecc Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

or:

[f:\nachschlage\bücher]djvused -e print-meta Reichelt-Angelus.djvu

Killed by SIGSEGV pid=0x0054 ppid=0x0046 tid=0x0001 slot=0x00d7 pri=0x0200 mc=0x0001 E:\ECS\BIN\DJVUSED.EXE DJVUSED 0:0000bf00 cs:eip=005b:0001bf00 ss:esp=0053:0013fe90 ebp=0013ff58

ds=0053 es=0053 fs=150b gs=0000 efl=00010206

eax=0d848b58 ebx=20036780 ecx=1bc00002 edx=0d8417eb edi=0001bda1 esi=0013febc Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

I did not make more tests. Here the man-page

http://www.manualpages.de/FreeBSD/FreeBSD-ports-9.0-RELEASE/man1/djvused.1.html

Change History (5)

comment:1 by Batchheizer, 12 years ago

Little progress:
[f:\tmp\djvulibre-3_5_25n\tools]djvused -v Bludau-Juden.djvu
djvused: type "help" to see available commands.
djvused: ok.
set-meta
djvused: set-meta: enter data and terminate with a period on a single line
Author Karl-Heinz
.
djvused: set-meta: implicitly selecting shared annotations.
djvused: set-meta: modified "shared_anno.iff"
djvused: ok.
save
djvused: ok.
exit
GException::GException(): cause=unrecognized command

Killed by SIGABRT
pid=0x004b ppid=0x0043 tid=0x0001 slot=0x00d1 pri=0x0200 mc=0x0001
F:\TMP\DJVULIBRE-3_5_25N\TOOLS\DJVUSED.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

[f:\tmp\djvulibre-3_5_25n\tools]

Maybe "exit" is no command - but this should not cause to a SIGABRT.
The info is written into the DJVU and is displayed via QPDFView (F7). DJView has problems with new DLL.

comment:2 by Silvan Scherrer, 12 years ago

so this seems fixed. SIGABRT is the normal behaviour, when a command is not known. See the exception message.
I will fix DJView soon.

comment:3 by Batchheizer, 12 years ago

As other commandline-programs I expect a message (for example: "djvused: unrecognized command") and a new prompt. Now a wrong command makes all unsaved changes lost. This is no "normal behaviour".

comment:4 by Silvan Scherrer, 12 years ago

i know it's not too nice, but i have to less knowledge about exception handler. and unix ports like to throw sigabrt, which is handled by libc and gives the above.
i need to see if there is a way to overcome that and make the try,error part working.

comment:5 by Silvan Scherrer, 12 years ago

Resolution: fixed
Status: newclosed

all should be fixed. please re download both zip.

Note: See TracTickets for help on using tickets.