I'm not exactly sure *how* it happened -- I think that part may be fixed in 
newer releases --
but looking at the stack trace, it's clearly a crash being caused by 
dereferencing a null
pointer:

> #0  notifyCallback (n=<value optimized out>, action=<value optimized out>, 
>   gdata=<value optimized out>) at notify.c:54
>       tor = (tr_torrent *) 0x0
>       info = (const tr_info *) 0x0

and, a few lines later, we have this:

> char * path = g_build_filename( dir, info->files[0].name, NULL );

We can prevent the crash by adding some NULL safeguards.

** Bug watch added: Transmission Trac #2198
   http://trac.transmissionbt.com/ticket/2198

** Also affects: transmission via
   http://trac.transmissionbt.com/ticket/2198
   Importance: Unknown
       Status: Unknown

** Changed in: transmission (Ubuntu)
       Status: Incomplete => Confirmed

-- 
transmission crashed with SIGSEGV in g_closure_invoke()
https://bugs.launchpad.net/bugs/334104
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to