[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gv] gv-3.7.1 segfaults two times
From: |
szukw000 |
Subject: |
[bug-gv] gv-3.7.1 segfaults two times |
Date: |
Tue, 12 Apr 2011 14:17:13 +0200 |
My system: linux-2.6.37, X11-7.6
I configure gv-3.7.1 as follows:
-------------- start -----------
flags=CFLAGS='-g -O'
do_configure:
$(flags) \
./configure --prefix=/usr/local \
--enable-international \
--with-print-command='/usr/local/bin/pdq -Ppostscript'
------------- end -----------
When 'gv' is up and I click on
State.gv Options or
State.File Selection Options or
State.Setup Options
the program segfaults.
The attached patch seems to avoid these segfaults.
When I
Mark a page
Click on 'Print Marked'
Unmark that page
Mark another page
Click on 'Print Marked'
then a segfault is triggered. See the following frames
I get using 'gvd'.
Reading symbols from /sources/GHOSTVIEW/gv-3.7.1-1/src/gv...done.
(gdb) run /tmp/mainzer-arena.ps
Starting program: /sources/GHOSTVIEW/gv-3.7.1-1/src/gv /tmp/mainzer-arena.ps
Program received signal SIGSEGV, Segmentation fault.
UnmergeTranslations (widget=0x810a9e0, xlations=0x29,
unmergeXlations=0x80e7880, currIndex=0, oldBindings=0x810c4c8,
numOldBindings=2064, newBindings=0x8134d80, numNewBindingsRtn=0xbfffe20e) at
TMstate.c:1765
1765 TMstate.c: No such file or directory.
in TMstate.c
(gdb) frame 1
#1 0xb7f1e20f in UnmergeTranslations (widget=0x810a9e0, xlations=0x8107880,
unmergeXlations=0x80e7880, currIndex=0, oldBindings=0x810c4c8,
numOldBindings=2064, newBindings=0x8134d80, numNewBindingsRtn=0xbfffe20e) at
TMstate.c:1766
1766 in TMstate.c
(gdb) frame 2
#2 0xb7f1e20f in UnmergeTranslations (widget=0x810a9e0, xlations=0x80ad870,
unmergeXlations=0x80e7880, currIndex=0, oldBindings=0x810c4c8,
numOldBindings=2064, newBindings=0x8134d80, numNewBindingsRtn=0xbfffe20e) at
TMstate.c:1766
1766 in TMstate.c
(gdb) frame 3
#3 0xb7f20cd2 in ComposeTranslations (dest=0x810a9e0, operation=<value
optimized out>, source=0x0, newXlations=0x80e7880) at TMstate.c:2030
2030 in TMstate.c
(gdb) frame 4
#4 0xb7f20eeb in ComposeTranslations (dest=0x810a9e0, operation=<value
optimized out>, source=0x810a650, newXlations=0x80e7880) at TMstate.c:2004
2004 in TMstate.c
(gdb) frame 5
#5 0xb7f214e6 in XtInstallAccelerators (destination=0x810a9e0,
source=0x810a650) at TMstate.c:2234
2234 in TMstate.c
(gdb) frame 6
#6 0x0805cb1c in action_preferDialogPopupButton (w=0x0, event=0x0, params=0x0,
num_params=0x0) at dialog.c:142
(gdb) frame 7
#7 0x0805cdd1 in cb_popupDialogPopup (w=0x0, client_data=0x0, call_data=0x0)
at dialog.c:109
(gdb) frame 8
#8 0x0805b063 in cb_print (w=0x80d9918, client_data=0x6, call_data=0x0) at
callbacks.c:635
(gdb) frame 9
#9 0xb7ee8c59 in XtCallCallbackList (widget=0x80d9918, callbacks=0x80d9a98,
call_data=0x0) at Callback.c:625
625 Callback.c: No such file or directory.
in Callback.c
(gdb) frame 10
#10 0xb7f62937 in Notify (w=0x80d9918, event=0xbfffe980, params=0x0,
num_params=0x80c89c0) at Command.c:397
397 Command.c: No such file or directory.
in Command.c
(gdb) frame 11
#11 0xb7f1e89b in HandleActions (w=<value optimized out>, event=0xbfffe980,
accelWidget=0x80d9918, procs=0x80e2adc, actions=0x80c89b8, stateTree=<value
optimized out>) at TMstate.c:645
645 TMstate.c: No such file or directory.
in TMstate.c
(gdb) frame 12
#12 0xb7f1ec4f in HandleSimpleState (w=0x80d9918, tmRecPtr=0x80d9948,
curEventPtr=0xbfffe63c) at TMstate.c:884
884 in TMstate.c
(gdb) frame 13
#13 0xb7f1f982 in _XtTranslateEvent (w=0x80d9918, event=0xbfffe980) at
TMstate.c:1101
1101 in TMstate.c
(gdb) frame 14
#14 0xb7ef6faf in XtDispatchEventToWidget (widget=0x80d9918, event=0xbfffe980)
at Event.c:906
906 Event.c: No such file or directory.
in Event.c
(gdb) frame 15
#15 0xb7ef75ea in _XtDefaultDispatcher (event=0xbfffe980) at Event.c:1367
1367 in Event.c
(gdb) frame 16
#16 0xb7ef7750 in XtDispatchEvent (event=0xbfffe980) at Event.c:1423
1423 in Event.c
(gdb) frame 17
#17 0xb7ef7c04 in XtAppMainLoop (app=0x809a948) at Event.c:1560
1560 in Event.c
(gdb) frame 18
#18 0x080627b2 in main (argc=2, argv=0xbfffee44) at main.c:1380
(gdb)
gv-3.7.1-1.dif.gz
Description: Binary data
- [bug-gv] gv-3.7.1 segfaults two times,
szukw000 <=