It has never happened to me, but grep for gv_filename shows a lot of places 
that check if it is NULL.I can get a crash if I run gv with no file on the 
command line and then try to open a zoom.William

> Date: Fri, 28 Feb 2014 09:26:35 -0700
> From: or...@cora.nwra.com
> To: bug-gv@gnu.org
> Subject: [bug-gv] Fwd: [Bug 1071238] New: [abrt] gv: zoom_createZoom(): gv 
> killed by SIGSEGV
> 
> I can't reproduce this, so I don't know the trigger, but from the backtrace:
> 
> 
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x000000000042fb9c in zoom_createZoom (w=0xd0d890, 
> call_data=call_data@entry=0x7fffb3cccdb0) at zoom.c:112
> 112       if (strcmp(gv_filename, "-")) {
> 
> Thread 1 (LWP 3049):
> #0  0x000000000042fb9c in zoom_createZoom (w=0xd0d890, 
> call_data=call_data@entry=0x7fffb3cccdb0) at zoom.c:112
>          __s2 = 0x0
>          __result = <error reading variable __result (Cannot access memory at 
> address 0x0)>
>          __s2_len = 1
> 
> clearly strcmp(gv_filename, "-") is being called with gv_filename == NULL. 
> The attached check should alleviate the segfault, but perhaps something else 
> if wrong as well.
> 
> - Orion
> 
> -------- Original Message --------
> Subject: [Bug 1071238] New: [abrt] gv: zoom_createZoom(): gv killed by SIGSEGV
> Date: Fri, 28 Feb 2014 10:56:37 +0000
> From: bugzi...@redhat.com
> To: or...@cora.nwra.com
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1071238
> 
>              Bug ID: 1071238
>             Summary: [abrt] gv: zoom_createZoom(): gv killed by SIGSEGV
>             Product: Fedora
>             Version: 20
>           Component: gv
>            Assignee: or...@cora.nwra.com
>            Reporter: gzj...@163.com
>          QA Contact: extras...@fedoraproject.org
>                  CC: or...@cora.nwra.com, pertu...@free.fr
> 
> 
> 
> Version-Release number of selected component:
> gv-3.7.4-4.fc20
> 
> Additional info:
> reporter:       libreport-2.1.12
> backtrace_rating: 4
> cmdline:        /usr/bin/gv
> crash_function: zoom_createZoom
> executable:     /usr/bin/gv
> kernel:         3.13.4-200.fc20.x86_64
> runlevel:       N 5
> type:           CCpp
> uid:            1000
> 
> Truncated backtrace:
> Thread no. 1 (10 frames)
>   #0 zoom_createZoom at zoom.c:112
>   #1 magmenu_a_magMenu at magmenu.c:368
>   #2 HandleActions at TMstate.c:645
>   #3 HandleSimpleState at TMstate.c:884
>   #4 _XtTranslateEvent at TMstate.c:1101
>   #5 XtDispatchEventToWidget at Event.c:906
>   #6 _XtDefaultDispatcher at Event.c:1367
>   #7 XtDispatchEvent at Event.c:1423
>   #8 XtAppProcessEvent at NextEvent.c:1397
>   #9 XtAppMainLoop at Event.c:1554
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
> You are the assignee for the bug.
> 
> 
                                          

Reply via email to